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

◆ bt_r_and_c_volume_set()

int bt_r_and_c_volume_set ( uint8_t volume,
bool from_vcp )

Set the volume to the given volume value.

Parameters
[in]volumeValue to set the volume to (0-255).
[in]from_vcpDescribe if the function was called from a service or from somewhere else (buttons, shell, etc).
Returns
0 if success, error otherwise.