nRF Connect SDK API 2.8.99
|
const struct bt_mesh_sensor_type * bt_mesh_sensor_type_get | ( | uint16_t | id | ) |
#include <include/bluetooth/mesh/sensor.h>
Get the sensor type associated with the given Device Property ID.
Only known sensor types from Sensor types will be available. Sensor types can be made known to the sensor module by enabling
CONFIG_BT_MESH_SENSOR_ALL_TYPES
or by referencing them in the application.
[in] | id | A Device Property ID. |