nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_mesh_sensor_value_status

#include <include/bluetooth/mesh/sensor.h>

Status of conversion from bt_mesh_sensor_value.

Enumerator
BT_MESH_SENSOR_VALUE_NUMBER 

The encoded sensor value represents a number.

BT_MESH_SENSOR_VALUE_CONVERSION_ERROR 

An error ocurred during conversion from the encoded sensor value.

BT_MESH_SENSOR_VALUE_CLAMPED 

The encoded value could not fit in the target type and was clamped to the closest available value.

BT_MESH_SENSOR_VALUE_UNKNOWN 

The encoded sensor value represents an unknown value.

BT_MESH_SENSOR_VALUE_INVALID 

The encoded sensor value represents an invalid value.

BT_MESH_SENSOR_VALUE_MAX_OR_GREATER 

The encoded sensor value represents a value greater than or equal to the format maximum.

BT_MESH_SENSOR_VALUE_MIN_OR_LESS 

The encoded sensor value represents a value less than or equal to the format minimum.

BT_MESH_SENSOR_VALUE_TOTAL_DEVICE_LIFE 

The encoded sensor value represents the total lifetime of the device.