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. Troubleshooting
  3. [SOLVED] SerialGateway and v2.

[SOLVED] SerialGateway and v2.

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.2k Views 1 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.
  • L Offline
    L Offline
    Lemme
    wrote on last edited by Lemme
    #1

    Hi
    I was about to test the hartbeat function in development branch v.2. To start with I wanted to update the gateway (Serial gateway - Arduino Nano).
    I could not find 'SerialGateway.ino' so I was assuming that I was to use the sketch 'GatewaySerial.ino'.

    But it does not compile, and come with this error:


    #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.


    The code seems also different, and in the old sketch there was also this file - GatewayUtil.h.

    How do I update the gateway to the new development v2?

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      @Lemme

      There is a #define in the GatewaySerial.ino file at this line

      Either enable MY_RADIO_NRF24 or MY_RADIO_RFM69, depending on which radio type you are using.

      1 Reply Last reply
      1
      • L Offline
        L Offline
        Lemme
        wrote on last edited by
        #3

        I am using the NFR24 radio. So I did not change anything in the sketch. But I still get the error.
        The only thing I did was to copy the whole ZIP file from Github to the Arduino library, and compiling the sketch. Should it be done in another way?

        But just to be clear, the sketch that I am supposed to be using for the gateway are now called 'GatewaySerial.ino' and do not contain a 'GatewayUtil.h' - right?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Lemme
          wrote on last edited by
          #4

          OK - I deleted 'MySensors' folder in the library, and downloaded the ZIP once again, and copied the new 'MySensors' into it.

          Now it works!

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


          19

          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