SCRC v0.4.0 Scrc.Driver View Source
Driver implements the framework to write custom drivers.
Simply use
this module and implement scrc_init
and scrc_drive
.
Link to this section Summary
Functions
The client recieved identified payload for the driver to handle
The client recieved restart payload for the driver to handle
The client recieved new sensor data for the driver to handle
The client recieved shutdown payload for the driver to handle
The client requests the initialization data
Set the owning client
Link to this section Types
Link to this section Functions
The client recieved identified payload for the driver to handle.
The client recieved restart payload for the driver to handle.
handle_sensor_data(pid(), Scrc.SensorData.t()) :: :ok
The client recieved new sensor data for the driver to handle.
The client recieved shutdown payload for the driver to handle.
The client requests the initialization data.
Set the owning client.