@frits said in MQTT GW with RFM69 on RPi:
@Yveaux I have a raspi gw with debug signatures ready:
here's the logging on arduino hardware (both gateway and node on arduino pro micro + nrf24).
Summary:
- MCO:PRO on gateway only
- only after node boot
- or message sent from gateway to node
gw boot:
0 MCO:BGN:INIT GW,CP=RNNGAA--,FQ=8,REL=255,VER=2.3.2
16 SGN:PER:OK
40 SGN:INI:BND OK
43 TSM:INIT
43 TSF:WUR:MS=0
51 TSM:INIT:TSP OK
53 TSM:INIT:GW MODE
55 TSM:READY:ID=0,PAR=0,DIS=0
57 MCO:REG:NOT NEEDED
622 GWT:TPC:IP=192.168.99.13
1626 MCO:BGN:STP
2127 MCO:BGN:INIT OK,TSP=1
2129 GWT:TPC:IP=192.168.99.13
3133 GWT:RMQ:CONNECTING...
3342 GWT:RMQ:OK
3344 GWT:TPS:TOPIC=mysgw1-out/0/255/0/0/18,MSG SENT
3352 TSM:READY:NWD REQ
3354 SGN:SGN:NREQ=255
3360 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
node boot (gw log):
40278 TSF:MSG:READ,123-123-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
40284 TSF:MSG:BC
40286 TSF:MSG:FPAR REQ,ID=123
40290 TSF:PNG:SEND,TO=0
40292 TSF:CKU:OK
40294 TSF:MSG:GWL OK
40656 SGN:SKP:MSG CMD=3,TYPE=8
40660 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
42303 TSF:MSG:READ,123-123-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
42311 SGN:SKP:MSG CMD=3,TYPE=24
42313 TSF:MSG:PINGED,ID=123,HP=1
42317 SGN:SKP:MSG CMD=3,TYPE=25
42323 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
42350 TSF:MSG:READ,123-123-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0101
42356 SGN:SKP:MSG CMD=3,TYPE=15
42360 SGN:PRE:SGN REQ,FROM=123
42364 SGN:PRE:SGN REQ,TO=123
42366 SGN:PRE:WHI NREQ,TO=123
42371 SGN:SKP:MSG CMD=3,TYPE=15
42375 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0101
42383 SGN:PRE:XMT,TO=123
42393 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=0:
42399 SGN:SKP:MSG CMD=3,TYPE=16
42475 SGN:SKP:MSG CMD=3,TYPE=17
42481 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=OK:<NONCE>
42491 SGN:NCE:XMT,TO=0
42653 TSF:MSG:READ,123-123-0,s=255,c=0,t=17,pt=0,l=5,sg=1:2.3.2
42659 SGN:BND:NONCE=5D05EE8DE2E5DB1DF14E37C1927A97E1415B5A171E0A64E5DFAAAAAAAAAAAAAA
42774 SGN:BND:HMAC=F03795009783A00B1CBA3AB0CABCCE11BA9F5F6050B407B3B50FAADE5B558925
42782 SGN:VER:OK
42786 GWT:TPS:TOPIC=mysgw1-out/123/255/0/0/17,MSG SENT
42792 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
42801 SGN:SKP:MSG CMD=3,TYPE=16
42878 SGN:SKP:MSG CMD=3,TYPE=17
42885 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
42893 SGN:NCE:XMT,TO=0
43055 TSF:MSG:READ,123-123-0,s=255,c=3,t=6,pt=1,l=1,sg=1:0
43061 SGN:BND:NONCE=6A5BC212192AAC2D25FDAFE2B626B8216A01D1FA44E1032D42AAAAAAAAAAAAAA
43180 SGN:BND:HMAC=FFF58B3C02F477E9ACCF36614E05769E8952C76692035368A8A41604F6459073
43188 SGN:VER:OK
43190 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/6,MSG SENT
45049 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
45056 SGN:SKP:MSG CMD=3,TYPE=16
45131 SGN:SKP:MSG CMD=3,TYPE=17
45137 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
45148 SGN:NCE:XMT,TO=0
45309 TSF:MSG:READ,123-123-0,s=255,c=3,t=11,pt=0,l=20,sg=1:Hello MySensors 328P
45318 SGN:BND:NONCE=736CF35C52747BC27A10F246D0E5162640F4843111755C3A1CAAAAAAAAAAAAAA
45432 SGN:BND:HMAC=2D5615BD24252A9F704CE90933F7B6ED89EB891ECCC0BF7EB6021CCFB3B6432D
45441 SGN:VER:OK
45445 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/11,MSG SENT
45453 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
45459 SGN:SKP:MSG CMD=3,TYPE=16
45537 SGN:SKP:MSG CMD=3,TYPE=17
45543 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
45551 SGN:NCE:XMT,TO=0
45713 TSF:MSG:READ,123-123-0,s=255,c=3,t=12,pt=0,l=3,sg=1:1.3
45721 SGN:BND:NONCE=7394AB63F58F7181E65175A747357A73B72DA775ECD44D795BAAAAAAAAAAAAAA
45836 SGN:BND:HMAC=7913D96974B91F551F698BBAB914AE79BC871569DF05977FF18A07836CFDDA2B
45844 SGN:VER:OK
45848 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/12,MSG SENT
45854 TSF:MSG:READ,123-123-0,s=0,c=3,t=16,pt=0,l=0,sg=1:
45860 SGN:SKP:MSG CMD=3,TYPE=16
45942 SGN:SKP:MSG CMD=3,TYPE=17
45948 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
45957 SGN:NCE:XMT,TO=0
46118 TSF:MSG:READ,123-123-0,s=0,c=0,t=36,pt=0,l=6,sg=1:system
46125 SGN:BND:NONCE=369A5D4D44C839C07EF2041459B7AF64B8322FC35570B09EE2AAAAAAAAAAAAAA
46243 SGN:BND:HMAC=2E022D2A34A359DF46021E5A7D197B92ABBA56B1B6DB1D9FC2661FFBA8B031EE
46252 SGN:VER:OK
46254 GWT:TPS:TOPIC=mysgw1-out/123/0/0/0/36,MSG SENT
46262 TSF:MSG:READ,123-123-0,s=1,c=3,t=16,pt=0,l=0,sg=1:
46268 SGN:SKP:MSG CMD=3,TYPE=16
46344 SGN:SKP:MSG CMD=3,TYPE=17
46350 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
46360 SGN:NCE:XMT,TO=0
46522 TSF:MSG:READ,123-123-0,s=1,c=0,t=36,pt=0,l=9,sg=1:timestamp
46528 SGN:BND:NONCE=16E88FB58D621C0047CD38142BDCA4303719F0F8D670C6BEA5AAAAAAAAAAAAAA
46643 SGN:BND:HMAC=1AF56FBB3CF5C705B4C3E5210DE5CB912FF25F84F8152C51CA053A78ABEA63FC
46653 SGN:VER:OK
46655 GWT:TPS:TOPIC=mysgw1-out/123/1/0/0/36,MSG SENT
46663 TSF:MSG:READ,123-123-0,s=2,c=3,t=16,pt=0,l=0,sg=1:
46669 SGN:SKP:MSG CMD=3,TYPE=16
46747 SGN:SKP:MSG CMD=3,TYPE=17
46753 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
46761 SGN:NCE:XMT,TO=0
46923 TSF:MSG:READ,123-123-0,s=2,c=0,t=3,pt=0,l=3,sg=1:led
46931 SGN:BND:NONCE=F63BD3325089CAC4DA5F679EA9E334D19E07FB52DFC54C7901AAAAAAAAAAAAAA
47048 SGN:BND:HMAC=CAF49ED58A0F6D78FA8E2C99C24682D83558017E56F147619CFFD5F56C4CF40C
47056 SGN:VER:OK
47058 GWT:TPS:TOPIC=mysgw1-out/123/2/0/0/3,MSG SENT
47067 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
47073 SGN:SKP:MSG CMD=3,TYPE=16
47149 SGN:SKP:MSG CMD=3,TYPE=17
47155 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
47165 SGN:NCE:XMT,TO=0
47325 TSF:MSG:READ,123-123-0,s=3,c=0,t=3,pt=0,l=6,sg=1:button
47333 SGN:BND:NONCE=70E6B1C050BD5A8A2F03F3C345E801FE73237CF22F11196795AAAAAAAAAAAAAA
47448 SGN:BND:HMAC=F5202D42D87CA81DC0D0E032F54189868EEB4FE462598C6AD8B3307A4A043F4D
47456 SGN:VER:OK
47460 GWT:TPS:TOPIC=mysgw1-out/123/3/0/0/3,MSG SENT
47466 TSF:MSG:READ,123-123-0,s=255,c=3,t=26,pt=1,l=1,sg=1:2
47474 SGN:SKP:MSG CMD=3,TYPE=26
47476 SGN:SKP:MSG CMD=3,TYPE=16
47482 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK:
47491 SGN:SGN:NCE REQ,TO=123
47493 !MCO:PRO:RC=1
47495 !MCO:PRO:RC=1
47499 !MCO:PRO:RC=1
47501 !MCO:PRO:RC=1
47503 !MCO:PRO:RC=1
47505 !MCO:PRO:RC=1
47509 !MCO:PRO:RC=1
47511 !MCO:PRO:RC=1
47513 !MCO:PRO:RC=1
47515 !MCO:PRO:RC=1
47519 !MCO:PRO:RC=1
47521 !MCO:PRO:RC=1
47523 !MCO:PRO:RC=1
47525 !MCO:PRO:RC=1
47529 !MCO:PRO:RC=1
47532 !MCO:PRO:RC=1
47534 !MCO:PRO:RC=1
47536 !MCO:PRO:RC=1
47540 !MCO:PRO:RC=1
47542 !MCO:PRO:RC=1
47544 !MCO:PRO:RC=1
47546 !MCO:PRO:RC=1
47548 !MCO:PRO:RC=1
47552 !MCO:PRO:RC=1
47554 !MCO:PRO:RC=1
47556 !MCO:PRO:RC=1
47558 !MCO:PRO:RC=1
47562 !MCO:PRO:RC=1
47564 !MCO:PRO:RC=1
47566 !MCO:PRO:RC=1
47568 !MCO:PRO:RC=1
47572 !MCO:PRO:RC=1
47575 !MCO:PRO:RC=1
47577 !MCO:PRO:RC=1
47579 !MCO:PRO:RC=1
47583 !MCO:PRO:RC=1
47585 !MCO:PRO:RC=1
47587 !MCO:PRO:RC=1
47589 !MCO:PRO:RC=1
47593 !MCO:PRO:RC=1
47595 !MCO:PRO:RC=1
47597 !MCO:PRO:RC=1
47599 !MCO:PRO:RC=1
47603 !MCO:PRO:RC=1
47605 !MCO:PRO:RC=1
47607 !MCO:PRO:RC=1
47609 !MCO:PRO:RC=1
47613 TSF:MSG:READ,123-123-0,s=255,c=3,t=17,pt=6,l=25,sg=0:<NONCE>
47620 SGN:SKP:MSG CMD=3,TYPE=17
47624 SGN:NCE:FROM=123
47626 SGN:BND:NONCE=52C791A2F3FD084BB05D52CBA6079339BCBC85FC48E952A91DAAAAAAAAAAAAAA
47747 SGN:BND:HMAC=3CCB39326B05220FEED535CC8304FE46A6544C69ED9C2D943725F8E38FA19C50
47755 SGN:SGN:SGN
47761 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=27,pt=1,l=1,sg=1,ft=0,st=OK:1
47935 TSF:MSG:READ,123-123-0,s=1,c=3,t=16,pt=0,l=0,sg=1:
47943 SGN:SKP:MSG CMD=3,TYPE=16
48023 SGN:SKP:MSG CMD=3,TYPE=17
48029 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
48037 SGN:NCE:XMT,TO=0
48199 TSF:MSG:READ,123-123-0,s=1,c=1,t=2,pt=0,l=11,sg=1:Hello 10031
48207 SGN:BND:NONCE=399F6855334A59FF5A2B512738EF6B8C70BB2EE4A8FAD758E8AAAAAAAAAAAAAA
48322 SGN:BND:HMAC=6CCD4905231C9F55C61B23922DAC166A8B20610B150F491FAA11E1C4B9FBB7D4
48332 SGN:VER:OK
48334 GWT:TPS:TOPIC=mysgw1-out/123/1/1/0/2,MSG SENT
node send message (node log):
58513 SGN:SKP:MSG CMD=3,TYPE=16
58519 TSF:MSG:SEND,123-123-0-0,s=3,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
58525 SGN:SGN:NCE REQ,TO=0
58650 TSF:MSG:READ,0-0-123,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
58656 SGN:SKP:MSG CMD=3,TYPE=17
58660 SGN:NCE:FROM=0
58662 SGN:BND:NONCE=B06B498BB6AED7756B7C19D7D3E677464FE8E6D1823E37A818AAAAAAAAAA
AAAA
58779 SGN:BND:HMAC=03123A4791D8BD0DB61B6C15604A847FA875D53790F9CAED906E57CF85C95
571
58789 SGN:SGN:SGN
58793 TSF:MSG:SEND,123-123-0-0,s=3,c=1,t=2,pt=2,l=2,sg=1,ft=0,st=OK:1
button pressed
58814 SGN:SKP:MSG CMD=3,TYPE=16
58820 TSF:MSG:SEND,123-123-0-0,s=3,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
58826 SGN:SGN:NCE REQ,TO=0
59095 TSF:MSG:READ,0-0-123,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
59101 SGN:SKP:MSG CMD=3,TYPE=17
59105 SGN:NCE:FROM=0
59107 SGN:BND:NONCE=24228D2780F459C3469D1BDD01BAB9128D31C32B3FF806BA2DAAAAAAAAAA
AAAA
59222 SGN:BND:HMAC=FF9C0AD707200F63C0A93BABF019B137C3F1FD54AD224291F83C16BFC6644
E8C
59232 SGN:SGN:SGN
59236 TSF:MSG:SEND,123-123-0-0,s=3,c=1,t=2,pt=2,l=2,sg=1,ft=0,st=OK:0
button released
node send message (gw log):
96430 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
96436 SGN:SKP:MSG CMD=3,TYPE=16
96512 SGN:SKP:MSG CMD=3,TYPE=17
96518 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
96528 SGN:NCE:XMT,TO=0
96690 TSF:MSG:READ,123-123-0,s=3,c=1,t=2,pt=2,l=2,sg=1:1
96696 SGN:BND:NONCE=B06B498BB6AED7756B7C19D7D3E677464FE8E6D1823E37A818AAAAAAAAAAAAAA
96811 SGN:BND:HMAC=03123A4791D8BD0DB61B6C15604A847FA875D53790F9CAED906E57CF85C95571
96821 SGN:VER:OK
96823 GWT:TPS:TOPIC=mysgw1-out/123/3/1/0/2,MSG SENT
96829 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
96837 SGN:SKP:MSG CMD=3,TYPE=16
96917 SGN:SKP:MSG CMD=3,TYPE=17
96923 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
96931 SGN:NCE:XMT,TO=0
97093 TSF:MSG:READ,123-123-0,s=3,c=1,t=2,pt=2,l=2,sg=1:0
97101 SGN:BND:NONCE=24228D2780F459C3469D1BDD01BAB9128D31C32B3FF806BA2DAAAAAAAAAAAAAA
97216 SGN:BND:HMAC=FF9C0AD707200F63C0A93BABF019B137C3F1FD54AD224291F83C16BFC6644E8C
97224 SGN:VER:OK
97228 GWT:TPS:TOPIC=mysgw1-out/123/3/1/0/2,MSG SENT
gw send message (gw log):
206145 GWT:IMQ:TOPIC=mysgw1-in/123/2/1/0/2, MSG RECEIVED
206151 SGN:SKP:MSG CMD=3,TYPE=16
206157 TSF:MSG:SEND,0-0-123-123,s=2,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
206166 SGN:SGN:NCE REQ,TO=123
206168 !MCO:PRO:RC=1
206172 !MCO:PRO:RC=1
206174 !MCO:PRO:RC=1
206176 !MCO:PRO:RC=1
206180 !MCO:PRO:RC=1
206182 !MCO:PRO:RC=1
206184 !MCO:PRO:RC=1
206186 !MCO:PRO:RC=1
206190 !MCO:PRO:RC=1
206192 !MCO:PRO:RC=1
206194 !MCO:PRO:RC=1
206198 !MCO:PRO:RC=1
206200 !MCO:PRO:RC=1
206202 !MCO:PRO:RC=1
206206 !MCO:PRO:RC=1
206209 !MCO:PRO:RC=1
206211 !MCO:PRO:RC=1
206215 !MCO:PRO:RC=1
206217 !MCO:PRO:RC=1
206219 !MCO:PRO:RC=1
206223 !MCO:PRO:RC=1
206225 !MCO:PRO:RC=1
206227 !MCO:PRO:RC=1
206231 !MCO:PRO:RC=1
206233 !MCO:PRO:RC=1
206235 !MCO:PRO:RC=1
206239 !MCO:PRO:RC=1
206241 !MCO:PRO:RC=1
206243 !MCO:PRO:RC=1
206247 !MCO:PRO:RC=1
206249 !MCO:PRO:RC=1
206252 !MCO:PRO:RC=1
206256 !MCO:PRO:RC=1
206258 !MCO:PRO:RC=1
206260 !MCO:PRO:RC=1
206262 !MCO:PRO:RC=1
206266 !MCO:PRO:RC=1
206268 !MCO:PRO:RC=1
206272 TSF:MSG:READ,123-123-0,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
206278 SGN:SKP:MSG CMD=3,TYPE=17
206282 SGN:NCE:FROM=123
206284 SGN:BND:NONCE=40E78847070231061F13FBD56014E185E1FC7651EDC52ABFD3AAAAAAAAAAAAAA
206399 SGN:BND:HMAC=4A48E4CF691C24205050B2ECB0C4C9B5F0CB4A67D9E9A43A5FFA03A8F7288F1A
206409 SGN:SGN:SGN
206415 TSF:MSG:SEND,0-0-123-123,s=2,c=1,t=2,pt=0,l=1,sg=1,ft=0,st=OK:1
gw send message (node log):
168019 !SGN:BND:TMR
168024 TSF:MSG:READ,0-0-123,s=2,c=3,t=16,pt=0,l=0,sg=1:
168030 SGN:SKP:MSG CMD=3,TYPE=16
168085 SGN:SKP:MSG CMD=3,TYPE=17
168091 TSF:MSG:SEND,123-123-0-0,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=1,st=OK:<NONCE>
168101 SGN:NCE:XMT,TO=123
168263 TSF:MSG:READ,0-0-123,s=2,c=1,t=2,pt=0,l=1,sg=1:1
168269 SGN:BND:NONCE=40E78847070231061F13FBD56014E185E1FC7651EDC52ABFD3AAAAAAAAA
AAAAA
168384 SGN:BND:HMAC=4A48E4CF691C24205050B2ECB0C4C9B5F0CB4A67D9E9A43A5FFA03A8F728
8F1A
168394 SGN:VER:OK
received message for sensor 2, type 2, value 1
switching LED on