The library should check for radio definition in the sketch
-
Hello,
Five hours ago I decided to try the signing feature but I had some troubles so I decided to return to my old code without signing. I used #if 0 so as not to compile the part regarding signing in my code. But I have been trying for 4 hours to let the GW and nodes work again without signing.
Finally I figured out that MY_RADIO_NRF24 define was under the #if 0 and the code was compiled successfully although no radio is defined.
If I am not mistaken but I guess months ago if I did so it wouldn't compile,, not sure. But in all cases I guess the config.h may check for this and throw #error if no radio is defined.
@hek Can you check this please ?
Thanks.
-
Not defining a radio drives is and should be ok.
The gateway can be used standalone with sensors attached without any sub radio network.
-
Well I tested again not defining a radio for a sensor node (relayactuator) and it didn't compile. OK
But my issue was with GatewayW5100, if I didn't define the NRF radio, nothing work at all and nodes are not communicating with the GW.In all cases, I just needed to highlight that this may save someone's else time
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
PJON and Minicore not working
Development • 21 Mar 2025, 19:51 • Trand 21 Mar 2025, 19:51 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51