LMIC Lora Library - Custom Loop?

Hi there.

I'm setting up a sensor node with lora. I've got this working with the lmic-arduino library. What I'm trying to achieve however is the ability to only trigger transmission when a sensor value qualifies. I'm not sure how to achieve this since the library has its own method of looping.

The loop method right now is simply

void loop() {
    os_runloop_once();
}

Does anyone know if there's a way to do get to a standard loop with this library? Or only transmit when condition met in a 1 second loop?

Any suggestions are welcome.

Thank you for your time and input.

I'm not sure how to achieve this since the library has its own method of looping.

The library that you failed to post a link to?

Does anyone know if there's a way to do get to a standard loop with this library?

I'm sure that the author does.

PaulS:
The library that you failed to post a link to?
I’m sure that the author does.

Sorry, thought it was a single library (though I realize there’s ports)

This one: GitHub - matthijskooijman/arduino-lmic: This library is deprecated, see the README for alternatives.