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

◆ bt_mesh_plvl_from_percent()

static uint16_t bt_mesh_plvl_from_percent ( uint8_t  plvl_percent)
inlinestatic

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

Convert percent to raw Power Level.

Parameters
[in]plvl_percentPower Level in percent.
Returns
The raw Power Level.