diff --git a/docs/advanced/index.md b/docs/advanced/index.md index d8a98ef..b45668d 100644 --- a/docs/advanced/index.md +++ b/docs/advanced/index.md @@ -43,3 +43,22 @@ If you wish to keep your own group separate from other FormationFlight groups, y ## WiFi Flashing FormationFlight supports WiFi OTA firmware upgrades through the standard espota protocol. The easiest way to use this function is to choose the "Upload" action on any of the targets ending in `_via_WiFi` in PlatformIO, but a tool to make OTA flashing easier is planned. + +## Useful snippets + +Since certain parameters of FormationFlight can be changed via the HTTP API, certain snippets can be useful to copy-and-paste. + +```sh +# Disable radio #1 (LoRa) +curl -X POST http://192.168.4.1/radiomanager/radio_set_enabled -d "index=1&status=false" +# Enable radio #1 (LoRa) +curl -X POST http://192.168.4.1/radiomanager/radio_set_enabled -d "index=1&status=true" +# Begin spoofing GPS location of this FF radio +curl -X POST http://192.168.4.1/gnssmanager/spoof -d "lat=45.171546&lon=5.722387" +# Begin spoofing peers +curl -X POST http://192.168.4.1/mspmanager/spoof +# Reboot the FormationFlight radio +curl -X POST http://192.168.4.1/system/reboot +# Put the FormationFlight radio into bootloader mode +curl -X POST http://192.168.4.1/system/bootloader +``` diff --git a/docs/flight-controller/ardupilot.md b/docs/flight-controller/ardupilot.md index b54c3f4..e6ebe7f 100644 --- a/docs/flight-controller/ardupilot.md +++ b/docs/flight-controller/ardupilot.md @@ -18,8 +18,7 @@ Set the Ardupilot parameter `RADAR_TYPE`. This must be set to `1` for MSP Radar, ### Set the serial port for MSP -Find the correct `SERIALX_PROTOCOL` instance for the serial port on which your Radar module is connected. You'll then set `SERIALX_PROTOCOL` to `32` for MSP - +Find the correct `SERIALX_PROTOCOL` instance for the serial port on which your Radar module is connected. You'll then set `SERIALX_PROTOCOL` to `32` for MSP. `SERIALX_BAUD` and other related settings should be kept at their default, which is 115200 baud. ### Enable the Radar OSD