serial devices

Description get serial devices

http://localhost:5000/devices/serial

Response

Example

curl http://localhost:5000/devices/serial

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

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.