Cannot find parent, node does not recieve pong response



  • I have a gateway Arduino Nano with Adafruit rfm9x lora radio which is working well with a couple of moteino+rfm95 boards.
    Recently i bought a TTGO ESP32 oled lora module (868/915 MHZ) and tried to connect with the gateway.

    This is the node log:

    35 MCO:BGN:INIT NODE,CP=RLNNF---,FQ=240,REL=0,VER=2.4.0-alpha
    51 MCO:BGN:BFR
    71 TSM:INIT
    72 TSF:WUR:MS=0
    86 TSM:INIT:TSP OK
    88 TSM:INIT:STATID=201
    92 TSF:SID:OK,ID=201
    96 TSM:FPAR
    99 TSM:FPAR:STATP=0
    103 TSM:ID
    106 TSM:ID:OK
    110 TSM:UPL
    9626 !TSF:MSG:SEND,201-201-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
    11633 TSM:UPL
    18634 !TSF:MSG:SEND,201-201-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
    20641 !TSM:UPL:FAIL
    20642 TSM:FPAR
    20646 TSM:FPAR:STATP=0
    20650 TSM:ID
    20653 TSM:ID:OK
    20657 TSM:UPL
    27660 !TSF:MSG:SEND,201-201-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
    29667 TSM:UPL
    36668 !TSF:MSG:SEND,201-201-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
    38675 !TSM:UPL:FAIL
    38676 TSM:FPAR
    38680 TSM:FPAR:STATP=0
    38684 TSM:ID
    38687 TSM:ID:OK
    38691 TSM:UPL
    45694 !TSF:MSG:SEND,201-201-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1
    47701 TSM:UPL
    

    And this is the gateway log:

    0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RLNGA---,FQ=16,REL=0,VER=2.4.0-alpha
    0;255;3;0;9;6 TSM:INIT
    0;255;3;0;9;8 TSF:WUR:MS=0
    0;255;3;0;9;20 TSM:INIT:TSP OK
    0;255;3;0;9;23 TSM:INIT:GW MODE
    0;255;3;0;9;26 TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;29 MCO:REG:NOT NEEDED
    
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.4.0-alpha
    0;255;3;0;9;33 MCO:BGN:STP
    0;255;3;0;9;40 MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;44 TSM:READY:NWD REQ
    0;255;3;0;9;96 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    0;255;3;0;9;2136 TSF:MSG:READ,201-201-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;2142 TSF:MSG:PINGED,ID=201,HP=1
    0;255;3;0;9;5148 !TSF:MSG:SEND,0-0-201-201,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    0;255;3;0;9;8027 TSF:MSG:READ,201-201-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;8033 TSF:MSG:PINGED,ID=201,HP=1
    0;255;3;0;9;11060 !TSF:MSG:SEND,0-0-201-201,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    0;255;3;0;9;17037 TSF:MSG:READ,201-201-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;17043 TSF:MSG:PINGED,ID=201,HP=1
    0;255;3;0;9;20080 !TSF:MSG:SEND,0-0-201-201,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    0;255;3;0;9;26065 TSF:MSG:READ,201-201-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;26072 TSF:MSG:PINGED,ID=201,HP=1
    0;255;3;0;9;29010 !TSF:MSG:SEND,0-0-201-201,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    0;255;3;0;9;35076 TSF:MSG:READ,201-201-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;35082 TSF:MSG:PINGED,ID=201,HP=1
    0;255;3;0;9;38044 !TSF:MSG:SEND,0-0-201-201,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    0;255;3;0;9;44103 TSF:MSG:READ,201-201-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    0;255;3;0;9;44109 TSF:MSG:PINGED,ID=201,HP=1
    

    in the node i defined

       #define MY_NODE_ID 201                          
       #define MY_PARENT_NODE_ID 0
       #define MY_PARENT_NODE_IS_STATIC
    

    and i tried it also with

       #define MY_NODE_ID 201                          
    //   #define MY_PARENT_NODE_ID 0
    //   #define MY_PARENT_NODE_IS_STATIC
    

    As far is i can see in the log parser, the node sends a "find parent ping" to the gateway, which sends the response as a "pong" back to the node. But the response is not received by the node, so they do not connect.
    I had to use the newest version of mysensors in order to be able to upload it to the ESP32.

    Any ideas on how to solve this issue?


Log in to reply
 

Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts