LowPowerLab Forum

Software support => Pi Gateway => Topic started by: jorgmuskens on January 26, 2016, 07:44:10 PM

Title: NODE ID 255 for broadcasting
Post by: jorgmuskens on January 26, 2016, 07:44:10 PM
Hi Felix,
I was wondering if it is possible to manually create a node with id 255? So i can handle broadcast casting from that page.
As nodes now are automatic created when incoming data is received. Is it as simple as program a node with the id 255?
I did not test this yet as i don't know what kind of impact this has.
Thanks
Jorg
Title: Re: NODE ID 255 for broadcasting
Post by: Felix on January 26, 2016, 09:11:42 PM
Jorg,
Broadcast means everybody. A node with ID 255 makes little or no sense. It cannot receive or send ACKs, because of the way ID 255 is handled in the library, look for yourself (https://github.com/LowPowerLab/RFM69/blob/master/RFM69.cpp), scan for "RF69_BROADCAST_ADDR".
Generally, without more major complications, it only makes sense to send to address 255.