Problem Migrating to SMT
Configuration:
XBee 24 ZB running 21A7 Firmware as Coordinator.
XBee 24 ZB running 23A7 Firmware as Router/Parent/Destination Address.
XBee 24C running 4023 Firmware as End Device/Child.
All devices with NJ set to FF (Always allow Join).
All devices with same (SP)
Parent/Destination Address (SN) set three times End Device’s (SN)
Proper function:
On End Device Sleep Timer time out or Pin Wake, End Device wakes and sends IO Sample to Destination Address that sends API Frame Type 92 out Serial Port.
On End Device Commission Button press, End Device wakes and sends Node Identifier, (NI) to Destination Address that sends API Frame Type 95 out Serial Port.
All works fine.
Then, power cycle either Router or End Device.
On End Device Commission Button press, End Device wakes and sends Node Identifier, (NI) to Destination Address that sends API Frame Type 95 out Serial Port.
On End Device Sleep Timer time out or Pin Wake, End Device wakes and sends IO Sample to Destination Address followed by several seconds of Pole Requests. Destination Address does not process and does not send Frame Type 92 out Serial Port.
This loss of End Device, Destination Address relationship does not appear to happen with Through Hole XBee’s as End Device and Destination Address, only when the End Device is SMT.
Examination of End Device’s Parameters reveal that the End Device still has the correct Destination Address (DL & DH), and the Parent’s 16 Bit Address (MP), and has the same End Device 16 bit (MY) address. It just does not communicate an IO sample to the Destination Address.
To correct this I have found two solutions:
Solution 1
- Read the End Device settings with X-CTU.
- Press the End Device Commission Button four times, which resets its parameters.
- Write the just read parameters back to the End Device.
- Communications are restored.
Solution 2
- Press both the End Device’s and Destination Address’s Commission Buttons at the same time.
- Communications are restored.
Perhaps this will not happen if the End Device and the Destination Address are both SMT.
It will be necessary to remove power from multiples of these devices from time to time for maintenance and replacement of batteries.
Any information on the subject will be greatly appreciated.
It appears that this problem happens with SMT End Devices that wake up or are awaken by Pin Wakeup and send a Data Sample to the Destination Address that outputs a Frame Type 92 IO Data Sample Rx Indicator out its serial port.
It appears that this problem does not happen with SMT End Devices where the SMT Xbee wakes a MCU that sends data to the SMT End Device by way of a Frame Type 10 to be sent to the Destination Address that outputs a frame type 90 ZigBee Receive Packet out its serial port.