I have three xBee A, B and C. A and B will receive a constant stream of data and their goal is to transmit it in transparent mode to C.
C is on a raspberry and has to :
-1 identify who's sending the data
-2 store the data on a micro sd
What are some possible solution, in order to make this configuration work ?
Info on what i've tested :
-A and B can't be sending at the same time since data will get lost/mixed and C would'nt be have to identify wich data is who's
-I tried alternating sleep modes, A sleep when B sends and then B sleeps and A sends, but since data is not buffered when sleeping this translated in the loss of half the data ( some little data loss is okay, but no more than a few percent )
-Using RTS/CTS: Lots of data loss when sending remote AT, because the commad often failed and meanwhile packets where lost.
And worse: CTS unstability. Basically sometimes CTS would stop data flow and buffer it, sometimes it would stop but not buffer, and often times it would not even stop the data from being sent. This Unpredicable behavior is totally a deal breaker and render flow control unusable.