Pular para o conteúdo principal

raydriver.core

Shared device primitives: transports, value types and session events. The protocol namespaces (raydriver.grbl, raydriver.smoothie, raydriver.marlin) build on these.

SessionEvent​

One typed session event, delivered to event_callback.

CommandStatusChanged​

ConfigChanged​

ConnectionStatusChanged​

JobFinished​

ProbeStatusChanged​

RawRx​

RawTx​

StateChanged​

WcsUpdated​

Functions​

list_serial_ports()​

list_serial_ports() -> list[dict]

Enumerate the serial ports this host can reach.

Returns one dict per port with the keys port (the OS device path), vid, pid, serial_number, manufacturer and product. The USB fields are None for non-USB ports.

ParameterTypeDescription
Returnslist[dict]