yaq/traits/uses-uart


requires

uses-serial

configuration

Daemons with the uses-uart trait expect the following configuration:

serial_port (string)

baud_rate (int)

messages

Daemons with the uses-uart trait expose the following public messages:

direct_serial_write
Expose direct access to the serial port to clients. This should not be encouraged for normal use, but may be very important for debugging. If a device is expected to return data, it should be logged at the INFO level, not returned to the client. This is done to allow long tasks to be run asynchronously, and to explicitly discourage use of this method except when debugging. Setting `busy` to true is encouraged, but individual daemon writers should consider their own use case.
from uses-serial
parameters:

message (bytes)

daemons

The following daemons implement the uses-uart trait:

acton-2150i
newport-connex-agp
newport-smc100
thorlabs-bsc201
thorlabs-k10cr1
thorlabs-kdc101
thorlabs-kst101
thorlabs-lts150
thorlabs-lts300
zaber-binary


built 2020-08-18 17:11:11                                      CC0: no copyright