lnlp / LMIC-node

LMIC-node | One example to rule them all. LMIC-node is an example LoRaWAN application for a node that can be used with The Things Network. It demonstrates how to send uplink messages, how to receive downlink messages, how to implement a downlink command and it provides useful status information. With LMIC-node it is easy to get a working node quickly up and running. LMIC-node supports many popular (LoRa) development boards out of the box. It uses the Arduino framework, the LMIC LoRaWAN library and PlatformIO.
MIT License
211 stars 104 forks source link

Error ESP32s + Lilygo T-Highrow lora shield 20191223 #53

Open 0d3ng opened 1 year ago

0d3ng commented 1 year ago

Hello everyone, Anyone have an error like the one below `LMIC-node

Device-id: nodemcu-32s LMIC library: MCCI Activation: OTAA Interval: 60 seconds

FAILURE .pio/libdeps/nodemcu_32s/MCCI LoRaWAN LMIC library/src/lmic/oslmic.c:53`

i used wiring like below SPI/LoRa module GPIO MOSI <――――――――――> 23 (MOSI) MISO <――――――――――> 19 (MISO) SCK <――――――――――> 18 (SCK) NSS <――――――――――> 5 (SS) RST <――――――――――> 27 DIO0(IO14) <――――――――――> 34 DIO1(IO13) <――――――――――> 35 DIO2 - Not needed for LoRa.

When i compiled the log message `PLATFORM: Espressif 32 (4.2.0) > NodeMCU-32S HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

Thanks for your help

gitHelmut commented 1 year ago

Look into platformio.ini and change bold line:

[mcci_lmic] ; LMIC-node was tested with MCCI LoRaWAN LMIC library v3.3.0 and v4.0.0. ; Some changes have been announced for future versions of the MCCI library ; which may be incompatible with LMIC-node. In case of problems just ; use mcci-catena/MCCI LoRaWAN LMIC library@4.0.0 below which will ; explicitly use v4.0.0 of the library. ; Perform 'PlatformIO: Clean' after changing library version and ; in case of issues remove the old version from .pio/libdeps/*.

; Note: LMIC_PRINTF_TO is defined for each board separately ; in the board specific sections. Don't define it in this section.

lib_deps = ; Only ONE of below LMIC libraries should be enabled. ; mcci-catena/MCCI LoRaWAN LMIC library ; MCCI LMIC library (latest release) mcci-catena/MCCI LoRaWAN LMIC library@4.0.0 ; MCCI LMIC library v4.0.0

jeroenrnl commented 9 months ago

I had the same problem. Swap pin 5 and pin 18...

(this stops the bootloop, but I didn't get it to work so far)