matthijskooijman / arduino-lmic

:warning: This library is deprecated, see the README for alternatives.
704 stars 651 forks source link

Can't get OTAA to work TTGO ESP32 OLED V1 (TTN 868MHz) #290

Closed jdeus closed 3 years ago

jdeus commented 3 years ago

Hello,

I own a MikroTik LoRa gateway and I'm trying to make TTN work with OTAA using a TTGO v1 (OLED, ufl on the front, 3D antenna on the back)

Has anyone been able to get OTAA working with this library ?

Here's my config :

const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, .rst = 14, .dio = {26, 33, 32}, };

// project-specific definitions

define CFG_eu868 1

define CFG_sx1276_radio 1

define LMIC_DEBUG_LEVEL 2

Log :

Starting RXMODE_RSSI 4756: engineUpdate, opmode=0x8 Packet queued 4779: EV_JOINING 4783: engineUpdate, opmode=0xc 141152: engineUpdate, opmode=0xc 141169: EV_TXSTART 141238: TXMODE, freq=868500000, len=23, SF=7, BW=125, CR=4/5, IH=0 455603: setupRx1 txrxFlags 00 --> 01 start single rx: now-rxtime: 4 456235: RXMODE_SINGLE, freq=868500000, SF=7, BW=125, CR=4/5, IH=0 rxtimeout: entry: 459259 rxtime: 456228 entry-rxtime: 3031 now-entry: 5 rxtime-txend: 311126 517853: setupRx2 txrxFlags 0x1 --> 02 start single rx: now-rxtime: 4 518485: RXMODE_SINGLE, freq=869525000, SF=12, BW=125, CR=4/5, IH=0 rxtimeout: entry: 534885 rxtime: 518478 entry-rxtime: 16407 now-entry: 4 rxtime-txend: 373376 534902: processRx2Jacc txrxFlags 0x2 --> 00 535642: EV_JOIN_TXCOMPLETE: no JoinAccept 538442: engineUpdate, opmode=0xc

TTN Device log:

image

TTN Gateway log:

image

Lora gateway:

(Taken a while later)

image

jdeus commented 3 years ago

Closed due to non interest. Considering this library as not maintained.