# LMIC

**URL:** https://www.thethingsnetwork.org/forum/c/nodes/lmic/75.md

[Latest](https://www.thethingsnetwork.org/forum/latest.md) · [Categories](https://www.thethingsnetwork.org/forum/categories.md) · [Tags](https://www.thethingsnetwork.org/forum/tags.md)

---

## [About the LMIC category](https://www.thethingsnetwork.org/forum/t/about-the-lmic-category/9755)

<div class="topic-metadata">

**Author:** [@htdvisser](https://www.thethingsnetwork.org/forum/u/htdvisser)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 8:42am UTC](https://www.thethingsnetwork.org/forum/t/about-the-lmic-category/9755 "2022-06-16T08:42:29Z")

</div>

The LMIC category is for everything related to the LMIC LoRaWAN library.

---

## [No live data for ABP end device, reciving on gateway](https://www.thethingsnetwork.org/forum/t/no-live-data-for-abp-end-device-reciving-on-gateway/73502)

<div class="topic-metadata">

**Author:** [@giorgiloralora](https://www.thethingsnetwork.org/forum/u/giorgiloralora)\
**Replies:** 6\
**Last updated:** [April 16, 2026, 2:51pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-for-abp-end-device-reciving-on-gateway/73502 "2026-04-16T14:51:11Z")

</div>

Hello, I have problem with not seeing live data for an end device, while reciving data in the gateway. I am using waveshare sx1303 868m lorawan gateway with raspberry pi 4 and as an end device I have ra-01h ai thinker c…

---

## [Any one knows for support for heltec\_wifi\_lora\_32\_V3?](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068)

<div class="topic-metadata">

**Author:** [@idealumesh](https://www.thethingsnetwork.org/forum/u/idealumesh)\
**Replies:** 10\
**Last updated:** [March 20, 2025, 3:40pm UTC](https://www.thethingsnetwork.org/forum/t/any-one-knows-for-support-for-heltec-wifi-lora-32-v3/64068 "2025-03-20T15:40:52Z")

</div>

I tried with V2 LMIC on V3 board ( heltec\_wifi\_lora\_32\_V3) it did not worked. Any help will be appreciated

---

## [ESP32, rfm95w, deep sleep. How to save and restore OTAA Session?](https://www.thethingsnetwork.org/forum/t/esp32-rfm95w-deep-sleep-how-to-save-and-restore-otaa-session/70698)

<div class="topic-metadata">

**Author:** [@hrabbe](https://www.thethingsnetwork.org/forum/u/hrabbe)\
**Replies:** 3\
**Last updated:** [February 27, 2025, 11:58pm UTC](https://www.thethingsnetwork.org/forum/t/esp32-rfm95w-deep-sleep-how-to-save-and-restore-otaa-session/70698 "2025-02-27T23:58:15Z")

</div>

Hi Im trying to get my device to not do an OTAA join every time it wakes up from deep sleep. Im aware there is some topics in the forum on the same subject but I find it difficult to understand how I can implement this …

---

## [LMIC-node | One example to rule them all](https://www.thethingsnetwork.org/forum/t/lmic-node-one-example-to-rule-them-all/46964)

<div class="topic-metadata">

**Author:** [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Replies:** 75\
**Last updated:** [February 21, 2025, 2:23pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-node-one-example-to-rule-them-all/46964 "2025-02-21T14:23:45Z")

</div>

LMIC-node LMIC-node is an example LoRaWAN application for a node for The Things Network. It uses the Arduino framework, the LMIC LoRaWAN library and PlatformIO. With LMIC-node it is easy to get a working node quickly u…

---

## [RFM95 Frequency 868 vs 915 Mhz](https://www.thethingsnetwork.org/forum/t/rfm95-frequency-868-vs-915-mhz/70610)

<div class="topic-metadata">

**Author:** [@snatch](https://www.thethingsnetwork.org/forum/u/snatch)\
**Replies:** 2\
**Last updated:** [February 17, 2025, 11:25am UTC](https://www.thethingsnetwork.org/forum/t/rfm95-frequency-868-vs-915-mhz/70610 "2025-02-17T11:25:58Z")

</div>

I’ve ordered RFM95 868Mhz module from Ali (The module is marked on the backside with 868). It is connected to ESP32-C3. I’m using LMIC lib from mcci-catena/MCCI LoRaWAN LMIC library@^5.0.1 The problem is that it uses …

---

## [Help: NRF52840 Sense - RFM95W - LMIC Library / TTNV3](https://www.thethingsnetwork.org/forum/t/help-nrf52840-sense-rfm95w-lmic-library-ttnv3/51461)

<div class="topic-metadata">

**Author:** [@SparkCog](https://www.thethingsnetwork.org/forum/u/SparkCog)\
**Replies:** 3\
**Last updated:** [December 30, 2024, 6:31pm UTC](https://www.thethingsnetwork.org/forum/t/help-nrf52840-sense-rfm95w-lmic-library-ttnv3/51461 "2024-12-30T18:31:02Z")

</div>

Hello, I’m trying to build a sensor node with lora to work with TTN for an outdoor application. The Adafruit NRF52840 Sense (4516) is fantastic for its integration of all the sensors; makes for a very clean and compact …

---

## [Adjusting Link Dead Check on Device](https://www.thethingsnetwork.org/forum/t/adjusting-link-dead-check-on-device/69287)

<div class="topic-metadata">

**Author:** [@arre\_bror](https://www.thethingsnetwork.org/forum/u/arre_bror)\
**Replies:** 9\
**Last updated:** [October 10, 2024, 4:39pm UTC](https://www.thethingsnetwork.org/forum/t/adjusting-link-dead-check-on-device/69287 "2024-10-10T16:39:25Z")

</div>

Hi The Things forum! Im using: LoRaWAN MAC Version: 1.0.2 (revB) MCCI LoRaWAN LMIC Library, version 4.1. A device that sends one unconfirmed uplink with data hourly. Problem: The time it takes for an end device to …

---

## [LMIC os\_runloop() conflicts with sensor reading function](https://www.thethingsnetwork.org/forum/t/lmic-os-runloop-conflicts-with-sensor-reading-function/29870)

<div class="topic-metadata">

**Author:** [@samisabik](https://www.thethingsnetwork.org/forum/u/samisabik)\
**Replies:** 24\
**Last updated:** [July 24, 2024, 1:15pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-os-runloop-conflicts-with-sensor-reading-function/29870 "2024-07-24T13:15:37Z")

</div>

Hi folk, I’m hitting a bit of a dead end trying to work around the os\_runloop() routine of LMIC. I’m using an ultrasonic sensor that is based on critical timing as well; this in order to measure distance. When this func…

---

## [SX1276 on Arduino Uno R3 can't join TTN via OTAA](https://www.thethingsnetwork.org/forum/t/sx1276-on-arduino-uno-r3-cant-join-ttn-via-otaa/68697)

<div class="topic-metadata">

**Author:** [@benjaminm](https://www.thethingsnetwork.org/forum/u/benjaminm)\
**Replies:** 11\
**Last updated:** [July 23, 2024, 9:50am UTC](https://www.thethingsnetwork.org/forum/t/sx1276-on-arduino-uno-r3-cant-join-ttn-via-otaa/68697 "2024-07-23T09:50:35Z")

</div>

Hi, I’m trying to connect an SX1276 (from Amazon.de) on Arduino Uno R3 to TTN via OTAA but in the console there is no activity. There already exist similar topics but nothing helped me. I use the “MCCI LoRaWAN LMIC li…

---

## [Board/Firmware doesn't see the join accept message from TTI](https://www.thethingsnetwork.org/forum/t/board-firmware-doesnt-see-the-join-accept-message-from-tti/68686)

<div class="topic-metadata">

**Author:** [@OPSAustralia](https://www.thethingsnetwork.org/forum/u/OPSAustralia)\
**Replies:** 6\
**Last updated:** [July 21, 2024, 12:06pm UTC](https://www.thethingsnetwork.org/forum/t/board-firmware-doesnt-see-the-join-accept-message-from-tti/68686 "2024-07-21T12:06:53Z")

</div>

We use TTI and LMIC on our boards. We have a large stable solution, having collected 13 million messages. We are migrated to a new version of the circuit board. Same microprocessor (Mega 2560) and same LoRa chip (RM9…

---

## [/Arduino/libraries/MCCI\_LoRaWAN\_LMIC\_library/src/lmic/radio.c:923](https://www.thethingsnetwork.org/forum/t/arduino-libraries-mcci-lorawan-lmic-library-src-lmic-radio-c-923/52182)

<div class="topic-metadata">

**Author:** [@freddx](https://www.thethingsnetwork.org/forum/u/freddx)\
**Replies:** 10\
**Last updated:** [July 17, 2024, 12:41pm UTC](https://www.thethingsnetwork.org/forum/t/arduino-libraries-mcci-lorawan-lmic-library-src-lmic-radio-c-923/52182 "2024-07-17T12:41:15Z")

</div>

Hi Folks, need help: I’m building a TTN node with Arduino Mega 2560 Rev3 and RFM SX1276. I tried 2 szenarios (OTAA & ABP), but they all boil down to this same error… 14:16:46.923 -\> /home/user/Arduino/libraries/MCCI\_L…

---

## [Preventing GPS Tracker from sending position data prior to GPS fix](https://www.thethingsnetwork.org/forum/t/preventing-gps-tracker-from-sending-position-data-prior-to-gps-fix/68241)

<div class="topic-metadata">

**Author:** [@cortlieb](https://www.thethingsnetwork.org/forum/u/cortlieb)\
**Replies:** 2\
**Last updated:** [June 13, 2024, 7:25pm UTC](https://www.thethingsnetwork.org/forum/t/preventing-gps-tracker-from-sending-position-data-prior-to-gps-fix/68241 "2024-06-13T19:25:20Z")

</div>

I’m using the Lilygo T-Beam GPS-Tracker (T-Beam Meshtastic – LILYGO®). For the software I make use of the MCCI LoRaWAN LMIC library (V4.1.1). My software is based on the ttn-otaa example provided with the library. Bas…

---

## [TTN\_esp32 library for Arduino](https://www.thethingsnetwork.org/forum/t/ttn-esp32-library-for-arduino/33793)

<div class="topic-metadata">

**Author:** [@friotte](https://www.thethingsnetwork.org/forum/u/friotte)\
**Replies:** 12\
**Last updated:** [June 13, 2024, 10:39am UTC](https://www.thethingsnetwork.org/forum/t/ttn-esp32-library-for-arduino/33793 "2024-06-13T10:39:16Z")

</div>

I’ve made a library very similar with TheThingsNetwork/arduino-device-lib. but for ESP32 plateform. The link : https://github.com/rgot-org/TheThingsNetwork\_esp32. This made lmic very easy to use. The library recognize…

---

## [Problem defining data rate for lora comunication](https://www.thethingsnetwork.org/forum/t/problem-defining-data-rate-for-lora-comunication/68147)

<div class="topic-metadata">

**Author:** [@ricsrdocasro](https://www.thethingsnetwork.org/forum/u/ricsrdocasro)\
**Replies:** 1\
**Last updated:** [June 4, 2024, 9:18pm UTC](https://www.thethingsnetwork.org/forum/t/problem-defining-data-rate-for-lora-comunication/68147 "2024-06-04T21:18:17Z")

</div>

Hey all, as I have a mobile end device (tracker), I wanted to disable ADR and define a spreading factor value, but I tried all of the variables since DR\_SF7 to 12 and DR\_SF7CR to 12 and even DR\_NONE and DR\_SF8C and it al…

---

## [Node don't get JoinAccept: ESP32, LMIC & wAP LR8](https://www.thethingsnetwork.org/forum/t/node-dont-get-joinaccept-esp32-lmic-wap-lr8/67396)

<div class="topic-metadata">

**Author:** [@macwojs](https://www.thethingsnetwork.org/forum/u/macwojs)\
**Replies:** 18\
**Last updated:** [April 22, 2024, 10:16am UTC](https://www.thethingsnetwork.org/forum/t/node-dont-get-joinaccept-esp32-lmic-wap-lr8/67396 "2024-04-22T10:16:00Z")

</div>

Hi I try to connect my node to network. I have my own script, but I also tried with example from library (ttn-otaa) and I get the same result. Furthermore, I got connection with gateway, ttn properly proceed join proce…

---

## [BME280 Pressure, LMIC](https://www.thethingsnetwork.org/forum/t/bme280-pressure-lmic/67530)

<div class="topic-metadata">

**Author:** [@paule99](https://www.thethingsnetwork.org/forum/u/paule99)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 8:56am UTC](https://www.thethingsnetwork.org/forum/t/bme280-pressure-lmic/67530 "2024-04-10T08:56:41Z")

</div>

I’m really struggling with getting a BME280 pressure reading working with TTN… I have this code (borrowed from here:JackGruber/ - esp32\_ttn\_environmental\_sensor) generating the payload: //Battery Voltage …

---

## [Arduino LMIC and multitasking (on ESP32)](https://www.thethingsnetwork.org/forum/t/arduino-lmic-and-multitasking-on-esp32/14556)

<div class="topic-metadata">

**Author:** [@bdgraf](https://www.thethingsnetwork.org/forum/u/bdgraf)\
**Replies:** 9\
**Last updated:** [March 6, 2024, 11:19pm UTC](https://www.thethingsnetwork.org/forum/t/arduino-lmic-and-multitasking-on-esp32/14556 "2024-03-06T23:19:32Z")

</div>

Hello, I’m using a Heltec WiFi LoRa 32 (ESP32) board and I need some kind of multitasking as it has to monitor and write to a CAN bus, get GPS data, use Bluetooth LE and communicate with TTN. I started with the ttn-ota…

---

## [Packet Transmission Delay in LoRaWAN](https://www.thethingsnetwork.org/forum/t/packet-transmission-delay-in-lorawan/66560)

<div class="topic-metadata">

**Author:** [@prncssgarma](https://www.thethingsnetwork.org/forum/u/prncssgarma)\
**Replies:** 3\
**Last updated:** [January 31, 2024, 12:54pm UTC](https://www.thethingsnetwork.org/forum/t/packet-transmission-delay-in-lorawan/66560 "2024-01-31T12:54:16Z")

</div>

Hello everyone, I’m currently exploring the performance of packet sending strategies in LoRaWAN, particularly focusing on the impact of edge computing on delay reduction. Here’s the setup: No Edge Computing Scenario: …

---

## [How to measure packet delay or latency?](https://www.thethingsnetwork.org/forum/t/how-to-measure-packet-delay-or-latency/66399)

<div class="topic-metadata">

**Author:** [@prncssgarma](https://www.thethingsnetwork.org/forum/u/prncssgarma)\
**Replies:** 29\
**Last updated:** [January 19, 2024, 12:36pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-measure-packet-delay-or-latency/66399 "2024-01-19T12:36:03Z")

</div>

hi! my project is lorawan-based wireless sensor network applied to precision agriculture and i want to determine the delay or latency of the packets along with RSSI and SNR. do you guys know how to calculate packet dela…

---

## [Bug in the LMIC code or not? channels and frequencies, transmission strength](https://www.thethingsnetwork.org/forum/t/bug-in-the-lmic-code-or-not-channels-and-frequencies-transmission-strength/66341)

<div class="topic-metadata">

**Author:** [@HeinzFischer](https://www.thethingsnetwork.org/forum/u/HeinzFischer)\
**Replies:** 24\
**Last updated:** [January 18, 2024, 12:14pm UTC](https://www.thethingsnetwork.org/forum/t/bug-in-the-lmic-code-or-not-channels-and-frequencies-transmission-strength/66341 "2024-01-18T12:14:27Z")

</div>

Have I found a mistake here or not? I think I have found an error in the LMIC code. According to TTN (link below 1) there should be 8 frequencies (channels) for eu868…: 868.1 - SF7BW125 to SF12BW125 868.3 - SF7BW125…

---

## [LMIC Unknown event: 20](https://www.thethingsnetwork.org/forum/t/lmic-unknown-event-20/42647)

<div class="topic-metadata">

**Author:** [@MarcKCity](https://www.thethingsnetwork.org/forum/u/MarcKCity)\
**Replies:** 27\
**Last updated:** [January 10, 2024, 1:36pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-unknown-event-20/42647 "2024-01-10T13:36:06Z")

</div>

Hey @all :slight\_smile: I’ve been trying for months now to send a simple sensor value to my gateway in order to visualize it iwo. I have currently done a test with the following hardware: Arduino pro mini 3.3v 8Mhz wit…

---

## [Too much waiting while rejoining](https://www.thethingsnetwork.org/forum/t/too-much-waiting-while-rejoining/66273)

<div class="topic-metadata">

**Author:** [@dani56](https://www.thethingsnetwork.org/forum/u/dani56)\
**Replies:** 1\
**Last updated:** [January 10, 2024, 1:34pm UTC](https://www.thethingsnetwork.org/forum/t/too-much-waiting-while-rejoining/66273 "2024-01-10T13:34:08Z")

</div>

The first time I register my device and join it to TTN, it takes a maximum of 3 minutes. However, when I reset my device, the subsequent attempts for joining take much longer, about 10 minutes, 15 minutes, or even 25 min…

---

## [Otaa join accept problem](https://www.thethingsnetwork.org/forum/t/otaa-join-accept-problem/66238)

<div class="topic-metadata">

**Author:** [@dani56](https://www.thethingsnetwork.org/forum/u/dani56)\
**Replies:** 8\
**Last updated:** [January 8, 2024, 11:45am UTC](https://www.thethingsnetwork.org/forum/t/otaa-join-accept-problem/66238 "2024-01-08T11:45:36Z")

</div>

hey plz help me i’ve test many ways to join with otaa to ttn but its seems to be imposible i have a rfm96 and arduino nano and blepill and esp32. i test all of them with lmic lib but it does’nt work. i test abp way a…

---

## [ESP32 test - connection seems to work, but no messaging](https://www.thethingsnetwork.org/forum/t/esp32-test-connection-seems-to-work-but-no-messaging/66222)

<div class="topic-metadata">

**Author:** [@junqued](https://www.thethingsnetwork.org/forum/u/junqued)\
**Replies:** 10\
**Last updated:** [January 8, 2024, 8:57am UTC](https://www.thethingsnetwork.org/forum/t/esp32-test-connection-seems-to-work-but-no-messaging/66222 "2024-01-08T08:57:20Z")

</div>

I’ve been wrestling with trying to get an ESP32 to talk to TTN for a few days, and getting nowhere. For my device, I have a TTGO ESP32 LoRa (v 1.1 I think). I connect to my TTN sandbox account as device in an applicati…

---

## [Heltec Wifi LoRa32 V2 + LMIC questions](https://www.thethingsnetwork.org/forum/t/heltec-wifi-lora32-v2-lmic-questions/55321)

<div class="topic-metadata">

**Author:** [@G1DDO](https://www.thethingsnetwork.org/forum/u/G1DDO)\
**Replies:** 16\
**Last updated:** [January 6, 2024, 6:09pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-wifi-lora32-v2-lmic-questions/55321 "2024-01-06T18:09:44Z")

</div>

I have setup the Heltec SX1276 to send a payload to an application, which seems to work but not fully. The data is sent to the application and I can decode it fine but it looks like the transmission doesn’t finish prope…

---

## [TTGO LoRa32 V2.1 - TTN sketch for Relays with BME280 support](https://www.thethingsnetwork.org/forum/t/ttgo-lora32-v2-1-ttn-sketch-for-relays-with-bme280-support/31230)

<div class="topic-metadata">

**Author:** [@connectix](https://www.thethingsnetwork.org/forum/u/connectix)\
**Replies:** 5\
**Last updated:** [December 31, 2023, 9:16pm UTC](https://www.thethingsnetwork.org/forum/t/ttgo-lora32-v2-1-ttn-sketch-for-relays-with-bme280-support/31230 "2023-12-31T21:16:51Z")

</div>

I made a sketch for connecting a TTGO Paxcounter to the things network with support for a relay and a temperature sensor without the paxcounter functionality. I found a few sketches online based on the paxcounter but I …

---

## [LMIC oslmic.c.53 Error in ESP8266 NodeMCU-12F and SX1276 Context](https://www.thethingsnetwork.org/forum/t/lmic-oslmic-c-53-error-in-esp8266-nodemcu-12f-and-sx1276-context/65959)

<div class="topic-metadata">

**Author:** [@PeterH61](https://www.thethingsnetwork.org/forum/u/PeterH61)\
**Replies:** 4\
**Last updated:** [December 14, 2023, 11:13pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-oslmic-c-53-error-in-esp8266-nodemcu-12f-and-sx1276-context/65959 "2023-12-14T23:13:49Z")

</div>

Dear Professionals, Current status: I have had a device running in the TTN EU868 network for 2 years without any problems. It sends various sensor data. The device hardware is built with an ESP8266 NodeMCU-12E and an S…

---

## [MIC mismatch on SparkFun SAMD21 Pro RF](https://www.thethingsnetwork.org/forum/t/mic-mismatch-on-sparkfun-samd21-pro-rf/64609)

<div class="topic-metadata">

**Author:** [@pepsiplease69](https://www.thethingsnetwork.org/forum/u/pepsiplease69)\
**Replies:** 9\
**Last updated:** [December 10, 2023, 4:38am UTC](https://www.thethingsnetwork.org/forum/t/mic-mismatch-on-sparkfun-samd21-pro-rf/64609 "2023-12-10T04:38:19Z")

</div>

Hello all, I’m trying to get my lorawan packets working with a SparkFun SAMD21 Pro RF device. I keep getting the MIC Mismatch error and can’t seem to get past that. I’m using an TTN Indoor gateway using the US 915 fre…

---

## [Payload, Uplink payload formatter & Negative Temperatures](https://www.thethingsnetwork.org/forum/t/payload-uplink-payload-formatter-negative-temperatures/65870)

<div class="topic-metadata">

**Author:** [@paule99](https://www.thethingsnetwork.org/forum/u/paule99)\
**Replies:** 5\
**Last updated:** [December 9, 2023, 3:44pm UTC](https://www.thethingsnetwork.org/forum/t/payload-uplink-payload-formatter-negative-temperatures/65870 "2023-12-09T15:44:50Z")

</div>

After hours of trial and error modifying LMIC node I’ve managed to get my first temperature sensor (2x DS18B20) node working with TTN albeit postive temperatures work great. However when it comes to negative temperatures…

[Next page](https://www.thethingsnetwork.org/forum/c/nodes/lmic/75.md?page=1)
