[SOLVED] Sometimes the node don't send the node prasentation



  • Sometimes the node don't send the node prasentation like “1;255;0;0;17;2.0.0”.

    [2016-08-07 22:59:32][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    [2016-08-07 22:59:32][receive] >> 0;255;3;0;9;TSP:MSG:BC
    [2016-08-07 22:59:32][receive] >> 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1)
    [2016-08-07 22:59:32][receive] >> 0;255;3;0;9;TSP:CHKUPL:OK
    [2016-08-07 22:59:32][receive] >> 0;255;3;0;9;TSP:MSG:GWL OK
    [2016-08-07 22:59:32][receive] >> 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1)
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
    [2016-08-07 22:59:34][receive] >> 1;255;0;0;17;2.0.0    // sometimes lost!!!!!!!!!!!!!!!
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
    [2016-08-07 22:59:35][receive] >> 1;255;3;0;6;0
    [2016-08-07 22:59:36][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=10,sg=0:RGB Sensor
    [2016-08-07 22:59:36][receive] >> 1;255;3;0;11;RGB Sensor
    [2016-08-07 22:59:36][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    [2016-08-07 22:59:36][receive] >> 1;255;3;0;12;1.0
    [2016-08-07 22:59:36][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=3,pt=0,l=0,sg=0:
    [2016-08-07 22:59:36][receive] >> 1;0;0;0;3;
    [2016-08-07 22:59:37][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=3,pt=0,l=0,sg=0:
    [2016-08-07 22:59:37][receive] >> 1;1;0;0;3;
    [2016-08-07 22:59:37][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=2,c=0,t=3,pt=0,l=0,sg=0:
    [2016-08-07 22:59:37][receive] >> 1;2;0;0;3;
    [2016-08-07 22:59:37][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=3,c=0,t=3,pt=0,l=0,sg=0:
    [2016-08-07 22:59:37][receive] >> 1;3;0;0;3;
    [2016-08-07 22:59:37][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
    [2016-08-07 22:59:37][receive] >> 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1
    [2016-08-07 22:59:41][receive] >> 0;255;3;0;9;TSP:SANCHK:OK
    

  • Contest Winner

    Dear @Magic-W,

    It's really hard to help just by looking at a log. Would you be so kind to post your Sketch? That way might be able to help you.

    There could be a lot of things that can go wrong. E.g. if you have a lot of children that you present to the gateway, you might have to insert some waits. Because the radio might not be able to do such a quick communication.

    Also you had a failed message

    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 <----- This one (byTheo)
    [2016-08-07 22:59:34][receive] >> 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
    [2016-08-07 22:59:34][receive] >> 1;255;0;0;17;2.0.0    // sometimes lost!!!!!!!!!!!!!!!
    

  • Mod

    @Magic-W If you sometimes lose messages then reception of the radio is probably not optimal (I also see st=fail responses).
    Try again by moving radio's closer (or further away when they are really close) or improve power supply.



  • @TheoL @Yveaux Yeah,Thank you for your advice. when i try move the radio closer,it's OK!


 

421
Online

7.9k
Users

8.8k
Topics

93.8k
Posts