sonyarouje / RF24Node

Nodejs Addon for RF24Network library
4 stars 1 forks source link

Max length of payload #1

Open gonzaldd opened 6 years ago

gonzaldd commented 6 years ago

Hi! I have an issue/questions:

in nrf24Node.cc:

struct payload_t { // Works fine! char msg[24]; };

struct payload_t { // doesnt work char msg[25]; };

struct payload_t { // doesnt work char msg[48]; };

I'm using a raspberry pi 3 b+

Sorry for my english.

sonyarouje commented 6 years ago

Hi, Thanks for your email. If I remember correctly, nrf24 has a size limit of 24 char. That’s the reason I might have set 24 char limit. Sorry to say I don’t remember correctly. For now I don’t use nrf instead I use HC12 module which uses a star topology.

Regards, Sony

Sent from Mail for Windows 10

From: gonzaldd Sent: Sunday, January 14, 2018 7:18 AM To: sonyarouje/RF24Node Cc: Subscribed Subject: [sonyarouje/RF24Node] Max length of payload (#1)

Hi! I have an issue/questions: in nrf24Node.cc: struct payload_t { // Works fine! char msg[24]; }; struct payload_t { // doesnt work char msg[25]; }; struct payload_t { // doesnt work char msg[48]; }; I'm using a raspberry pi 3 b+ Sorry for my english. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.