-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pir node not connecting to gateway node #2
Comments
the node has bsid of 0x010101 and gateway has 0x010102, rest are identical .Any ideea why the node is not regiștrii to the network? |
It's really hard to guess, did you connect it to the python gateway via serial port? it looks like you are not getting any responses from the gateway. |
Based on you`re implementation of the python gateway, i created a java gateway :)
I get this over and over again. I can share the java project if you would like |
can we have a skype call? i would like to show you something in my code. My skype name is |
Managed to fix this issue, but the node and gateway still dont connect to each other. Node serial : |
Do you have the same keys for node and gateway? |
Also there is a strange error: |
I loaded the base example but when running, it doesnt connect to the gateway from https://github.com/leodesigner/esp_mesh_gw_node
I have this output:
18:59:37.054 -> �88��������>8888�8���������8�������������>�>~8��>x����>8�������8�>�>���88�>8����888��>�>8�>88������>�>�>8��>8>8~��>�>��>8>��>�>��>�8����8�>�>����8���������8��>��>8>8�8��>�>�>�88�8~��>�>8�>�>�>>>>��>������8>����>88����8~8�88�����>���>x�8��<�<��<<�<���<<<<�<�<�<������<�����<�<��<�<<<<��<�<<<<<�<�<�<<<�<<<��<�<��<�<�<<�<����<<������� 18:59:37.118 -> 18:59:37.118 -> SDK version:2.2.2-dev(38a443e) 18:59:37.118 -> V 1.05 - pir2round - Booting... 18:59:37.118 -> Read: 18:59:37.118 -> 14 D8 98 4E 5E C7 C2 67 61 18 A4 09 BA 6B 9C C4 72 AA C2 13 1D 22 AF 55 10 E2 5D 3D EB 29 8D D3 18:59:37.118 -> 71 E6 40 C1 22 68 02 CF 7E 77 69 81 52 7A F1 99 7B A8 F0 30 71 BE F7 DE D7 98 40 5C 14 A0 3C 77 18:59:37.118 -> B7 EA 19 8E 47 12 15 1C 18:59:37.118 -> 18:59:37.118 -> CRC32 of data: 32149FFD 18:59:37.150 -> CRC32 read from RTC: 4E98D814 18:59:37.150 -> CRC32 in RTC memory doesn't match CRC32 of data. Data is probably invalid! 18:59:37.150 -> Operation mode: 0 18:59:37.150 -> Annonce + Request instant time sync from mesh. 18:59:37.150 -> Send0: 18:59:37.150 -> 01 01 01 03 00 C6 BA 07 09 01 CE 7A 27 00 00 00 ...........z'... 18:59:37.150 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun 18:59:37.150 -> Length: 29 18:59:37.150 -> Send[RAW]: 18:59:37.150 -> 01 01 01 03 00 C6 BA 0A 51 1E 27 80 BF DA B4 25 ........Q.'....% 18:59:37.150 -> ED FF 64 D8 44 00 56 A7 DF 77 58 44 FA B2 26 FB ..d.D.V..wXD..&. 18:59:37.150 -> 64 26 4D 69 E3 0C 81 d&Mi... 18:59:37.150 -> Length: 39 18:59:37.150 -> Error sending the data: -3 18:59:37.150 -> Annonce + Request instant time sync from mesh. 18:59:37.150 -> Send0: 18:59:37.150 -> 01 01 01 03 00 5E BC 07 09 02 1D 7A 27 00 00 00 .....^.....z'... 18:59:37.150 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun 18:59:37.182 -> Length: 29 18:59:37.182 -> Send[RAW]: 18:59:37.182 -> 01 01 01 03 00 5E BC 44 A5 7C 4E E1 77 AE AA 86 .....^.D.|N.w... 18:59:37.182 -> FD 83 2D D4 68 E4 2C E9 22 35 92 1C 76 64 BF 98 ..-.h.,."5..vd.. 18:59:37.182 -> 3B EB 66 03 6A FE 4B ;.f.j.K 18:59:37.182 -> Length: 39 18:59:37.182 -> Error - we did't receive sent callback!, last sent was: 22013 18:59:37.182 -> Error sending the data: -3 18:59:37.182 -> Annonce + Request instant time sync from mesh. 18:59:37.182 -> Send0: 18:59:37.182 -> 01 01 01 03 00 32 DD 07 09 03 39 7A 27 00 00 00 .....2....9z'... 18:59:37.182 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun 18:59:37.182 -> Length: 29 18:59:37.182 -> Send[RAW]: 18:59:37.182 -> 01 01 01 03 00 32 DD C2 38 2B 53 27 64 48 5A 1F .....2..8+S'dHZ. 18:59:37.182 -> D6 A9 79 3A F7 BB 2D C2 53 B7 C4 09 12 FE C6 61 ..y:..-.S......a 18:59:37.182 -> D8 7D 1E 1C 11 E7 93 .}..... 18:59:37.216 -> Length: 39 18:59:37.216 -> Error - we did't receive sent callback!, last sent was: 22040 18:59:37.216 -> Error sending the data: -3 18:59:37.216 -> Annonce + Request instant time sync from mesh. 18:59:37.216 -> Send0: 18:59:37.216 -> 01 01 01 03 00 36 16 07 09 04 13 7A 27 00 00 00 .....6.....z'... 18:59:37.216 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun 18:59:37.216 -> Length: 29 18:59:37.216 -> Send[RAW]: 18:59:37.216 -> 01 01 01 03 00 36 16 A0 DD 17 76 33 D5 1F 62 9D .....6....v3..b. 18:59:37.216 -> C3 48 87 07 2D 10 A1 47 ED EB 66 03 BA 3F EA F2 .H..-..G..f..?.. 18:59:37.216 -> 16 D9 88 60 5C 71 72 ...
\qr18:59:37.216 -> Length: 39
18:59:37.216 -> Error - we did't receive sent callback!, last sent was: 25112
18:59:37.216 -> Error sending the data: -3
18:59:37.248 -> Annonce + Request instant time sync from mesh.
18:59:37.248 -> Send0:
18:59:37.248 -> 01 01 01 03 00 1D 85 07 09 05 90 7A 27 00 00 00 ...........z'...
18:59:37.248 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.248 -> Length: 29
18:59:37.248 -> Send[RAW]:
18:59:37.248 -> 01 01 01 03 00 1D 85 8F F8 20 76 AA EC 11 20 6D ..........v....m
18:59:37.248 -> 9D 78 51 49 5B 7A ED C2 3E F7 B6 6D 5C 70 63 01 .xQI[z..>..m\pc.
18:59:37.248 -> DD 85 39 61 22 A5 70 ..9a".p
18:59:37.284 -> Length: 39
18:59:37.284 -> Error - we did't receive sent callback!, last sent was: 40646
18:59:37.284 -> Error sending the data: -3
18:59:37.284 -> Annonce + Request instant time sync from mesh.
18:59:37.318 -> Send0:
18:59:37.318 -> 01 01 01 03 00 29 2A 07 09 06 FB 7A 27 00 00 00 .....)....z'...
18:59:37.318 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.318 -> Length: 29
18:59:37.318 -> Send[RAW]:
18:59:37.318 -> 01 01 01 03 00 29 2A 92 4D 15 A3 76 DD EB CD 4F .....).M..v...O
18:59:37.318 -> 33 A3 9D 5A 09 6F 33 69 6B 3F 25 75 15 73 36 44 3..Z.o3ik?%u.s6D
18:59:37.318 -> 1B 06 2A 50 87 65 FA ..*P.e.
18:59:37.318 -> Length: 39
18:59:37.318 -> Error - we did't receive sent callback!, last sent was: 50724
18:59:37.318 -> Error sending the data: -3
18:59:37.350 -> Annonce + Request instant time sync from mesh.
18:59:37.350 -> Send0:
18:59:37.350 -> 01 01 01 03 00 82 C8 07 09 07 49 7A 27 00 00 00 ..........Iz'...
18:59:37.350 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.394 -> Length: 29
18:59:37.394 -> Send[RAW]:
18:59:37.394 -> 01 01 01 03 00 82 C8 5C 49 6C 62 04 47 AE 94 1E .......\Ilb.G...
18:59:37.394 -> 7D E6 A5 FE C4 8A 83 FD 3C 4D 2F 49 F0 2E 05 9E }.......<M/I....
18:59:37.394 -> 5B 90 00 DE B6 91 8C [......
18:59:37.394 -> Length: 39
18:59:37.394 -> Error - we did't receive sent callback!, last sent was: 60718
18:59:37.394 -> Error sending the data: -3
18:59:37.426 -> Annonce + Request instant time sync from mesh.
18:59:37.426 -> Send0:
18:59:37.426 -> 01 01 01 03 00 B0 DC 07 09 08 90 7A 27 00 00 00 ...........z'...
18:59:37.426 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.426 -> Length: 29
18:59:37.426 -> Send[RAW]:
18:59:37.426 -> 01 01 01 03 00 B0 DC 55 73 83 51 98 D1 BF EE 12 .......Us.Q.....
18:59:37.473 -> AD 69 48 D0 E8 8D 0E B4 5E AE 43 EF F0 41 55 3C .iH.....^.C..AU<
18:59:37.473 -> AD 50 34 C1 5A 69 6A .P4.Zij
18:59:37.473 -> Length: 39
18:59:37.473 -> Error - we did't receive sent callback!, last sent was: 70721
18:59:37.473 -> Error sending the data: -3
18:59:37.505 -> Annonce + Request instant time sync from mesh.
18:59:37.505 -> Send0:
18:59:37.505 -> 01 01 01 03 00 F0 7C 07 09 09 33 7A 27 00 00 00 ......|...3z'...
18:59:37.505 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.505 -> Length: 29
18:59:37.550 -> Send[RAW]:
18:59:37.550 -> 01 01 01 03 00 F0 7C F4 53 78 92 96 FD 2F 32 52 ......|.Sx.../2R
18:59:37.550 -> 9D E9 4C 43 91 BB 13 CF 41 9B AB 8F 7C 25 B9 5C ..LC....A...|%.
18:59:37.550 -> FA 13 E9 76 24 DB 2E ...v$..
18:59:37.550 -> Length: 39
18:59:37.550 -> Error - we did't receive sent callback!, last sent was: 80724
18:59:37.550 -> Error sending the data: -3
18:59:37.588 -> Annonce + Request instant time sync from mesh.
18:59:37.627 -> Send0:
18:59:37.627 -> 01 01 01 03 00 03 B3 07 09 0A AC 7A 27 00 00 00 ...........z'...
18:59:37.627 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.627 -> Length: 29
18:59:37.627 -> Send[RAW]:
18:59:37.627 -> 01 01 01 03 00 03 B3 EF 98 D3 84 E9 9D F1 72 05 ..............r.
18:59:37.627 -> DA FB B3 AE 8F 0E 33 5C EA E2 5E 97 84 E1 38 89 ......3..^...8.
18:59:37.627 -> 6A 2D 3A 8D 71 D7 FE j-:.q..
18:59:37.627 -> Length: 39
18:59:37.627 -> Error - we did't receive sent callback!, last sent was: 90720
18:59:37.627 -> Error sending the data: -3
18:59:37.707 -> Annonce + Request instant time sync from mesh.
18:59:37.707 -> Send0:
18:59:37.707 -> 01 01 01 03 00 15 04 07 09 0B 7E 7A 27 00 00 00 ...........z'...
18:59:37.707 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.707 -> Length: 29
18:59:37.707 -> Send[RAW]:
18:59:37.707 -> 01 01 01 03 00 15 04 1F 8C 43 24 2C 3F CF 71 6A .........C$,?.qj
18:59:37.707 -> 10 BA A7 16 58 06 62 E3 D1 2F 9A C3 C2 2B B9 D4 ....X.b../...+..
18:59:37.707 -> D7 7F 12 C1 38 BC 49 ....8.I
18:59:37.707 -> Length: 39
18:59:37.707 -> Error - we did't receive sent callback!, last sent was: 100729
18:59:37.753 -> Error sending the data: -3
18:59:37.847 -> Annonce + Request instant time sync from mesh.
18:59:37.847 -> Send0:
18:59:37.847 -> 01 01 01 03 00 D6 4C 07 09 0C C2 7A 27 00 00 00 ......L....z'...
18:59:37.847 -> 00 00 00 00 00 70 69 72 32 72 6F 75 6E .....pir2roun
18:59:37.847 -> Length: 29
18:59:37.847 -> Send[RAW]:
18:59:37.847 -> 01 01 01 03 00 D6 4C 56 D0 48 3F F7 A2 FE 62 57 ......LV.H?...bW
18:59:37.847 -> 75 0D AE A8 7C 2B 4D AD 90 98 EA 0D C3 47 12 16 u...|+M......G..
18:59:37.847 -> 9D A7 1A BD A0 46 88 .....F.
18:59:37.847 -> Length: 39
18:59:37.847 -> Error - we did't receive sent callback!, last sent was: 110662
18:59:37.847 -> Error sending the data: -3
18:59:37.939 -> No connection to mesh, Sending again.
`
The text was updated successfully, but these errors were encountered: