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. [Solved] receive() function not working

[Solved] receive() function not working

Scheduled Pinned Locked Moved Bug Reports
6 Posts 4 Posters 2.3k Views 3 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.
  • npiotN Offline
    npiotN Offline
    npiot
    wrote on last edited by tekka
    #1

    is the receive function supposed to work on the gateway or is it only for nodes? It doesn't work on my sketch.
    I tried it on a gateway sketch and the function is never called when I receive incoming messages.
    If it is not supposed to work on gateway, what would be the turn around to get the data and use it on the gateway, before it is sent to the controller?

    Thanks

    Nicolas

    AWIA 1 Reply Last reply
    0
    • npiotN npiot

      is the receive function supposed to work on the gateway or is it only for nodes? It doesn't work on my sketch.
      I tried it on a gateway sketch and the function is never called when I receive incoming messages.
      If it is not supposed to work on gateway, what would be the turn around to get the data and use it on the gateway, before it is sent to the controller?

      Thanks

      Nicolas

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #2

      @npiot I stumbled across the same thing. This is solved / changed in the development version.

      tekkaT 1 Reply Last reply
      2
      • NikitaN Offline
        NikitaN Offline
        Nikita
        wrote on last edited by Nikita
        #3

        @AWI Did you find the solution?

        1 Reply Last reply
        0
        • AWIA AWI

          @npiot I stumbled across the same thing. This is solved / changed in the development version.

          tekkaT Offline
          tekkaT Offline
          tekka
          Admin
          wrote on last edited by
          #4

          @Nikita

          @AWI said:

          @npiot I stumbled across the same thing. This is solved / changed in the development version.

          Reference: https://github.com/mysensors/MySensors/pull/522

          1 Reply Last reply
          0
          • npiotN Offline
            npiotN Offline
            npiot
            wrote on last edited by
            #5

            Thanks, I found out already, but do you know how I can rename the title of the topic and put "(solved)" in it?

            NikitaN 1 Reply Last reply
            0
            • npiotN npiot

              Thanks, I found out already, but do you know how I can rename the title of the topic and put "(solved)" in it?

              NikitaN Offline
              NikitaN Offline
              Nikita
              wrote on last edited by
              #6

              @npiot There are three dots near the "reply" and "quote" buttons. Go there and find "edit" tool. Then simply modify the title and press "Submit".

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


              17

              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