serial devices

Description get serial devices

http://localhost:5000/devices/serial

Example

curl --request GET --url http://localhost:5000/devices/serial

Response

[
  {
    "description": "n/a [26a9]",
    "port": "/dev/ttyS4"
  }
]

Errors

This API uses the following error codes:

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