Got a weird one. I’ve been prototyping an app using a 7200 tracker with a PiHat acting as my TTN connected gateway repeater. All worked well.
I’ve just today added a brand new 7258 to my gateways on the same account, and when my 7200 tries to OTAA join, all works well, I can see the join request go through, the accept comes back down, goes out from the 7258, but the 7200 ignores it.
Latest code on the 7258, and the 7200 is running 3.1.0.11. I made no config change on the 7200. It continues to join the PiHat gateway just fine when I power it up, but it just ignores the response from the 7258. So strange.
Here is some output for you. Redacted some stuff with x’s.
##7258 Log of Join Request
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: INFO: [filter] white list join filter is not enable
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: Uplink Frame :
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: 00 XX XX XX D0 7E D5 B3
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: 70 XX XX XX FE FF A8 C5
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: 60 23 1B B1 E1 83 DF
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: rrd_statistic_up 359 uplinkTqByAirtime : dr = 5, timeonair = 56, tm = 1587349234
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: rrd_statistic_up 361 uplinkTqByPkt : dr = 5, tm = 1587349234
Mon Apr 20 02:20:34 2020 user.debug lora_pkt_fwd[5328]: rrd_statistic_up 363 ChanBusyByAirtime chan 0, timeonair = 56, tm = 1587349234
Mon Apr 20 02:20:34 2020 user.info lora_pkt_fwd[5328]:
JSON up: {“rxpk”:[{“tmst”:1777600811,“chan”:0,“rfch”:0,“freq”:923.200000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.0,“rssi”:-18,“size”:23,“data”:“AHSQAtB+1bNwaht2/v+oxWAjG7Hhg98=”}]}
##7258 Packet for Join Request
{
“freq”: 923200000,
“chan”: 0,
“tmst”: 1777600811,
“utmms”: 1587349234645,
“rfch”: 0,
“stat”: 1,
“rssi”: -18,
“size”: 23,
“modu”: “LORA”,
“datr”: “SF7BW125”,
“codr”: “4/5”,
“lsnr”: 9,
“data”: “AHSQAtB+1bNwaht2/v+oxWAjG7Hhg98=”
}
{
"MHDR": {
"MType": "Join Request",
"RFU": 0,
"Major": 0
},
"JoinRequest": {
"AppEUI": "70 B3 D5 7E D0 XX XX XX ",
"DevEUI": "60 C5 A8 FF FE XX XX XX ",
"DevNonce": "1B23"
},
"MIC": "DF83E1B1"
}
## TTN Application Device Packet of Join Request
{
“time”: “2020-04-20T02:20:34.838617793Z”,
“frequency”: 923.2,
“modulation”: “LORA”,
“data_rate”: “SF7BW125”,
“coding_rate”: “4/5”,
“gateways”: [
{
“gtw_id”: “eui-60c5a8fffexxxxxx”,
“timestamp”: 1777600811,
“time”: “”,
“channel”: 0,
“rssi”: -18,
“snr”: 9
}
]
}
##7258 Log of Join Accept
Mon Apr 20 02:20:38 2020 user.info lora_pkt_fwd[5328]: INFO: [down] PULL_ACK received in 193 ms
Mon Apr 20 02:20:39 2020 user.info lora_pkt_fwd[5328]: INFO: [down] PULL_RESP received - token[0:17] : )
Mon Apr 20 02:20:39 2020 user.info lora_pkt_fwd[5328]:
JSON down: {“txpk”:{“imme”:false,“tmst”:1783600811,“freq”:923.3,“rfch”:0,“powe”:20,“modu”:“LORA”,“datr”:“SF12BW500”,“codr”:“4/5”,“ipol”:true,“size”:17,“ncrc”:true,“data”:“IG5XQ2oUiwcqICTSvvSTeF4=”}}
Mon Apr 20 02:20:39 2020 user.debug lora_pkt_fwd[5328]: DownLink Frame :
Mon Apr 20 02:20:39 2020 user.debug lora_pkt_fwd[5328]: 20 6E 57 43 6A 14 8B 07
Mon Apr 20 02:20:39 2020 user.debug lora_pkt_fwd[5328]: 2A 20 24 D2 BE F4 93 78
Mon Apr 20 02:20:39 2020 user.debug lora_pkt_fwd[5328]: 5E
Mon Apr 20 02:20:39 2020 user.info lora_pkt_fwd[5328]: INFO: Packet ENQUENUE SUCCESS on sx1301 0
##7258 Packet of Join Accept
{
“freq”: 923300000,
“mode”: “timerstamped”,
“tmst”: 1783600811,
“rfch”: 0,
“powe”: 20,
“prea”: 8,
“ncrc”: true,
“modu”: “LORA”,
“datr”: “SF12BW500”,
“codr”: “4/5”,
“ipol”: true,
“size”: 17,
“data”: “IG5XQ2oUiwcqICTSvvSTeF4=”
}
{
"MHDR": {
"MType": "Join Accept",
"RFU": 0,
"Major": 0
},
"JoinAccept": "6E57436A148B072A2024D2BE",
"MIC": "F493785E"
}
Yeah, so that’s really weird. Just sits there trying to join, even though I can see the accepts being sent back to it.
##7200 Serial Output
at+join
OTAA:
DevEui:60C5A8FFFEXXXXXX
AppEui:70B3D57ED0XXXXXX
AppKey:06A5F5B244F04CAD950BFB3C6BXXXXXX
OTAA Join Start…
OK
[LoRa]:Join retry Cnt:1
[LoRa]:Join retry Cnt:2
[LoRa]:Join retry Cnt:3
[LoRa]:Join retry Cnt:4
[LoRa]:Join retry Cnt:5
[LoRa]:Joined Failed!
Go to Sleep
OK
Ideas?