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.
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.
sensor_type#
const sensor_type_t* _sensor_interface::sensor_type
Reference of a sensor type structure.
read_value#
bool(* _sensor_interface::read_value) (sensor_read_result_t *o_result, uint8_t i_scale)
Function pointer to read a sensor value.