Structure that holds a read result from the read interface.

Public Attributes#

Contains information required for Supervision and True Status.

uint8_t

The sensor must be tied to an endpoint.

Reference of a sensor type structure.

uint8_t

Each bit represents a supported scale.

bool(*

Function pointer to initialize a sensor.

bool(*

Function pointer to deinitialize a sensor.

bool(*

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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 120 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/ZAF/CommandClasses/MultilevelSensor/src/CC_MultilevelSensor_SensorHandlerTypes.h