Closed cburza closed 6 months ago
Overall this is deeply unlikely to be an actual RadioLib issue, partly because this Heltec model is part of the test suite for LW and partly because the join request is being transmitted. And your keys must be OK as the LNS is issuing a join accept.
Can you confirm which version of LW you registered the device on TTN with.
Do you have a gateway? If so, where is it in relation to the device? What is the RSSI & SNR of join request?
@HeadBoffin Here is the version as configured in TTN.
I unfortunately do no own a gateway, but there is a gateway fairly close up my street. Here is the RX metadata of the join.
{
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "lattech-systems",
"eui": "3436323825004D00"
},
"time": "2024-03-06T17:11:34.529055Z",
"timestamp": 1076214545,
"rssi": -116,
"channel_rssi": -116,
"snr": -13,
"location": {
"latitude": -33.85896682739258,
"longitude": 18.644634246826172,
"altitude": 184,
"source": "SOURCE_REGISTRY"
},
"channel_index": 2,
"received_at": "2024-03-06T17:11:37.380981842Z"
}
]
}
@HeadBoffin It must have been a signal issue. I change my location and the join was received successfully.
You are just on the edge of LoRa's abilities so you'll find your data rate is quite slow which will restrict airtime.
I have a Heltec Wireless Stick Lite V3 board flashed with the example code. The board uses a ESP32-S3 and a SX1262 module.
The node is set up with TTN which receives the join request and also responds with the join accept message. I have tested the board with Heltecs modified ESP32 platform code and their Lorawan library which joins the network without an issue.
I cannot get the board to read the response from the gateway and I cannot get past the -6 error code.
Here is a screenshot of the example code connecting to TTN.
Sketch that is causing the module fail
I am using platformio.
The main.ccp
Hardware setup Here is the schematic for the board.
Debug mode output