mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
hfp: report microphone/speaker gain
This commit is contained in:
parent
af082c7edd
commit
a878b4b590
10
src/hfp_ag.c
10
src/hfp_ag.c
@ -1426,6 +1426,16 @@ static void hfp_handle_rfcomm_data(uint8_t packet_type, uint16_t channel, uint8_
|
||||
log_info("hfp: call waiting notification set, now: %u", context->call_waiting_notification_enabled);
|
||||
context->ok_pending = 1;
|
||||
break;
|
||||
case HFP_CMD_SET_SPEAKER_GAIN:
|
||||
context->command = HFP_CMD_NONE;
|
||||
context->ok_pending = 1;
|
||||
printf("HF speaker gain = %u\n", context->speaker_gain);
|
||||
break;
|
||||
case HFP_CMD_SET_MICROPHONE_GAIN:
|
||||
context->command = HFP_CMD_NONE;
|
||||
context->ok_pending = 1;
|
||||
printf("HF microphone gain = %u\n", context->microphone_gain);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user