Problems with develop branch



  • Hello 😉

    I used the develop branch quite a while and everthing was fine.
    But now i can't get the communication up between controller and node. I didn't change something on the hardware side, so I think there is an error on the software part.

    This is what I can see on the node:

    Starting sensor (RNNNA-, 2.0.0-beta)
    TSM:INIT
    RADIO:OK
    assign node ID=1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    read: 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    node 0 replied, d=0, _nc.distance=255
    parent=0, d=1
    TSM:ID
    node ID=1
    pinging node 0
    send: 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,st=ok:1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    !TSM:FAILURE
    TSM:PDT
    TSM:INIT
    RADIO:OK
    assign node ID=1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    read: 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    node 0 replied, d=0, _nc.distance=255
    parent=0, d=1
    TSM:ID
    node ID=1
    pinging node 0
    send: 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,st=ok:1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    read: 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    node 0 replied, d=0, _nc.distance=255
    parent=0, d=1
    TSM:ID
    node ID=1
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    TSM:PARENT
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    !TSM:FAILURE
    TSM:PDT
    

    On the gateway side i can see:

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    IP: 192.168.100.10
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:OK
    0;255;3;0;9;No registration required
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;node pinged by 1, hops=1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,st=fail:1
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;MSG:BC
    0;255;3;0;9;FPREQ from 1
    0;255;3;0;9;GWL ok, FPRES to 1
    0;255;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    

    Any idea whats wrong here? is there a place, where I can read about the "new" output format/messages?

    EDIT: I don't even come the the setup() part of my sketch. the node is looping around with the log messages above.


  • Admin

    @dakky How close are GW and node from each other? Also, can you make sure that you are using the latest dev version since many changes have been applied recently.



  • @tekka

    Distance 10cm 😉

    BUt the second hint was useful. There seemed to be something "broken"/agile/in development yesterday which was fixed today. As far as I remember this was a fresh merge from development but nevertheless: now it is working again 😉 thanks 4 the hint.

    Greetings
    Dakky


Log in to reply
 

Suggested Topics

  • 3
  • 3
  • 2
  • 15
  • 2
  • 1

15
Online

11.2k
Users

11.1k
Topics

112.5k
Posts