Clamps Dictionary
ssensor-port
Structure
A serial port connected to an ESP-NOW receiver, holding the reader thread and all sensors registered on that port.
Arguments
:port-name |
Device path string e.g. "/dev/ttyACM0". |
:id |
Keyword identifying this port e.g. :sensors. |
:device |
The open cl-serial input device (serial-device-input). |
:thread |
The background reader thread (bt:thread). |
:sensor-data-ref |
Ref-object holding the most recent ssensor-data. |
:receiver-mac |
6-element octet vector of the receiver's WiFi MAC, or nil until the receiver sends its 0xAA announce. |
:sensors |
List of ssensor structs registered on this port. |
:running |
Boolean; t while the reader thread is active. |
:unwatch |
Cleanup thunk for Emacs menu watchers. |