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. Troubleshooting
  3. Serial gateway and NRF24 and repeater mode

Serial gateway and NRF24 and repeater mode

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 919 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.
  • P Offline
    P Offline
    peerv
    wrote on last edited by
    #1

    I have a serial gateway with one nodeid=20 running for some time with no problems.
    Getting comms problems with a second nodeid=22 when added to the same gateway.

    Below is the debug log from nodeid=22 with the communication problems.
    On the 4th line is a READ from nodeid=20. I don't have REPEATER MODE defined!
    There is also a broadcast message MSG:BC

    What could be wrong here?

    124187 !TSF:SND:TNR
    124194 MCO:SLP:MS=6000,SMS=0,I1=255,M1=255,I2=255,M2=255
    124199 !MCO:SLP:TNR
    124436 TSF:MSG:READ,20-20-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    124441 TSF:MSG:BC
    124585 TSF:MSG:READ,0-0-22,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    124591 TSF:MSG:FPAR OK,ID=0,D=1
    126053 TSM:FPAR:OK
    126054 TSM:ID
    126056 TSM:ID:OK
    126057 TSM:UPL
    126095 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
    126220 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
    126225 TSF:MSG:BC
    126537 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=1,st=NACK:0
    126647 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
    126652 TSF:MSG:BC
    127391 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=2,st=NACK:0
    128102 TSM:UPL
    128139 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
    128690 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
    128695 TSF:MSG:BC
    129430 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=4,st=NACK:0
    130147 TSM:UPL
    130184 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1```
    mfalkviddM 1 Reply Last reply
    0
    • P peerv

      I have a serial gateway with one nodeid=20 running for some time with no problems.
      Getting comms problems with a second nodeid=22 when added to the same gateway.

      Below is the debug log from nodeid=22 with the communication problems.
      On the 4th line is a READ from nodeid=20. I don't have REPEATER MODE defined!
      There is also a broadcast message MSG:BC

      What could be wrong here?

      124187 !TSF:SND:TNR
      124194 MCO:SLP:MS=6000,SMS=0,I1=255,M1=255,I2=255,M2=255
      124199 !MCO:SLP:TNR
      124436 TSF:MSG:READ,20-20-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      124441 TSF:MSG:BC
      124585 TSF:MSG:READ,0-0-22,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      124591 TSF:MSG:FPAR OK,ID=0,D=1
      126053 TSM:FPAR:OK
      126054 TSM:ID
      126056 TSM:ID:OK
      126057 TSM:UPL
      126095 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
      126220 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      126225 TSF:MSG:BC
      126537 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=1,st=NACK:0
      126647 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      126652 TSF:MSG:BC
      127391 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=2,st=NACK:0
      128102 TSM:UPL
      128139 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
      128690 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      128695 TSF:MSG:BC
      129430 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=4,st=NACK:0
      130147 TSM:UPL
      130184 !TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1```
      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      @peerv the log parser can be useful.

      Node 20 sends a broadcast message. Broadcast messages are received by all nodes, including node 22. Since node 22 is not a repeater, node 22 does not send a reply to node 20. That's just normal operation.

      However, when node 22 sends a reply to the gateway's I_DISCOVER_REQUEST, the reply is not acknowledged (st=NACK). See https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help for a troubleshooting flowchart with the most common causes. Power is top 1, 2 and 3 on that list.

      How is your node powered?
      The debug logs from the gateway will probably be very useful for troubleshooting.

      P 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @peerv the log parser can be useful.

        Node 20 sends a broadcast message. Broadcast messages are received by all nodes, including node 22. Since node 22 is not a repeater, node 22 does not send a reply to node 20. That's just normal operation.

        However, when node 22 sends a reply to the gateway's I_DISCOVER_REQUEST, the reply is not acknowledged (st=NACK). See https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help for a troubleshooting flowchart with the most common causes. Power is top 1, 2 and 3 on that list.

        How is your node powered?
        The debug logs from the gateway will probably be very useful for troubleshooting.

        P Offline
        P Offline
        peerv
        wrote on last edited by
        #3

        @mfalkvidd Thanks for confirming about the BC message being normal protocol.
        I have used the log parser (great!) and the trouble shooting flowchart (great!).
        I am currently powering thru USB but as the comms problem is intermittend I need some further investigation.

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


        22

        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