I got a st=fail:2.0.0 which won't go !!

  • Hi,
    I'm having a problem with both RFM69 and NRF24 radio between node and gateway !
    First I tried with RFM69, then wanted to check if still had the same FAIL with NRF24 : bingo, same st=fail

    On the doc I found about the debug message, I undstand st=Fail means that the gateway doesn't send Ack
    I really don't understand how it could be possible that with 2 differents radio type (NRF24 and RFM69) I get the same problem.

    does anyone have an idea where this st=fail could come from ?

    see below the log on the node side with NRF24 module.
    TSP:PING:SEND (dest=0)
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
    TSP:MSG:READ 0-0-165 s=255,c=3,t=25,pt=1,l=1,sg=0:1
    TSP:MSG:PONG RECV (hops=1)
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
    !TSP:MSG:SEND 165-165-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=1,st=ok:0
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=ok:Temperature Sensor
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.1
    TSP:MSG:SEND 165-165-0-0 s=0,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok:
    Request registration...
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
    TSP:MSG:READ 0-0-165 s=255,c=3,t=27,pt=1,l=1,sg=0:1
    Node registration=1
    Init complete, id=165, parent=0, distance=1, registration=1

  • Contest Winner

    @frencho I've seen this one also. It occurs only when a node is being powered on. It think it's because it's sending the messages during the handshake to fast after each other. Because when I turn on debug and a lot of serial.print statements it doesn't occur. But when I remove them I always see the red led on my gateway blink one time. But regardless of that the Node continuous to connect to the gateway correctly.

    I've also noticed that you shouldn't use a request before the presentation method has been executed fully. The node will report errors if you do.

  • @TheoL you mean send request registration before init complete ?

    But that's the mysensors core which handle all that part, I didn't do anything ?
    I'm using the master, and I have been told that there could be a bug. I'll try tonight the dev branch and see if I have the same behavior

  • Hero Member

  • @korttoma if you solved your pb, how did you do it ?

  • Hero Member

    I have not solved it yet.

Log in to reply

Suggested Topics

  • 3
  • 2
  • 2
  • 2
  • 24
  • 2