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. Question how to print MySensor message

Question how to print MySensor message

Scheduled Pinned Locked Moved Development
5 Posts 2 Posters 491 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.
  • O Offline
    O Offline
    Omemanti
    wrote on last edited by
    #1

    Hey,

    maybe someone can help me out easy on this.

    I got a gateway, and just want to print the message that comes in into a serial monitor. (or maybe strip it down the road)

    Is there an easy way to just serial print a message like: 219;2;1;0;16;1. Instead of having the debug doing it.

    mfalkviddM 1 Reply Last reply
    0
    • O Omemanti

      Hey,

      maybe someone can help me out easy on this.

      I got a gateway, and just want to print the message that comes in into a serial monitor. (or maybe strip it down the road)

      Is there an easy way to just serial print a message like: 219;2;1;0;16;1. Instead of having the debug doing it.

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @Omemanti a serial gateway without debug will print in the format described at https://www.mysensors.org/download/serial_api_20#examples

      O 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @Omemanti a serial gateway without debug will print in the format described at https://www.mysensors.org/download/serial_api_20#examples

        O Offline
        O Offline
        Omemanti
        wrote on last edited by
        #3

        @mfalkvidd for the thing I'm working on, I'd like to pass this string into another function. Do know how I can get this information into a variable? Preferably char[].

        mfalkviddM 1 Reply Last reply
        0
        • O Omemanti

          @mfalkvidd for the thing I'm working on, I'd like to pass this string into another function. Do know how I can get this information into a variable? Preferably char[].

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @Omemanti Sorry, that's on a level beyond my knowledge

          1 Reply Last reply
          0
          • mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            Maybe you can fill a global char array from within receive()? You’d have to handle quick successive calls in a good manner though.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            5

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            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