Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. The library should check for radio definition in the sketch

The library should check for radio definition in the sketch

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 803 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ahmedadelhosniA Offline
    ahmedadelhosniA Offline
    ahmedadelhosni
    wrote on last edited by ahmedadelhosni
    #1

    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.

    1 Reply Last reply
    0
    • hekH Online
      hekH Online
      hek
      Admin
      wrote on last edited by
      #2

      Not defining a radio drives is and should be ok.

      The gateway can be used standalone with sensors attached without any sub radio network.

      1 Reply Last reply
      0
      • ahmedadelhosniA Offline
        ahmedadelhosniA Offline
        ahmedadelhosni
        wrote on last edited by
        #3

        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 :D

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        15

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular