nRF Connect SDK API 2.8.99
|
int bt_mesh_sensor_ch_to_str | ( | const struct bt_mesh_sensor_value * | ch, |
char * | str, | ||
size_t | len ) |
#include <include/bluetooth/mesh/sensor.h>
Get a human readable representation of a single sensor channel.
CONFIG_CBPRINTF_FP_SUPPORTto be enabled.
[in] | ch | Sensor channel to represent. |
[out] | str | String buffer to fill. Should be BT_MESH_SENSOR_CH_STR_LEN bytes long. |
[in] | len | Length of str buffer. |
str
is sufficiently large.