Skip to content
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

nice code...not working though #4

Open
9H1LO opened this issue Dec 8, 2019 · 2 comments
Open

nice code...not working though #4

9H1LO opened this issue Dec 8, 2019 · 2 comments

Comments

@9H1LO
Copy link

9H1LO commented Dec 8, 2019

compiles fine, sends join request to TTN, see it in console but doesn't join

using MCCI_LoRaWAN_LMIC_library

:17:45.956 ->
19:17:46.894 -> LAT=00.825230 LON=00.469322 CHARS=482 SENTENCES=2 CSUM ERR=0
19:17:46.929 -> No saved data, using OTAA
19:17:46.963 -> Reset MAC
19:17:46.998 -> Start joining
19:17:46.998 -> Initfunc finished
19:17:47.033 ->
19:17:47.033 -> 691637: EV_JOINING
19:17:50.434 -> os_getArtEui called, returned 0x70 0xB3 0xD5 0x7E 0xD0 0x01 0x39 0x00
19:17:50.502 -> os_getDevEui called, returned 0x00 0xFB 0x36 0x55 0x84 0xB9 0xAE 0x00
19:17:50.571 -> os_getDevKey called, returned 0x00 0xAF 0xC3 0x04 0x63 0x43 0x34 0xC5 0x4D
19:17:50.674 ->
19:17:50.674 -> 919134: Unknown event

@Edzelf
Copy link
Owner

Edzelf commented Dec 8, 2019

The unknown event is not an error. It is new in the mcci version. It means that a join is not yet establlished. I will update the code tomorrow.

@Edzelf
Copy link
Owner

Edzelf commented Dec 9, 2019

ESP_lora_tracker updatet.

15:28:12.345 -> Starting
15:28:13.363 -> LAT=51.655849 LON=5.037645 CHARS=454 SENTENCES=2 CSUM ERR=0
15:28:13.396 -> No saved data, using OTAA
15:28:13.430 -> Reset MAC
15:28:13.463 -> Start joining
15:28:13.463 -> Initfunc finished
15:28:13.463 -> 
15:28:13.463 -> 67876: EV_JOINING
15:28:15.605 -> os_getArtEui called, returned 0x89 0xED 0x00 0xD0 0x7E 0xD5 0xB3 0x70 
15:28:15.673 -> os_getDevEui called, returned 0x2B 0x8C 0xB8 0x03 0x32 0x18 0x7F 0x00 
15:28:15.740 -> os_getDevKey called, returned 0x07 0xCD 0x3E 0x37 0xA1 0x0D 0x9B 0xC7 0x44 0x54 0x53 0xCB 0x9D 0x41 0x9C 0x53 
15:28:15.840 -> 
15:28:15.840 -> 215129: EV_TXSTART
15:28:20.888 -> os_getDevKey called, returned 0x07 0xCD 0x3E 0x37 0xA1 0x0D 0x9B 0xC7 0x44 0x54 0x53 0xCB 0x9D 0x41 0x9C 0x53 
15:28:20.989 -> os_getDevKey called, returned 0x07 0xCD 0x3E 0x37 0xA1 0x0D 0x9B 0xC7 0x44 0x54 0x53 0xCB 0x9D 0x41 0x9C 0x53 
15:28:21.089 -> os_getDevKey called, returned 0x07 0xCD 0x3E 0x37 0xA1 0x0D 0x9B 0xC7 0x44 0x54 0x53 0xCB 0x9D 0x41 0x9C 0x53 
15:28:21.222 -> os_getDevKey called, returned 0x07 0xCD 0x3E 0x37 0xA1 0x0D 0x9B 0xC7 0x44 0x54 0x53 0xCB 0x9D 0x41 0x9C 0x53 
15:28:21.323 -> 
15:28:21.323 -> 558173: EV_JOINED
15:28:23.255 -> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants