Hi,
I want to implement a remote control and use nrf24 modules as transceiver.
I am currently using nrf24 library GitHub - nRF24/RF24: OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices.
The first version of my protocol looks like this:
byte 0 - 16 are RC channels with value 0-255.
byte 17 is crc8 calculated over channel 0 to 16.
In past I used HM10 device, where I read byte by byte from serial. When calculated byte 17 matches the calculated crc8 of byte 0 to 16 I know I have a valid package.
But my question is: Is that really needed? Is it really possible when reading always bytes 0 to 16 from buffer that I get "between the packets"?
channel id: 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16
start reading here: |>
resulting mapping 08 09 10 11 12 13 14 15 16 00 01 02 03 04 05 06 07
Hope you understand what I mean.
I also see that NRF24 Library seems to have some CRC enabled.
So can I just dump my CRC and always read byte 0 to 16?
Many thanks.