hfp_hf: also accept '+VGS'= and '+VGM='

This commit is contained in:
Matthias Ringwald 2021-09-08 16:13:49 +02:00
parent c950c31678
commit ce284ffb88

View File

@ -1121,6 +1121,8 @@ static hfp_command_entry_t hfp_hf_commmand_table[] = {
{ "+COPS:", HFP_CMD_QUERY_OPERATOR_SELECTION_NAME },
{ "+VGM:", HFP_CMD_SET_MICROPHONE_GAIN },
{ "+VGS:", HFP_CMD_SET_SPEAKER_GAIN},
{ "+VGM=", HFP_CMD_SET_MICROPHONE_GAIN },
{ "+VGS=", HFP_CMD_SET_SPEAKER_GAIN},
{ "ERROR", HFP_CMD_ERROR},
{ "NOP", HFP_CMD_NONE}, // dummy command used by unit tests
{ "OK", HFP_CMD_OK },