radio

Description get radio parameters

http://localhost:5000/radio

Example

curl http://localhost:5000/radio

Response

{
  "radio_frequency": "14093000",
  "radio_mode": "PKTUSB",
  "radio_rf_level": 100,
  "radio_status": true,
  "s_meter_strength": "20"
}

Description set radio parameters

http://localhost:5000/radio

Example

curl --request POST --url http://localhost:5000/radio --header 'Content-Type: application/json' --data '{"radio_frequency": "14093000","radio_mode": "PKTUSB","radio_rf_level": 100}'

Response

{
  "radio_frequency": "14093000",
  "radio_mode": "PKTUSB",
  "radio_rf_level": 100,
  "radio_status": true,
  "s_meter_strength": "20"
}

Errors

This API uses the following error codes:

  • 404 Not Found: The requested resource was not found.