Hi all
I made a sensor node using STM32 and LMIC library and i’ve sucessfully send data to TTN using public gateways. Now i moved my sensor to a area covered by a Mikrotik KNOT RL8 gateway. I do not have access to the gateway management, just the gateway console on TTN. When i try to connect my sensor node i always get “EV_JOIN_TXCOMPLETE: no JoinAccept”. I already have on my code
LMIC_setClockError(MAX_CLOCK_ERROR * 3 / 100);
and tested different values (1, 2… up to 10) but no luck. If i move back my node sensor to a area covered by public gateways i can connect successfully, i just cannot connect to RL8 gateway.
At TTN console i can see the JoinRequest on the LR8 gateway, the JoinRequest on my node but it seems it fails receiving it on my sensor. I attach those requests below.
LR8 gateway is about 1000m apart from my sensor with clear view.
Can you please advise?
LR8 gateway
{
"name": "gs.up.receive",
"time": "2023-10-05T07:32:38.964284428Z",
"identifiers": [
{
"gateway_ids": {
"gateway_id": "eui-50313953300c4750",
"eui": "50313953300C4750"
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.GatewayUplinkMessage",
"message": {
"raw_payload": "AAEAAAAAAAAADw4G0H7Vs3Dy585j0Hw=",
"payload": {
"m_hdr": {},
"mic": "zmPQfA==",
"join_request_payload": {
"join_eui": "0000000000000001",
"dev_eui": "70B3D57ED0060E0F",
"dev_nonce": "E7F2"
}
},
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "868100000",
"timestamp": 3937357300,
"time": "2023-10-05T07:32:34.827212Z"
},
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "eui-50313953300c4750",
"eui": "50313953300C4750"
},
"time": "2023-10-05T07:32:34.827212Z",
"timestamp": 3937357300,
"rssi": -116,
"channel_rssi": -116,
"snr": -8.75,
"uplink_token": "CiIKIAoUZXVpLTUwMzEzOTUzMzAwYzQ3NTASCFAxOVMwDEdQEPSbvdUOGgwIls35qAYQ8b/cywMgoIKi5svCEA==",
"received_at": "2023-10-05T07:32:38.919572403Z"
}
],
"received_at": "2023-10-05T07:32:38.964108273Z",
"correlation_ids": [
"gs:uplink:01HBZC1FDMZ6224XPX9PFVQF06"
],
"crc_status": true
},
"band_id": "EU_863_870"
},
"correlation_ids": [
"gs:uplink:01HBZC1FDMZ6224XPX9PFVQF06"
],
"origin": "ip-10-100-4-199.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_GATEWAY_TRAFFIC_READ"
]
},
"unique_id": "01HBZC1FDM6B5D25PFGD1MB9A0"
}
Sensor node:
{
"name": "ns.up.join.process",
"time": "2023-10-05T07:32:39.170912396Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-70b3d57ed0060e0f",
"application_ids": {
"application_id": "basenode-0001"
},
"dev_eui": "70B3D57ED0060E0F",
"join_eui": "0000000000000001",
"dev_addr": "260B32AD"
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.UplinkMessage",
"raw_payload": "AAEAAAAAAAAADw4G0H7Vs3Dy585j0Hw=",
"payload": {
"m_hdr": {},
"mic": "zmPQfA==",
"join_request_payload": {
"join_eui": "0000000000000001",
"dev_eui": "70B3D57ED0060E0F",
"dev_nonce": "E7F2"
}
},
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "868100000",
"timestamp": 3937357300,
"time": "2023-10-05T07:32:34.827212Z"
},
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "eui-50313953300c4750",
"eui": "50313953300C4750"
},
"time": "2023-10-05T07:32:34.827212Z",
"timestamp": 3937357300,
"rssi": -116,
"channel_rssi": -116,
"snr": -8.75,
"uplink_token": "CiIKIAoUZXVpLTUwMzEzOTUzMzAwYzQ3NTASCFAxOVMwDEdQEPSbvdUOGgwIls35qAYQ8b/cywMgoIKi5svCEA==",
"received_at": "2023-10-05T07:32:38.919572403Z"
}
],
"received_at": "2023-10-05T07:32:38.964762842Z",
"correlation_ids": [
"gs:uplink:01HBZC1FDMZ6224XPX9PFVQF06"
],
"consumed_airtime": "0.061696s"
},
"correlation_ids": [
"gs:uplink:01HBZC1FDMZ6224XPX9PFVQF06"
],
"origin": "ip-10-100-6-18.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01HBZC1FM23C9F28EXX9N7TWE9"
}