Other Parts Discussed in Thread: Z-STACK, CC2530
Hi,
I am using Z-Stack_Mesh_1.0.0
In a coordinator software, is there a way of getting a notification when a device association is successful or fails ?
Thank You
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When device joins Zigbee network, it would trigger ZDO_STATE_CHANGE event and you can handle it in zclxxx_event_loop. Can you attach sniffer log for your issue?
Hi Peter,
Are you trying to perform a factory new reset on your devices or just to restart and join them to the old network?
Regards,
Hi,
Sorry for the delayed reply -
The system os not a new factory reset - its a development system that is continually being reprogrammed.
I am using
zgWriteStartupOptions(ZG_STARTUP_SET,ZCD_STARTOPT_DEFAULT_NETWORK_STATE);
SystemResetSoft();
though I have tried
zgWriteStartupOptions(ZG_STARTUP_SET, ZCD_STARTOPT_DEFAULT_NETWORK_STATE | ZCD_STARTOPT_DEFAULT_CONFIG_STATE);
on the coordinator and routers to clear the allocation table and reset the network.
The PAN ID = -DZDAPP_CONFIG_PAN_ID=0xFFFF and the NWK_MAX_DEVICE_LIST 25
There are no End Devices in the system
For some reason, Routers are repeatedly have a successful device association but they dont actually seem to join the network
I have attached a Ubilogix and text dump
Regards
Hi,
The network we have set up has a Coordinator and a number of routers.
What we are finding is that when the network is established, some routers are associated with other routers and not directly associated to the coordinator - ie they do not show up in the association table of the coordinator.
So ZC has ZR1 in its association table and ZR1 has ZR2 in its association table and the network is formed
If both ZR1 and ZR2 are powered down and the ZR2 is powered up. It will look for ZR1 on the network which is not there but will not reconnect to the ZC to reform the network.
Is there a way to get around this and reform the network when ZR1 is missing or powered down
Thank You
Hi,
I have attached a captured file showing that after ZR2 is powered up it does not connect to the ZC until after ZR1 is repowered
Regards
Peter Simpson
Hi,
I have download Zstack 3.0 but I get a number of linker errors indicating that the linker cannot find bdb_ externals.
But I cannot locate where they are stored - is there another library that has to be included?
Thank You
Hi
Compiler details
=== Install subdirectory: 8051 ===
IAR Assembler for 8051
8.30.1.41636 (8.30.1.41636)
C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\bin\a8051.exe
20/Dec/2013 03:05:28, 854528 bytes
IAR C/C++ Compiler for 8051
8.30.1.41636 (8.30.1.41636)
C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\bin\icc8051.exe
20/Dec/2013 03:05:30, 13414400 bytes
IAR Library Builder
6.4.6.89 (6.4.6.89)
C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\bin\xar.exe
21/Jun/2016 11:47:26, 148992 bytes
IAR XLIB
6.4.6.89 (6.4.6.89)
C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\bin\xlib.exe
21/Jun/2016 11:47:26, 699904 bytes
IAR Universal Linker
6.4.6.89 (6.4.6.89)
C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\bin\xlink.exe
21/Jun/2016 11:47:26, 2256896 bytes