I need help with programming uplink payloads for my ESP32, which is connected to a network server to track the time transmission interval and data payload. Essentially, I want to monitor the downtime between the communication of my ESP32 and the server.
Using a LoRaWAN example file, I have successfully connected to my network server via OTAA to send uplink messages. Now, I want to utilize LoRa to send data from my devices to the network server. The device in question is a JSN-SR04T ultrasonic sensor. I have written code to read the sensor's values on arduino ide, and my ESP32 can send its own data to the network server.
Is there a way to send the sensor's readings to the network server using LoRa?
Is this feasible?