I am writing C code on the raspberry pi 3 to communication at a 115200 baud 8-n-1 with a USB adaptor to the XBee s2c. The XCTU is running on my laptop and I am sending the correct frame. I am checking them with the Frames Generator in the XCTU. The frames are saves as a unsigned char in c and are sent directly to the xbee.
The rpi3 is sometimes able to read and write to the xbee but the majority of the time it does not work.
How would I be able to fix this.
XCTU tells me that every thing is on the network and I can send a frame and received a success obtained response.