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. I_DEBUG variable is sent via "set" command, instead of "internal" command

I_DEBUG variable is sent via "set" command, instead of "internal" command

Scheduled Pinned Locked Moved Bug Reports
6 Posts 2 Posters 1.5k 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.
  • G Offline
    G Offline
    gogopotato
    wrote on last edited by
    #1

    In the latest version, I noticed that when a node is sending out a I_DEBUG type payload, it's being sent out as set (1) command instead of internal (3) command. The type value is correctly set to "28" in both cases.

    Example:

    // Debug msg container declaration
    MyMessage msgE1(255, I_DEBUG);
    
    // Send Debug payload
    send(msgE1.set("BME280 INIT SUCCESS"));
    

    Expected message sent to gateway:

    mygateway1-out/11/255/3/0/28 BME280 INIT SUCCESS
    

    Actual message sent to gateway:

    mygateway1-out/11/255/1/0/28 BME280 INIT SUCCESS
    
    mfalkviddM 1 Reply Last reply
    1
    • G gogopotato

      In the latest version, I noticed that when a node is sending out a I_DEBUG type payload, it's being sent out as set (1) command instead of internal (3) command. The type value is correctly set to "28" in both cases.

      Example:

      // Debug msg container declaration
      MyMessage msgE1(255, I_DEBUG);
      
      // Send Debug payload
      send(msgE1.set("BME280 INIT SUCCESS"));
      

      Expected message sent to gateway:

      mygateway1-out/11/255/3/0/28 BME280 INIT SUCCESS
      

      Actual message sent to gateway:

      mygateway1-out/11/255/1/0/28 BME280 INIT SUCCESS
      
      mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      @gogopotato it looks like the message is sent with the type V_VAR5. I am not sure how to send internal messages manually, but the constructor used in your code expects a V_ type, not an I_ type.

      1 Reply Last reply
      0
      • mfalkviddM Online
        mfalkviddM Online
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        Looking at https://github.com/mysensors/MySensors/blob/4380d6618fe818aaf0edc6373bdff400338257a8/MyConfig.h#L38 it seems like there are no "free-form" debug messages.

        G 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          Looking at https://github.com/mysensors/MySensors/blob/4380d6618fe818aaf0edc6373bdff400338257a8/MyConfig.h#L38 it seems like there are no "free-form" debug messages.

          G Offline
          G Offline
          gogopotato
          wrote on last edited by
          #4

          @mfalkvidd Makes sense. Is there another "free-form" message type I can use instead?

          mfalkviddM 1 Reply Last reply
          0
          • G gogopotato

            @mfalkvidd Makes sense. Is there another "free-form" message type I can use instead?

            mfalkviddM Online
            mfalkviddM Online
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            @gogopotato V_TEXT should work. https://www.mysensors.org/download/serial_api_20#set,-req

            G 1 Reply Last reply
            0
            • mfalkviddM mfalkvidd

              @gogopotato V_TEXT should work. https://www.mysensors.org/download/serial_api_20#set,-req

              G Offline
              G Offline
              gogopotato
              wrote on last edited by
              #6

              @mfalkvidd Great. Thanks for the help!

              1 Reply Last reply
              1
              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