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. Bug Reports
  3. MQTTGateway on version 1.5

MQTTGateway on version 1.5

Scheduled Pinned Locked Moved Bug Reports
2 Posts 2 Posters 1.1k 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.
  • K Offline
    K Offline
    Ken Berck
    wrote on last edited by
    #1

    I tried to compile the MQTTGateway with the embedded codebender on the website, but it gives a compile error. Ran the code with all libraries updated to 1.5 on arduino gives the following error. Anyone else able to verify this but to see if I missed something?

    In file included from MQTTGateway.ino:87:
    C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:158: error: expected type-specifier before 'MyHwDriver'
    C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:158: error: default argument for parameter of type 'MyHw&' has type 'int'
    C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:158: error: expected ',' before 'MyHwDriver'
    MQTTGateway:130: error: 'MyHwATMega328' does not name a type
    MQTTGateway:133: error: 'hw' was not declared in this scope
    MQTTGateway.ino: In function 'char* getType(char*, const char**)':
    MQTTGateway.ino:272: warning: suggest parentheses around assignment used as truth value
    MQTTGateway.ino: In function 'void processMQTTMessage(char*, uint8_t)':
    MQTTGateway.ino:351: warning: comparison with string literal results in unspecified behaviour

    Thanks for the help!

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

      You might have an old version of the MySensors library among your codebender private libraries. Remove it and re-clone sketch.

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


      30

      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