Hi, this may be someting simple I just do not understand, but..
I have a radio controlled boat which has an NRF24 as a receiver, any data it receives is processed and passed to the master controller arduino that handels the running of the boat, on receiving any data it sends an ACK package back that includes temperature and water sensor readings.
The transmitter is another RF24 on a nano which has a joystick and also has a touchscreen monitor, It has multiple screens. when not busy it sends a one byte heartbeat to the RX, so it receives back the Temp/water readings using the ACK system
Screen 1 displays the latest Temperature and water level readings, so it only uses the received ACK data.
Screen 2 uses the joystick to act as a backup radio control for the boat, so when using screen 2, a 3 byte data packet is sent, instead of the heartbeat, containing three channel data (speed, Steering and Aux3)
Screen 3 allows me to change some of the settings on the master controller, so it sends five bytes of data, instead of the heartbeat. More bytes may be added in time.
Further screens will be added but are not relevant to my problem.
So the problem is my transmitter is sending differen sized packets, depending which screen it is on, but the receiver does not know what to expect, what is the easiest solution to this??
Note - The boats transmitter and receiver that I control the boat with is a totally seperate 27Mhz (crystal) system
Nick