BEACON

Description enable/disable modem BEACON

http://localhost:5000/modem/beacon

Parameters

{
  "enabled": true,
   "away_from_key": false
}

Example

curl --request POST --url http://localhost:5000/modem/beacon --header 'Content-Type: application/json' --data '{"enabled": true, "away_from_key": false}'

Response

{
  "enabled": true,
  "away_from_key": false
}

Errors

This API uses the following error codes:

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