Hi all,
I've just jumped in, so I'm starting to build some gateways and nodes. The first pair I'm bauilding is nRF based, an NodeMCU w/ MQTT gateway, and a ProMini with an easy DHT11. Both sketches are "vanilla" from Examples; the nRFs are socketed to an adapter with an AMS for 5->3v with a 10uF capacitor, each no more that 20cm far from each other.
So, they pairing - the node finds its parent, but they get stuck during communication:
gateway:
0;255;3;0;9;TSF:CKU:OK
0;255;3;0;9;TSF:MSG:GWL OK
0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
0;255;3;0;9;!TSF:MSG:LEN,7!=32
0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
0;255;3;0;9;!TSF:MSG:LEN,7!=32
0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
0;255;3;0;9;!TSF:MSG:LEN,7!=32
0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
0;255;3;0;9;!TSF:MSG:LEN,7!=32
0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSF:MSG:BC
0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
0;255;3;0;9;TSF:PNG:SEND,TO=0
0;255;3;0;9;TSF:CKU:OK
0;255;3;0;9;TSF:MSG:GWL OK ```
and node:
693319 TSM:FAIL:PDT
753324 TSM:FAIL:RE-INIT
753326 TSM:INIT
753334 TSM:INIT:TSP OK
753336 TSM:FPAR
753338 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
754536 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
754542 TSF:MSG:FPAR OK,ID=0,D=1
755347 TSM:FPAR:OK
755349 TSM:ID
755349 TSM:ID:REQ
755353 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
757362 TSM:ID
757362 TSM:ID:REQ
757366 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
759375 TSM:ID
759375 TSM:ID:REQ
759379 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
761389 TSM:ID
761389 TSM:ID:REQ
761393 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
763402 !TSM:ID:FAIL
763404 TSM:FAIL:CNT=7
763406 TSM:FAIL:PDT 693319 TSM:FAIL:PDT
753324 TSM:FAIL:RE-INIT
753326 TSM:INIT
753334 TSM:INIT:TSP OK
753336 TSM:FPAR
753338 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
754536 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
754542 TSF:MSG:FPAR OK,ID=0,D=1
755347 TSM:FPAR:OK
755349 TSM:ID
755349 TSM:ID:REQ
755353 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
757362 TSM:ID
757362 TSM:ID:REQ
757366 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
759375 TSM:ID
759375 TSM:ID:REQ
759379 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
761389 TSM:ID
761389 TSM:ID:REQ
761393 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
763402 !TSM:ID:FAIL
763404 TSM:FAIL:CNT=7
763406 TSM:FAIL:PDT 693319 TSM:FAIL:PDT
753324 TSM:FAIL:RE-INIT
753326 TSM:INIT
753334 TSM:INIT:TSP OK
753336 TSM:FPAR
753338 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
754536 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
754542 TSF:MSG:FPAR OK,ID=0,D=1
755347 TSM:FPAR:OK
755349 TSM:ID
755349 TSM:ID:REQ
755353 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
757362 TSM:ID
757362 TSM:ID:REQ
757366 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
759375 TSM:ID
759375 TSM:ID:REQ
759379 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
761389 TSM:ID
761389 TSM:ID:REQ
761393 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
763402 !TSM:ID:FAIL
763404 TSM:FAIL:CNT=7
763406 TSM:FAIL:PDT ```
I've added some extra debug switches found here on the forum, but it's not adding nothing interesting o readable.
I've tried switching some nFR, I have some more at home (I'm a traveller!) I could try this weekend....
Maybe the DHT is not reading, so the payload is shorter - 7 chars instead of 32 ?
Any other suggestions to debug this?
Thanks all!
Marco