Software that runs on the Raspberry Pi in the field. Acts as a LoRa tranceiver and MAVLink protocol handler. Must accept and relay MAVLink commands from APM Planner / QGcontrol.
Software running on the field station but not in this repository.
The goal of this script is to receive MQTT messages from 'A' and to transform them into UDP messages that are sent to 'B' and to receive UDP messages from 'B' and to transform them into MQTT that are sent to 'A'.
At the beginning of the Python scripts, you can change the IP and the port of the differents actors.
To test the bridge, you can use the scripts send_mqtt.sh and send_udp.sh. You just need to change the parameters at the begin of each script. To listen : mosquitto_sub -t topic -q 1 and nc -l -u -p 43000
Sends RADIO_STATUS message to the UDP endpoint (APM Planner) which includes last RSSI from TX MQTT topic. It also sends a HEARTBEAT with sysid 24.
Listens to a rising edge on GPIO pin 16 (hardware pin, not BCM) and halts the operating system if risen.