Hi everyone,
Recently I’m doing a project using XBeeZB S2 modules, but I found that it takes about 10 to 15 secs for the XBeeZB end device, after it’s powered on, to successfully establish a connection with the coordinator and join the network. I think this joining time is too long and just wondering is there a way to reduce this time. The following are the settings I’m using:
Coordinator:
Firmware: XB24-ZB, ZigBee Coordinator API, 21A7
PAN ID: 1122334455667788
Scan Channels (SC): 1
API mode: 2
Node Join Time: FF
End Device:
Firmware: XB24-ZB, ZigBee End Device API, 29A7
PAN ID: 1122334455667788
Scan Channels (SC): 1
API mode: 2
I’m using the modem status message to time the joining time of the end device. When the end device is powered on, it will almost immediately send out a “Hardware Reset” (7E 00 02 8A 00 75) modem status message, and when the end device send out the “Joined Network” (7E 00 02 8A 02 73) message it has joined the network, so I think it would be safe to say the time between these two messages is the joining time for the end device, and it’s only after this you can send out data frame from end device to coordinator.
I limited the SC setting to only 1 channel to reduce the scanning time for the end device, but I still get around 10 sec joining time. In terms of scan duration (SD), I tried 1, 3, 4, 5, 7 in the end device, basically 1 won’t work at all, the end device just keep scanning for the network and can’t find any, AI (association indication) always showing FF, 3 to 7 basically increase the joining time from 10 to 15 sec. I also tried all three options of the ZigBee Stack Profile, and none of them can help reduce the joining time. Also there is only one coordinator and one end device, so shouldn’t be any channel conflict.
So is there any other things I missed here that can reduce the joining time? Or it just has to take around 10 sec for the end device to join the network? Thanks a lot!!