Part Number: CC2530
Other Parts Discussed in Thread: CC2531
hello,
I want to start a mesh network by cc2530 EM nodes, step by step. I am using Z_stack3 and IAR compiler and sample thermostat app for the coordinator and sample temperature app for end device. I passed these steps by now:
1: added "bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_FORMATION|BDB_COMMISSIONING_MODE_NWK_STEERING|BDB_COMMISSIONING_MODE_FINDING_BINDING);" in ZCL_samplethermostat init function for the coordinator
2: added "bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_STEERING|BDB_COMMISSIONING_MODE_FINDING_BINDING);" in zcl_sampletemperaturesensor.c init function for end device
3: after forming the network by coordinator I start the end device to find and join the network. (I see the NwkState of my end device and coordinator in the watch window)
but there is a problem here. the NwkState of the end devices changes between different states like this: DEV_HOLD -> DEV_NWK_DISC -> DEV_HOLD
please help me. what is wrong? why does the end device cant join the network? I'm sure about coordinator. it is ok