I have design data monitoring system with data logging.
I have made network of 8 transmitter(end device) which will send data to receiver(coordinator) after every one Minuit. In case of network issue, data will get log to transmitter & will be send to receiver ones network resume.
Transmitter xbee is configured in cyclic Sleep period(5 sec) & pin wake-up mode [mode 5].
Receiver send acknowledge to transmitter after data received & store successfully on receiver.
response also carry permission to send log-data in transmitter (in case transmission fail before). Only one transmitter can send data at given time to reduce network conjunct & to reduce data traffic to the receiver.
Mostly system work as per requirement, Transmitter receive response in 5-8 sec & clear 6-7 logged records in one minuets interval.
But some time one of random transmitter stop receiving response from receiver, In this condition transmitter receive response from internal command (response received from remote db command). Receiver also receive frame transmitted by receiver.
Response is also send to the transmitter (checked by debugging receiver).
This problem is solved only by giving power cycle to the transmitter.
Adding some more details
- Transmitter frame length - 48 bytes (including API frame format)
- max Transmitter frame length during data recovery- 102 bytes
- Receiver response frame length - 27 bytes
- Transmitter (end device)setting - SC - 5
ZS - 2
NJ - C8 (200 sec)
SP - 1F4 ( 5sec)
SN - 10
SM - 5
- receiver (Co-ordinator) setting - SC - 5
ZS - 2
NJ - FF(always)
SP - 200 (10 min)
SN - 27
SM - 0
please guide to solve problem .