Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RF24Network Available Issues #27

Open
mihaiistrati opened this issue Feb 5, 2017 · 0 comments
Open

RF24Network Available Issues #27

mihaiistrati opened this issue Feb 5, 2017 · 0 comments

Comments

@mihaiistrati
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant