Understanding the basics about how to send sensor data via LoRa

Hi,

I have a single channel LoRa gateway and a network server etc installed on Ubuntu. I now need a node and want to base it on Arduino. I need help making sense of what I have been reading in order to understand how to send data from a sensor to the gateway. I may get things wrong here so feel free to correct me.

There seems to be different libraries you can use. I have gone for mcci-catena/arduino-lmic purely as it seemed the most up to date and I had read that its easier to implement than the Semtech one. Is this a good choice?

I am making the assumption that this will work with a shield that contains an appropriate LoRa Transceiver. There seems to be a few out there.

My main issue comes when looking at the library. I don't know what I am doing. I have seen examples using void do_send(osjob_t* j) but I think this is from an older LMIC library from 2016 by Thomas Telkamp and Matthijs Kooijman. In those examples as well its usually sending 'hello world'.

The questions that come to mind then are:

  • Is there a similar function/call to do_send in the mcci-catena library?
  • If so where is it? (I have downloaded the zip and I can't find anything. Probably looking in the wrong place)
  • How do you get sensor data there to be sent? Is there another library I need to include to pull the data? I know this will probably depend on the sensor but am I on the right track?

All help greatly appreciated and bear in mind I am old and slow witted at the best of times.