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. 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.

Scheduled Pinned Locked Moved Development
4 Posts 3 Posters 2.4k 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.
  • hautomateH Offline
    hautomateH Offline
    hautomate
    wrote on last edited by
    #1

    I'm running the development branch and am getting the following when uploading a sketch:

    Arduino: 1.6.4 (Mac OS X), Board: "Arduino Nano, ATmega328"
    
    In file included from motion.ino:30:0:
    /Users/..../Documents/Arduino3dev/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.
        ^
    motion:38: error: 'MySensor' does not name a type
    motion.ino: In function 'void setup()':
    motion:44: error: 'gw' was not declared in this scope
    motion.ino: In function 'void loop()':
    motion:61: error: 'gw' was not declared in this scope
    'MySensor' does not name a type
    

    Where can I find some documentation on configuring sensors running the v2 beta release?

    Thanks

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TimO
      Hero Member
      wrote on last edited by
      #2

      You're missing:

      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      

      (or serial gw, or rs485 or what ever)

      BEFORE

      #include <MySensor.h>
      
      1 Reply Last reply
      0
      • sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by
        #3

        Post your sketch but by the looks on your errors can it be that you use code for 1.5 and 2.0 as library? In 1.5 you define gw.begin for example (motion:44: error: 'gw' was not declared in this scope) but thats removed in 2.0. You cant use the example sketches in the homepage for dev branch.

        Controller: Proxmox VM - Home Assistant
        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

        1 Reply Last reply
        0
        • hautomateH Offline
          hautomateH Offline
          hautomate
          wrote on last edited by
          #4

          Ah yes... Thanks, folks!

          I got my sketches mixed up and was using a 1.5 version.

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


          7

          Online

          11.7k

          Users

          11.2k

          Topics

          113.0k

          Posts


          Copyright 2019 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