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. #error No forward link or gateway feature activated.

#error No forward link or gateway feature activated.

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 4 Posters 10.6k Views 4 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.
  • Wilco EliveldW Offline
    Wilco EliveldW Offline
    Wilco Eliveld
    wrote on last edited by
    #1

    Hi,

    Just started with MySensors, ordered a bunch of nrf24l01+ and now im trying to get things working.

    When i try to upload a sketch in Arduino 1.6.7 i get the following error message.

    In file included from /home/wilco/stack/documents/arduino/libraries/MySensors/MySensor.cpp:21:0:
    /home/wilco/stack/documents/arduino/libraries/MySensors/MySensor.h:285:4: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
    #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
    ^

    can someone tell me the soluction? i didnt see this in any documentation

    Regards,

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

      You must either define a radio type or gateway type.

      You probably commented away one of them from the examples.

      Wilco EliveldW 1 Reply Last reply
      0
      • hekH hek

        You must either define a radio type or gateway type.

        You probably commented away one of them from the examples.

        Wilco EliveldW Offline
        Wilco EliveldW Offline
        Wilco Eliveld
        wrote on last edited by
        #3

        Hi

        @hek said:

        You must either define a radio type or gateway type.

        You probably commented away one of them from the examples.

        Where can i find this? can you give me a example?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          There are numerous examples in the "examples" folder under the MySensors library.

          Wilco EliveldW 1 Reply Last reply
          0
          • hekH hek

            There are numerous examples in the "examples" folder under the MySensors library.

            Wilco EliveldW Offline
            Wilco EliveldW Offline
            Wilco Eliveld
            wrote on last edited by
            #5

            @hek said:

            There are numerous examples in the "examples" folder under the MySensors library.

            Yes i know, but all the examples are giving the same issues.
            So i miss something

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #6

              Hmm.. not sure what you could have done wrong. Have you mixed downloaded versions or something?

              Wilco EliveldW 1 Reply Last reply
              0
              • hekH hek

                Hmm.. not sure what you could have done wrong. Have you mixed downloaded versions or something?

                Wilco EliveldW Offline
                Wilco EliveldW Offline
                Wilco Eliveld
                wrote on last edited by
                #7

                @hek said:

                Hmm.. not sure what you could have done wrong. Have you mixed downloaded versions or something?

                Nope, fresh install of everything.

                But.... im not sure if i must make some changes on MyConfig.H on old movies from youtube i see some settings which are not in MyConfig.H, See also no documentation so i assume it is not needed to make some changes to this file

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #8

                  No, all configuration can be controlled from sketch nowadays. So unless you want to change something globally for all sketches (like frequecy etc.) you can just set it in sketch.

                  Wilco EliveldW 1 Reply Last reply
                  0
                  • hekH hek

                    No, all configuration can be controlled from sketch nowadays. So unless you want to change something globally for all sketches (like frequecy etc.) you can just set it in sketch.

                    Wilco EliveldW Offline
                    Wilco EliveldW Offline
                    Wilco Eliveld
                    wrote on last edited by Wilco Eliveld
                    #9

                    @hek said:

                    No, all configuration can be controlled from sketch nowadays. So unless you want to change something globally for all sketches (like frequecy etc.) you can just set it in sketch.

                    Oke, where can i find those settings? because i dont know which settings are needed to get it working.

                    i ḿ playing with this file

                    https://raw.githubusercontent.com/mysensors/Arduino/development/libraries/MySensors/examples/RelayActuator/RelayActuator.ino

                    1 Reply Last reply
                    0
                    • hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #10

                      You must have done some changes. Latest compiles fine here on my computer.

                      Wilco EliveldW 1 Reply Last reply
                      0
                      • hekH hek

                        You must have done some changes. Latest compiles fine here on my computer.

                        Wilco EliveldW Offline
                        Wilco EliveldW Offline
                        Wilco Eliveld
                        wrote on last edited by
                        #11

                        @hek said:

                        You must have done some changes. Latest compiles fine here on my computer.

                        i only did a clone of the repo and copy all libraryś to my librarys dir

                        #include <MySensor.h>
                        
                        void setup() {
                        
                        }
                        
                        void loop() {
                        
                        
                        }
                        

                        Gives also:

                        In file included from /tmp/arduino_c2cf6ad24e4a2a0e97af5bb50875ab91/sketch_feb04b.ino:1:0:
                        /home/wilco/stack/documents/arduino/libraries/MySensors/MySensor.h:285:4: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
                        #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
                        ^
                        exit status 1
                        Error compiling.

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #12

                          Strange.

                          Just downloaded 1.6.7 (only difference from your setup). The RelayActuator sketch compiles just fine there as well.

                          Wilco EliveldW 1 Reply Last reply
                          0
                          • hekH hek

                            Strange.

                            Just downloaded 1.6.7 (only difference from your setup). The RelayActuator sketch compiles just fine there as well.

                            Wilco EliveldW Offline
                            Wilco EliveldW Offline
                            Wilco Eliveld
                            wrote on last edited by Wilco Eliveld
                            #13

                            @hek said:

                            Strange.

                            Just downloaded 1.6.7 (only difference from your setup). The RelayActuator sketch compiles just fine there as well.

                            i still think i need some parameters/settings somewhere..
                            get a exit status 1 because of the No Forward link message

                            edit:

                            When i use version 1.4 of MySensors i dont have the error message and compiles goes fine

                            1 Reply Last reply
                            0
                            • hekH Offline
                              hekH Offline
                              hek
                              Admin
                              wrote on last edited by
                              #14

                              The RelayActuator is working as-is. No more configuration is needed to make it compile.

                              1 Reply Last reply
                              0
                              • mikeM Offline
                                mikeM Offline
                                mike
                                wrote on last edited by
                                #15

                                I am having the same problem did you ever resolve it?

                                Wilco EliveldW 1 Reply Last reply
                                0
                                • mikeM mike

                                  I am having the same problem did you ever resolve it?

                                  Wilco EliveldW Offline
                                  Wilco EliveldW Offline
                                  Wilco Eliveld
                                  wrote on last edited by
                                  #16

                                  @mike Hi, no didnt find any fix for this.
                                  But on my Macbook everything works fine, the problem is only on a 32 bits linux machine.

                                  1 Reply Last reply
                                  0
                                  • mikeM Offline
                                    mikeM Offline
                                    mike
                                    wrote on last edited by
                                    #17

                                    @Wilco-Eliveld
                                    I think I found it. while learning Arduino IDE I had several copies of Arduino.exe installed in different locations. Short cuts link to different folder exe's and each folder had it's own librarys.
                                    the compiler was confused as to where to get it's include files. I am still wondering what the logic is as to where it looks. But I cleaned up the other libraries and deleted and re added the short cuts now it works correctly. As always when trouble shooting we spend hours on things that didn't work but only seconds on the actual fix.

                                    1 Reply Last reply
                                    0
                                    • SkysoftS Offline
                                      SkysoftS Offline
                                      Skysoft
                                      wrote on last edited by
                                      #18

                                      On development, I've this problem too...

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


                                      12

                                      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