LMIC w/o LMIC OS

Hello

I’m trying to use the IBM LMIC lib to transmit from my node to a Gateway over LoRa.

Everything is working nice so fare, but there’s something I don’t like about the LMIC lib:
Isn’t it possible to use the lib without its OS functionality? Normally it is necessary to always call “os_runloop()” in the main loop.
I plan to sleep until an interrupt occurs and then to do a transmission - that’s it.

Does someone has an idea how to do that without too much changes in the lib?

Thank you in advance.

Simon

You might need to ensure LMiC knows time has passed while sleeping: