"Hello,
I am a newbee !
I have the following setup:
Things Indoor Gateway
ESP32 with LMIC with library 4.11
I receive frames well on the gateway but never in the application.
I had previously started with an Arduino Nano.
At one point it worked with a message from a variable.
I then recompiled with a DHT11 sensor.
And then, I only received frames in the gateway.
I made a rollback, but without success. no more message in application
The amount of RAM of the Nano does not allow me to debug LMIC, so I went back to an ESP32.
But nothing has changed, I only see frames in the gateway.
Now i have enabled debug:
On platformio terminal i have this output:
145621728: EV_TXSTART
145621808: TXMODE, freq=868500000, len=18, SF=7, BW=125, CR=4/5, IH=0
Packet queued
145686536: setupRx1 txrxFlags 0x20 --> 01
start single rx: now-rxtime: 4
145687170: RXMODE_SINGLE, freq=868500000, SF=7, BW=125, CR=4/5, IH=0
rxtimeout: entry: 145688208 rxtime: 145687160 entry-rxtime: 1048 now-entry: 5 rxtime-txend: 62126
145748785: setupRx2 txrxFlags 0x1 --> 02
start single rx: now-rxtime: 5
145749420: RXMODE_SINGLE, freq=869525000, SF=9, BW=125, CR=4/5, IH=0
rxtimeout: entry: 145752250 rxtime: 145749410 entry-rxtime: 2840 now-entry: 5 rxtime-txend: 124376
145752280: processRx2DnData txrxFlags 0x2 --> 00
145752939: processDnData_norx txrxFlags 00 --> 20
145752953: EV_TXCOMPLETE (includes waiting for RX windows)
145752961: engineUpdate, opmode=0x900
Temperature: 10.00 *C
%RH 10.00
153252979: engineUpdate, opmode=0x908
153253003: EV_TXSTART
153253083: TXMODE, freq=868300000, len=18, SF=7, BW=125, CR=4/5, IH=0
Packet queued
On the gateway i have this frames
{
"name": "gs.up.receive",
"time": "2023-01-27T11:52:07.187169085Z",
"identifiers": [
{
"gateway_ids": {
"gateway_id": "eui-58a0cbfffe804cfd",
"eui": "58A0CBFFFE804CFD"
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.GatewayUplinkMessage",
"message": {
"raw_payload": "QPGyCyaAFAABVq5Wwrm6cazs",
"payload": {
"m_hdr": {
"m_type": "UNCONFIRMED_UP"
},
"mic": "unGs7A==",
"mac_payload": {
"f_hdr": {
"dev_addr": "260BB2F1",
"f_ctrl": {
"adr": true
},
"f_cnt": 20
},
"f_port": 1,
"frm_payload": "Vq5Wwrk="
}
},
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "868300000",
"timestamp": 2477058291,
"time": "2023-01-27T11:52:07.094743013Z"
},
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "eui-58a0cbfffe804cfd",
"eui": "58A0CBFFFE804CFD"
},
"time": "2023-01-27T11:52:07.094743013Z",
"timestamp": 2477058291,
"rssi": -53,
"channel_rssi": -53,
"snr": 9.5,
"location": {
"latitude": 43.6987212133099,
"longitude": 1.02558586746454,
"altitude": 180,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "CiIKIAoUZXVpLTU4YTBjYmZmZmU4MDRjZmQSCFigy//+gEz9EPPRk50JGgsI5/XOngYQ4KOPWSC46rfhi8IC",
"received_at": "2023-01-27T11:52:07.040387934Z"
}
],
"received_at": "2023-01-27T11:52:07.186896864Z",
"correlation_ids": [
"gs:conn:01GQS6JC2E8VPMP7F8GCBDDCWD",
"gs:uplink:01GQSH45RK1KKJVGXPKB6D648E"
]
},
"band_id": "EU_863_870"
},
"correlation_ids": [
"gs:conn:01GQS6JC2E8VPMP7F8GCBDDCWD",
"gs:uplink:01GQSH45RK1KKJVGXPKB6D648E"
],
"origin": "ip-10-100-14-194.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_GATEWAY_TRAFFIC_READ"
]
},
"unique_id": "01GQSH45RK7BZ6530Q2X0C7B4B"
}
Could someone give me a clue for investigation? It’s been 2 days that I’ve been working on it without any result.
Thank you !!!