Help: Some explanation requested regarding NACK



  • Hello,

    I'm a bit confused.

    I got the following scenarios inside my network.

    First thing I found: NACK:50.6 (aswell as 2 mssg with OK) on my node, but my gateway tells me: "sure, I see it, cool bananas!"

    Node:

    TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=3,st=OK:88
    TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:20.5
    !TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=NACK:50.6
    

    Gateway:

    0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=0,pt=1,l=1,sg=0:88
    0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:20.5
    0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:50.6
    

    A minute later I get the following:
    The Node tells me NACK:100 , NACK:50.3 and OK:20.5
    But my gateway now says, well srry buddy, the OK:20.5 didnt arrive.

    So only the OK mssg didnt come through.

    Node:

    !TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=1,st=NACK:100
    TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=2,st=OK:20.5
    !TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=NACK:50.3
    

    Gateway:

    0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=0,pt=1,l=1,sg=0:100
    0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:50.3
    

    Both have a RFM69.
    Gateway on ESP8266 -> 2.0.0 (2.1.0/2.1.1 made it reboot)
    node -> ms 2.1.0

    What should be my best guess? The gateway got trouble receiving or the node messes up the sending/receiving part?

    Thnx!


  • Mod

    Did you try to put them just a couple of meters away from each other? Just to exclude any range problem.



  • @gohan said in Help: Some explanation requested regarding NACK:

    d you try to put them just a couple of meters away from each other? Just to exclud

    how much should you advice? atm, its 3 meters.


  • Mod

    1-2 meters is the right distance to exclude range problem. Then also power issues could cause messages to be lost.



  • oke,
    well will look into the lost mssg.
    But my biggest question might be, why the node thinks they are NACK, but my gate tells me their fine?



  • @Omemanti said in Help: Some explanation requested regarding NACK:

    but my

    Could you post part of the code where you send those messages? do you send the node to sleep?


  • Mod

    @Omemanti Because the node can't receive the ack message so it assumes it's lost: could the the gateway didn't receive it or the node itself couldn't receive the ack from gateway. It could me many reasons, so you need to address it one by one until you find it 😀



  • @gohan said in Help: Some explanation requested regarding NACK:

    the node can't receive the ack message so it assumes it's lost: could the the gateway did

    mjah, ofcourse,
    Well I'll build me some more of these, see If the same things happen with some other nodes.

    thnx for the help so far!


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.