Hi
I’m doing a project, 200 pcs end devices, 1 pcs coordinator and several router.
The MCU wakes the end device every 10 sec to 15 min by the way of pin hibernate and sends the datas to the coordinator. The communication between them uses API mode. The coordinator uses AT mode communication with PC .
Parameters of xbee:
end device API :
SC = 408
ID =432
SD=0
SM=1
another are defaults
router AT :
SC = 408
ID =432
SD=0
SM=0
ST=1388
SD=7D0
SN=3C
coordinator AT:
SC = 408
ID =432
SD=0
SM=0
SD=7D0
SN=3C
The question is that the network is not stable enough,some end device can 't join into the network or easy to swap network(the router is enough).
My quesion :
- How long should the mcu delay from waking the xbee to transmitting the datas to the xbee?(In program,I de-asserted the SLEEP_RQ first ,and then delay 20msec, send the data to the xbee finally to make sure the xbee can easily join the network)
- Does the xbee go to sleep immediately when the SLEEP_RQ is asserted.
- Are the Parameters of xbee configured correctly?
I’m sorry for my poor English.