maniacbug / RF24Network

Network Layer for nRF24L01(+) Radios
http://maniacbug.github.com/RF24Network
273 stars 129 forks source link

RF24Network Available Issues #27

Open mihaiistrati opened 7 years ago

mihaiistrati commented 7 years ago

Hello everybody,

I am doing a Wireless Sensor Network project with nRF24L01 radio transceiver and i'm using RF24 Library for Arduino UNO.

The message that i want to send in network is a struct type payload which is made by: struct payload_t { unsigned long ms; unsigned long counter; uint16_t cipher[16]; };

I read about that, and it says that the new RF24 library have already implemented fragmentation of a message (because the maximum size of a message is 24 bytes, header - 8 bytes). So, after fragmentation, you are able to send up to 120 bytes just using send function one time.

Now, the first time it receives the message very well, but the second time, after the:

while ( network.available() ) {

it seems like the SRAM is full, and because of that my Arduino UNO board is reseting every time when it want to receive the second message.

When i'm using uint16_t cipher[8]; it works very well...

What can i do to solve this question?