Wireless Gateway on PAC R1?


#1

Hey all,
I wired an XBee module up to the Serial port on the the R1…and have it receiving packets. I was wondering if anyone had discovered best practices or patterns for receiving/parsing large numbers of messages. I have it working pretty well in my test scenario…just a few nodes sending packets of data every 10 seconds. However, I would like to be able to support a much larger number. Let’s say 100. I currently use CR as terminator. However, I notice that additional messages pile up in the buffer…and I only get the first. That makes me think I should not send a terminator…and use my own when parsing the message(s). This all seems doable…just wondering if anyone had any experiences/code to share. Thanks in advance :slight_smile: