nRF Connect SDK API 0.1.0
|
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
embed:rst:inline :kconfig:option:`CONFIG_BT_MESH_SENSOR_ALL_TYPES`
or by referencing them in the application.
[in] | id | A Device Property ID. |