BEACON

Description trigger modem to enable/disable BEACON

http://localhost:5000/modem/beacon

Parameters

{
  "enabled": true
}

Response

Example

curl -X POST -H "Content-Type: application/json" -d '{"enabled": true}' http://localhost:5000/modem/beacon

{
  "enabled": true
}

Errors

This API uses the following error codes:

  • 400 Bad Request: The request was malformed or missing required parameters.
  • 404 Not Found: The requested resource was not found.
  • 500 Internal Server Error: An unexpected error occurred on the server.
  • 503 Modem not running: Modem not running.