Lines Matching full:volume
31 static void vcp_vol_rend_state_cb(struct bt_conn *conn, int err, uint8_t volume, uint8_t mute) in vcp_vol_rend_state_cb() argument
36 shell_print(ctx_shell, "VCP volume %u, mute %u", volume, mute); in vcp_vol_rend_state_cb()
215 vcp_register_param.volume = 100; in cmd_vcp_vol_rend_init()
226 } else if (!strncmp(argv[i], "volume", 6)) { in cmd_vcp_vol_rend_init()
227 vcp_register_param.volume = shell_strtoul(kwarg, 10, &result); in cmd_vcp_vol_rend_init()
364 unsigned long volume; in cmd_vcp_vol_rend_volume_set() local
367 volume = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_volume_set()
369 shell_error(sh, "Failed to parse volume: %d", result); in cmd_vcp_vol_rend_volume_set()
374 if (volume > UINT8_MAX) { in cmd_vcp_vol_rend_volume_set()
375 shell_error(sh, "Invalid volume %lu", volume); in cmd_vcp_vol_rend_volume_set()
380 result = bt_vcp_vol_rend_set_vol(volume); in cmd_vcp_vol_rend_volume_set()
949 "[step=<uint>] [mute=<bool>] [volume=<uint>]",
952 "Get volume state of the VCP server. Should be done "
956 "Read volume flags",
959 "Turn the volume down",
962 "Turn the volume up",
965 "Turn the volume down, and unmute",
968 "Turn the volume up, and unmute",
971 "Set an absolute volume <volume>",
1050 "Bluetooth VCP Volume Renderer shell commands",