I've wrote a code to read in serial data ( GPS NMEA data in my case ) and send it across to the other nRF24L01 radio using the same code as a receiver and display them on serial monitor or have GPS s/w read those NMEA data...
As the max bytes for the GPS is less than 90 bytes, I've chopped up the data to three packets as the nRF24L01 can only take 32Bytes max...
With minor packet drops and such, I'm able to get my code running ( merged back the packets ) but when I compared the raw data to the ones I'm receiving, I notice there are lots of dropped bytes when I was in the sendPackets() functions. I was able to get a GPS location lock but not able to see all the birds and their signals...
When I commented out this sendPackets() function, I do not get any dropped bytes...
When I made another sketch with all the nRF24L01 codes deleted, I was able to open a GPS s/w to get all the birds and location fixed..
Is this a SoftwareSerial issue or I need a method to buffer those incoming bytes while Arduino is busy sending out those packets to the nRF24L01 ??
Any ideas/suggestions are welcome...
Thanks
Below is the link to my full source code...
http://pastebin.com/0bDuGESY