Structure that holds a read result from the read interface.
Public Attributes#
Contains information required for Supervision and True Status.
The sensor must be tied to an endpoint.
Reference of a sensor type structure.
Each bit represents a supported scale.
Function pointer to initialize a sensor.
Function pointer to deinitialize a sensor.
Function pointer to read a sensor value.
Public Attribute Documentation#
rxOpt#
RECEIVE_OPTIONS_TYPE_EX _sensor_interface::rxOpt
Contains information required for Supervision and True Status.
Must be the first element in this struct because TSE assumes this location.
108
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h
endpoint#
uint8_t _sensor_interface::endpoint
The sensor must be tied to an endpoint.
Must be set to 0 if no endpoints. The endpoint value MUST be located as the second element in this struct as ZAF depends on that for generation of the Node Information Frame.
111
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h
sensor_type#
const sensor_type_t* _sensor_interface::sensor_type
Reference of a sensor type structure.
116
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h
supported_scale#
uint8_t _sensor_interface::supported_scale
Each bit represents a supported scale.
117
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h
init#
bool(* _sensor_interface::init) (void)
Function pointer to initialize a sensor.
118
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h
deinit#
bool(* _sensor_interface::deinit) (void)
Function pointer to deinitialize a sensor.
119
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h
read_value#
bool(* _sensor_interface::read_value) (sensor_read_result_t *o_result, uint8_t i_scale)
Function pointer to read a sensor value.
120
of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h