You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: