OTAA failed / Debugging device activation OTAA issues


#43

I have same issue BUT:
setting SF10 results in 100% joinAccept reception by end node
setting SF11 results in 50% joinAccept reception
setting SF12 results in 0% joinAccept reception and failure to join.

Tried using ABP with confirmed messages. Node sends packages with confirmation request. Again
SF10 - 100% confirmed
SF11 - 50% confirmed
SF12 - none is confirmed

Raising SF causes end node to fail receiving downlink packages. My end node is class A.

I suppose SF12 should be more stable…
What might be the reason?


#44

Most likely SF12 is being rejected as the packets would be too illicitly long in time.

SF11 may be failing because they are so long in time that statistically some interference or time collisions may be happening before they are done.

Or there may be implementation bugs in your node that get triggered at higher spreading factors, for example wrong calculation of the transmit time leading to receiving at the wrong point in time.


#45

Dear friends, I have a LoraWAN device. It’s a water-meter. It works on frequency 485.7MHz to 487.1MHz. When using OTAA, JoinAccept will use 506.1MHz or 506.5MHz. How can I change the frequency to 485.7Mhz - 487.1Mhz?


#46

Hello everyone,
How do I change the LoRaWAN mac versions? I cannot seem to find the device- profile. Where do I start looking?


#47

In the device-profile :wink:

image


#48

Hello,

Sorry to revive this thread but after extensive reading I still cannot find a solution to the JoinRequest/JoinAccept loop.

I am currently testing on my local network the entire loraserver suite, with a few stumbles I managed to actually make the join request in a correct way for it to accept it, but now I am stuck on this loop.

I am currently using an Elsys ERSCO2 sensor, which is correctly configured so I’m positive my error was inside the loraserver configuration but I cannot pinpoint where.

I don’t think my sensor supports 1.1.x Lora MAC so I’ve tried all 1.0.x versions, although I read that it doesn’t matter much unless I swap to 1.1.x versions.

Can anyone help me regarding this matter, so far all things I’ve found in this thread have no helped, so i’m at a loss.

What should I do?

I should mention I don’t run the gateway bridge on my kerlink ifemtocell gateway, but on the same machine I run the server and app server on.

Thank you


#49

I want to say that the same happens with two BOSCH parking sensors that only support OTAA, the TPS110EU

I can’t seem to figure out why and where it fails. I am SURE that it’s MSB and the keys are correct. I don’t know where to bang my head at this point!


#51

This is the log from my gateway, I can’t seem to figure out what’s wrong.

This is the Join Request / Join Accept event on my parking sensor:

May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> FIFO content: 1 8b 2 5 17
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> [6 17]
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> LoRa packet
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.send:  0a 60 08 80 c9 80 96 01 12 27 0a 17 00 fc d6 bd 00 00 19 00 00 2b 2d 19 00 00 bd d6 fc cf 1f a4  |.`.......'...........+-.........|
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.send:  a1 f8 bd 10 e0 e9 84 9e 03 18 00 20 00 28 03 30 00 1a 2f 08 86 02 12 2a 08 fc cd 88 b2 04 12 0c  |........... .(.0../....*........|
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.send:  08 00 10 d0 85 ba e7 05 18 88 9e 14 1d 00 00 40 c2 22 0f 0d 00 00 44 41 15 00 00 6c 41 1d 00 00  |...............@."....DA...lA...|
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.send:  18 41                                                                                            |.A|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.recv:  0A 60 08 80 C9 80 96 01 12 27 0A 17 00 FC D6 BD 00 00 19 00 00 2B 2D 19 00 00 BD D6 FC CF 1F A4  |.`.......'...........+-.........|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.recv:  A1 F8 BD 10 E0 E9 84 9E 03 18 00 20 00 28 03 30 00 1A 2F 08 86 02 12 2A 08 FC CD 88 B2 04 12 0C  |........... .(.0../....*........|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.recv:  08 00 10 D0 85 BA E7 05 18 88 9E 14 1D 00 00 40 C2 22 0F 0D 00 00 44 41 15 00 00 6C 41 1D 00 00  |...............@."....DA...lA...|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.recv:  18 41                                                                                            |.A|
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> Received uplink message: 
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> | lora uplink (12C02480), payload 23 B, channel 868.3 MHz, crc ok, bw 125 kHz, sf 10, cr 4/5
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> | Join Request, JoinEUI 0000190000BDD6FC, DevEUI FCD6BD0000192D2B, DevNonce 8143
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> |  - radio (00000106)
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> |   - demodulator counter 1178740476, UTC time 2019-05-29T13:02:08.331528Z, rssi -48 dB, snr 9.5< 12.25 <14.75 dB
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  02 39 D5 00 72 76 FF 00 39 03 09 69 7B 22 72 78 70 6B 22 3A 5B 7B 22 61 65 73 6B 22 3A 30 2C 22  |.9..rv..9..i{"rxpk":[{"aesk":0,"|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  62 72 64 22 3A 32 36 32 2C 22 63 6F 64 72 22 3A 22 34 2F 35 22 2C 22 64 61 74 61 22 3A 22 41 50  |brd":262,"codr":"4/5","data":"AP|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  7A 57 76 51 41 41 47 51 41 41 4B 79 30 5A 41 41 43 39 31 76 7A 50 48 36 53 68 2B 4C 30 3D 22 2C  |zWvQAAGQAAKy0ZAAC91vzPH6Sh+L0=",|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  22 64 61 74 72 22 3A 22 53 46 31 30 42 57 31 32 35 22 2C 22 66 72 65 71 22 3A 38 36 38 2E 33 2C  |"datr":"SF10BW125","freq":868.3,|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  22 6A 76 65 72 22 3A 32 2C 22 6D 6F 64 75 22 3A 22 4C 4F 52 41 22 2C 22 72 73 69 67 22 3A 5B 7B  |"jver":2,"modu":"LORA","rsig":[{|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  22 61 6E 74 22 3A 30 2C 22 63 68 61 6E 22 3A 36 2C 22 6C 73 6E 72 22 3A 31 32 2E 32 2C 22 72 73  |"ant":0,"chan":6,"lsnr":12.2,"rs|
May 29 15:02:08 klk-wifc-030969 local1.info lorad[934]: <6> Sent 1 uplink message
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  73 69 63 22 3A 2D 34 38 7D 5D 2C 22 73 69 7A 65 22 3A 32 33 2C 22 73 74 61 74 22 3A 31 2C 22 74  |sic":-48}],"size":23,"stat":1,"t|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  69 6D 65 22 3A 22 32 30 31 39 2D 30 35 2D 32 39 54 31 33 3A 30 32 3A 30 38 2E 33 33 31 35 32 38  |ime":"2019-05-29T13:02:08.331528|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  5A 22 2C 22 74 6D 73 74 22 3A 31 31 37 38 37 34 30 34 37 36 7D 5D 7D                             |Z","tmst":1178740476}]}|
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> Uplink message (39D5) sent
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  02 39 D5 01                                                                                      |.9..|
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> Uplink message (39D5) acknowledged in 1.92948 ms
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  02 B3 18 03 7B 22 74 78 70 6B 22 3A 7B 22 69 6D 6D 65 22 3A 66 61 6C 73 65 2C 22 72 66 63 68 22  |....{"txpk":{"imme":false,"rfch"|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  3A 30 2C 22 70 6F 77 65 22 3A 31 34 2C 22 61 6E 74 22 3A 30 2C 22 62 72 64 22 3A 32 36 32 2C 22  |:0,"powe":14,"ant":0,"brd":262,"|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  74 6D 73 74 22 3A 31 31 38 33 37 34 30 34 37 36 2C 22 66 72 65 71 22 3A 38 36 38 2E 33 2C 22 6D  |tmst":1183740476,"freq":868.3,"m|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  6F 64 75 22 3A 22 4C 4F 52 41 22 2C 22 64 61 74 72 22 3A 22 53 46 31 30 42 57 31 32 35 22 2C 22  |odu":"LORA","datr":"SF10BW125","|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  63 6F 64 72 22 3A 22 34 2F 35 22 2C 22 69 70 6F 6C 22 3A 74 72 75 65 2C 22 73 69 7A 65 22 3A 31  |codr":"4/5","ipol":true,"size":1|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  37 2C 22 64 61 74 61 22 3A 22 49 45 37 61 2B 6B 6A 71 38 54 65 64 31 36 69 77 59 49 54 68 49 34  |7,"data":"IE7a+kjq8Ted16iwYIThI4|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  59 3D 22 7D 7D                                                                                   |Y="}}|
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> Downlink message (B318) received
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> Received downlink message: 
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> | lora downlink (0000B318), payload 17 B, required 1, preamble 8 B, header enabled, crc enabled, polarity inverted
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> | Join Accept
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> |  - radio (00000106), channel 868.3 MHz, bw 125 kHz, sf 10, cr 4/5, power 14 dB
May 29 15:02:08 klk-wifc-030969 local1.info lorafwd[960]: <6> |   - transmission (00000000), priority 1, on counter 1183740476
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.send:  0A 47 08 98 E6 02 12 11 20 4E DA FA 48 EA F1 37 9D D7 A8 B0 60 84 E1 23 86 18 01 20 08 28 01 30  |.G...... N..H..7....`..#... .(.0|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.send:  00 38 01 42 24 08 86 02 10 E0 E9 84 9E 03 18 00 20 03 2D 00 00 60 41 30 00 3A 0E 08 00 10 01 18  |.8.B$........... .-..`A0.:......|
May 29 15:02:08 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.send:  BC E4 B9 B4 04 30 00 38 00                                                                       |.....0.8.|
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.recv:  0a 47 08 98 e6 02 12 11 20 4e da fa 48 ea f1 37 9d d7 a8 b0 60 84 e1 23 86 18 01 20 08 28 01 30  |.G...... N..H..7....`..#... .(.0|
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.recv:  00 38 01 42 24 08 86 02 10 e0 e9 84 9e 03 18 00 20 03 2d 00 00 60 41 30 00 3a 0e 08 00 10 01 18  |.8.B$........... .-..`A0.:......|
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>   api.recv:  bc e4 b9 b4 04 30 00 38 00                                                                       |.....0.8.|
May 29 15:02:08 klk-wifc-030969 local1.info lorad[934]: <6> Received downlink message
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> Requested power: 14 dB
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> Selected power: 11 dB
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> Current concentrator time is 1179026890, pkt_type=0
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> sorting queue in ascending order packet timestamp - queue size:1
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> sorting queue done - swapped:0
May 29 15:02:08 klk-wifc-030969 local1.info lorad[934]: <6> [jit] queue contains 1 packets:
May 29 15:02:08 klk-wifc-030969 local1.info lorad[934]: <6> [jit] queue contains 0 beacons:
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7>  - node[0]: count_us=1183740476 - type=0
May 29 15:02:08 klk-wifc-030969 local1.debug lorad[934]: <7> enqueued packet with count_us=1183740476 (size=17 bytes, toa=329000 us, type=0)
May 29 15:02:10 klk-wifc-030969 local1.debug lorad[934]: <7> Demodulator synchronized with MONOTONIC: drift=-3us
May 29 15:02:10 klk-wifc-030969 local1.debug lorad[934]: <7> Demodulator synchronized with UTC: drift=10us
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> peek packet with count_us=1183740476 at index 0
May 29 15:02:13 klk-wifc-030969 local1.info lorad[934]: <6> [jit] queue is empty
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> dequeued packet with count_us=1183740476 from index 0
May 29 15:02:13 klk-wifc-030969 local1.err lorad[934]: <3> SELECTED RF_CHAIN IS DISABLED FOR TX ON SELECTED BOARD
May 29 15:02:13 klk-wifc-030969 local1.err lorad[934]: <3> Failed to send message
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7>   api.send:  1a 0a 12 08 08 98 e6 02 10 00 18 01                                                              |............|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.recv:  1A 0A 12 08 08 98 E6 02 10 00 18 01                                                              |............|
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> Received uplink message: transmission event (0000B318 / 00000000), status "Transmission failed"
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  02 B3 18 05 72 76 FF 00 39 03 09 69 7B 22 74 78 70 6B 5F 61 63 6B 22 3A 7B 22 65 72 72 6F 72 22  |....rv..9..i{"txpk_ack":{"error"|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.send:  3A 22 55 4E 4B 4E 4F 57 4E 22 7D 7D                                                              |:"UNKNOWN"}}|
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> Downlink message (B318) acknowledged
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  02 B3 18 03 7B 22 74 78 70 6B 22 3A 7B 22 69 6D 6D 65 22 3A 66 61 6C 73 65 2C 22 72 66 63 68 22  |....{"txpk":{"imme":false,"rfch"|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  3A 30 2C 22 70 6F 77 65 22 3A 31 34 2C 22 61 6E 74 22 3A 30 2C 22 62 72 64 22 3A 32 36 32 2C 22  |:0,"powe":14,"ant":0,"brd":262,"|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  74 6D 73 74 22 3A 31 31 38 34 37 34 30 34 37 36 2C 22 66 72 65 71 22 3A 38 36 39 2E 35 32 35 2C  |tmst":1184740476,"freq":869.525,|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  22 6D 6F 64 75 22 3A 22 4C 4F 52 41 22 2C 22 64 61 74 72 22 3A 22 53 46 31 32 42 57 31 32 35 22  |"modu":"LORA","datr":"SF12BW125"|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  2C 22 63 6F 64 72 22 3A 22 34 2F 35 22 2C 22 69 70 6F 6C 22 3A 74 72 75 65 2C 22 73 69 7A 65 22  |,"codr":"4/5","ipol":true,"size"|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  3A 31 37 2C 22 64 61 74 61 22 3A 22 49 45 37 61 2B 6B 6A 71 38 54 65 64 31 36 69 77 59 49 54 68  |:17,"data":"IE7a+kjq8Ted16iwYITh|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>  gwmp.recv:  49 34 59 3D 22 7D 7D                                                                             |I4Y="}}|
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> Downlink message (B318) received
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> Received downlink message: 
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> | lora downlink (0000B318), payload 17 B, required 1, preamble 8 B, header enabled, crc enabled, polarity inverted
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> | Join Accept
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> |  - radio (00000106), channel 869.525 MHz, bw 125 kHz, sf 12, cr 4/5, power 14 dB
May 29 15:02:13 klk-wifc-030969 local1.info lorafwd[960]: <6> |   - transmission (00000000), priority 1, on counter 1184740476
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.send:  0A 47 08 98 E6 02 12 11 20 4E DA FA 48 EA F1 37 9D D7 A8 B0 60 84 E1 23 86 18 01 20 08 28 01 30  |.G...... N..H..7....`..#... .(.0|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.send:  00 38 01 42 24 08 86 02 10 88 CC CF 9E 03 18 00 20 05 2D 00 00 60 41 30 00 3A 0E 08 00 10 01 18  |.8.B$........... .-..`A0.:......|
May 29 15:02:13 klk-wifc-030969 local1.debug lorafwd[960]: <7>   api.send:  FC E8 F6 B4 04 30 00 38 00                                                                       |.....0.8.|
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7>   api.recv:  0a 47 08 98 e6 02 12 11 20 4e da fa 48 ea f1 37 9d d7 a8 b0 60 84 e1 23 86 18 01 20 08 28 01 30  |.G...... N..H..7....`..#... .(.0|
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7>   api.recv:  00 38 01 42 24 08 86 02 10 88 cc cf 9e 03 18 00 20 05 2d 00 00 60 41 30 00 3a 0e 08 00 10 01 18  |.8.B$........... .-..`A0.:......|
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7>   api.recv:  fc e8 f6 b4 04 30 00 38 00                                                                       |.....0.8.|
May 29 15:02:13 klk-wifc-030969 local1.info lorad[934]: <6> Received downlink message
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> Requested power: 14 dB
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> Selected power: 11 dB
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> Current concentrator time is 1183729971, pkt_type=0
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> sorting queue in ascending order packet timestamp - queue size:1
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> sorting queue done - swapped:0
May 29 15:02:13 klk-wifc-030969 local1.info lorad[934]: <6> [jit] queue contains 1 packets:
May 29 15:02:13 klk-wifc-030969 local1.info lorad[934]: <6> [jit] queue contains 0 beacons:
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7>  - node[0]: count_us=1184740476 - type=0
May 29 15:02:13 klk-wifc-030969 local1.debug lorad[934]: <7> enqueued packet with count_us=1184740476 (size=17 bytes, toa=1318000 us, type=0)

#52

Hello!

Have anyone eventually solved this?
I somehow have a weird situation, my node gets activated normally until the machine that runs loraserver is rebooted. After that I am not able anymore to activate the end node, and on the server I can see join request and join accept. Any sugestions what can I do?

Thanks in advance!


#53

Nobody is replying here sadly, all new threads about this get redirected here but it just dies


#57

I deleted all my previous entries, (three).
Thinking that I may have had out of sync versions of the LoRa Server components during my install, this may have been the source of my problem. Unfortunately, Linux is not Windows and I made a mess of Linux with APT.
I partitioned my disk, installed a fresh Ubuntu, 18.0.4.2 LTS.
I then installed LoRa Server and the requisite components.

  • I found that protobuf as set in lora-gateway-bridge.toml causes garbage output at this troubleshooting step, " LoRa Gateway Bridge publishes data?"

  • At this troubleshooting step, “LoRa Server receives data?”, I got an error in the output from, " journalctl -f -n 100 -u loraserver", NO SUCH OBJECT, as I had not yet created a Gateway using the UI. I used the LoRa Server UI and added a Gateway, this error is gone.

  • So far, My Gateway reports in and the lat long and elevation are correct.

  • Now I’m totally stuck as a result of this " 3.0.1 forces entry of device Gen Application Key?"
    This turned out to not be what I thought it was. It is a non-issue.

SO, UP UNTIL THIS MAJOR REDO, I KNOW MY END NODES WERE JOINING THE LoRaWAN, CAUSE THEY TOLD ME SO.

2019-06-20T04:00:00Z
I fixed my finger trouble (bad typing, I had repeatedly type in the same incorrect DevEUI.

2019-06-20T04:00:00Z
The current status is as follows,

  1. My End Node has issued a Join Request and it was accepted, the output that follows is from a terminal connected to My End Node, and after that is the JSON from the LoRa Server, and you can see that a Join Request is issued and a Join Accept is sent.
  2. Interestingly, the End Node is stuck in a never ending Join Request, Join Accept Loop and of course, we have a problem with Activation

So, at this point in time, what is suggested for trying to figure out how to solve this problem?

:running_man: My Terminal Output
Attempting to read extra analog inputs.
ADC Channel 0 = 2033
ADC Channel 4 = 242
DEBUG: L072 temp = 6193
OTAA 13-Apr-2018
DevEui= 00-FA-CE-01-73-80-02-37
AppEui= 01-01-01-01-01-01-01-01
AppKey= 2B-7E-15-16-28-AE-D2-A6-AB-F7-15-88-09-CF-4F-3C

In LoRaMacInitialization …
calling RegionInitDefaults
PiXCL: calling RegionUS915HybridInitDefaults()
with INIT_TYPE_INIT
Preparing the RadioEvents array…
Initializing the Radio driver…
Returning LORAMAC_STATUS_OK.
VERSION: 44041140
Attempting to join LORA…

Trying Send(…) with MLME_JOIN

LORAMAC Status = 0
Finally … OTAA calling LoraStartTx
LoraStartTx event #1

    Could not join LoRa .. try again later.

txDone
rxDone
JOINED using OTAA…
using LORAWAN_DEFAULT_CLASS…

Reading extra analog inputs.
ADC Channel 0 = 2042
ADC Channel 1 = 277

    End-node successfully joined LoRa.

Sending AppData.Buff : 37 bytes.

Joined…#2 Rx1D = 987l Rx2D = 1998
txDone
rxDone

    End-node successfully joined LoRa.

Sending AppData.Buff : 37 bytes.

Joined…#2 Rx1D = 987l Rx2D = 1998

Reading extra analog inputs.
ADC Channel 0 = 2029
ADC Channel 1 = 272
txDone
rxDone

    End-node successfully joined LoRa.

Sending AppData.Buff : 37 bytes.

Joined…#2 Rx1D = 987l Rx2D = 1998

Reading extra analog inputs.
ADC Channel 0 = 2031
ADC Channel 1 = 275
txDone
rxDone

    End-node successfully joined LoRa.

Sending AppData.Buff : 37 bytes.

Joined…#2 Rx1D = 987l Rx2D = 1998
txDone

Reading extra analog inputs.
ADC Channel 0 = 2032
ADC Channel 1 = 252
rxTimeOut
rxTimeOut

    End-node successfully joined LoRa.

Sending AppData.Buff : 37 bytes.

Joined…#2 Rx1D = 987l Rx2D = 1998

Reading extra analog inputs.
ADC Channel 0 = 2027
ADC Channel 1 = 251
txDone
rxTimeOut
rxTimeOut

Reading extra analog inputs.
ADC Channel 0 = 2033
ADC Channel 1 = 275
:running_man:

:running_man: My JSON Output
[
{
“downlinkMetaData”: {
“txInfo”: {
“gatewayId”: “0004a30b0022813c”,
“frequency”: 923300000,
“power”: 20,
“modulation”: “LORA”,
“loraModulationInfo”: {
“bandwidth”: 500,
“spreadingFactor”: 7,
“codeRate”: “4/5”,
“polarizationInversion”: true
},
“board”: 0,
“antenna”: 0,
“timing”: “DELAY”,
“delayTimingInfo”: {
“delay”: “5s”
},
“context”: “wUr24w==”
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “JoinAccept”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“bytes”: “uF520L0Gk5Gi9VXrfuw1CJARQHYYc1ioPmEGfg==”
},
“mic”: “e2c69f60”
}
},
{
“uplinkMetaData”: {
“rxInfo”: [
{
“gatewayId”: “0004a30b0022813c”,
“time”: null,
“timeSinceGpsEpoch”: null,
“rssi”: -47,
“loraSnr”: 10,
“channel”: 8,
“rfChain”: 0,
“board”: 0,
“antenna”: 0,
“location”: {
“latitude”: 45.37207,
“longitude”: -75.6226,
“altitude”: 59,
“source”: “UNKNOWN”,
“accuracy”: 0
},
“fineTimestampType”: “NONE”,
“context”: “wUr24w==”
}
],
“txInfo”: {
“frequency”: 903000000,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 500,
“spreadingFactor”: 8,
“codeRate”: “4/5”,
“polarizationInversion”: false
}
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “JoinRequest”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“joinEUI”: “0101010101010101”,
“devEUI”: “00face0173800237”,
“devNonce”: 29413
},
“mic”: “6641a191”
}
},
{
“downlinkMetaData”: {
“txInfo”: {
“gatewayId”: “0004a30b0022813c”,
“frequency”: 923300000,
“power”: 20,
“modulation”: “LORA”,
“loraModulationInfo”: {
“bandwidth”: 500,
“spreadingFactor”: 7,
“codeRate”: “4/5”,
“polarizationInversion”: true
},
“board”: 0,
“antenna”: 0,
“timing”: “DELAY”,
“delayTimingInfo”: {
“delay”: “5s”
},
“context”: “wSBllQ==”
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “JoinAccept”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“bytes”: “NI17zaQPqPuUX6TAgE53KJwWSLz8UMLVtcOljg==”
},
“mic”: “eecbb77d”
}
},
{
“uplinkMetaData”: {
“rxInfo”: [
{
“gatewayId”: “0004a30b0022813c”,
“time”: null,
“timeSinceGpsEpoch”: null,
“rssi”: -47,
“loraSnr”: 10.5,
“channel”: 8,
“rfChain”: 0,
“board”: 0,
“antenna”: 0,
“location”: {
“latitude”: 45.37207,
“longitude”: -75.6226,
“altitude”: 59,
“source”: “UNKNOWN”,
“accuracy”: 0
},
“fineTimestampType”: “NONE”,
“context”: “wSBllQ==”
}
],
“txInfo”: {
“frequency”: 903000000,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 500,
“spreadingFactor”: 8,
“codeRate”: “4/5”,
“polarizationInversion”: false
}
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “JoinRequest”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“joinEUI”: “0101010101010101”,
“devEUI”: “00face0173800237”,
“devNonce”: 53779
},
“mic”: “c8b428c4”
}
},
{
“uplinkMetaData”: {
“rxInfo”: [
{
“gatewayId”: “0004a30b0022813c”,
“time”: null,
“timeSinceGpsEpoch”: null,
“rssi”: -45,
“loraSnr”: 8.8,
“channel”: 1,
“rfChain”: 0,
“board”: 0,
“antenna”: 0,
“location”: {
“latitude”: 45.37207,
“longitude”: -75.6226,
“altitude”: 59,
“source”: “UNKNOWN”,
“accuracy”: 0
},
“fineTimestampType”: “NONE”,
“context”: “wOGO/A==”
}
],
“txInfo”: {
“frequency”: 902500000,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 125,
“spreadingFactor”: 10,
“codeRate”: “4/5”,
“polarizationInversion”: false
}
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “UnconfirmedDataUp”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“fhdr”: {
“devAddr”: “02abb26b”,
“fCtrl”: {
“adr”: true,
“adrAckReq”: false,
“ack”: false,
“fPending”: false,
“classB”: false
},
“fCnt”: 91,
“fOpts”: null
},
“fPort”: null,
“frmPayload”: null
},
“mic”: “cb479a7b”
}
},
{
“uplinkMetaData”: {
“rxInfo”: [
{
“gatewayId”: “0004a30b0022813c”,
“time”: null,
“timeSinceGpsEpoch”: null,
“rssi”: -51,
“loraSnr”: 7,
“channel”: 2,
“rfChain”: 0,
“board”: 0,
“antenna”: 0,
“location”: {
“latitude”: 45.37207,
“longitude”: -75.6226,
“altitude”: 59,
“source”: “UNKNOWN”,
“accuracy”: 0
},
“fineTimestampType”: “NONE”,
“context”: “wEi9FA==”
}
],
“txInfo”: {
“frequency”: 902700000,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 125,
“spreadingFactor”: 10,
“codeRate”: “4/5”,
“polarizationInversion”: false
}
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “UnconfirmedDataUp”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“fhdr”: {
“devAddr”: “02abb26b”,
“fCtrl”: {
“adr”: true,
“adrAckReq”: false,
“ack”: false,
“fPending”: false,
“classB”: false
},
“fCnt”: 90,
“fOpts”: null
},
“fPort”: null,
“frmPayload”: null
},
“mic”: “93275c1c”
}
}
]
:running_man: