hfp_hf.c (9c9c64c1a682e1caadcaf035e2c74e756fb22f34) | hfp_hf.c (84e7d3b9ed832c3903c91ded626ba2aba9533c80) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 289 unchanged lines hidden (view full) --- 298 return hfp_hf_send_cmd_with_mark(cid, HFP_QUERY_OPERATOR_SELECTION, "?"); 299} 300 301static int hfp_hf_cmd_trigger_codec_connection_setup(uint16_t cid){ 302 return hfp_hf_send_cmd(cid, HFP_TRIGGER_CODEC_CONNECTION_SETUP); 303} 304 305static int hfp_hf_cmd_ata(uint16_t cid){ | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 289 unchanged lines hidden (view full) --- 298 return hfp_hf_send_cmd_with_mark(cid, HFP_QUERY_OPERATOR_SELECTION, "?"); 299} 300 301static int hfp_hf_cmd_trigger_codec_connection_setup(uint16_t cid){ 302 return hfp_hf_send_cmd(cid, HFP_TRIGGER_CODEC_CONNECTION_SETUP); 303} 304 305static int hfp_hf_cmd_ata(uint16_t cid){ |
306 return hfp_hf_send_cmd(cid, HFP_CALL_ANSWERED); | 306 return hfp_hf_send_cmd(cid, HFP_ANSWER_CALL); |
307} 308 309static int hfp_hf_set_microphone_gain_cmd(uint16_t cid, int gain){ 310 return hfp_hf_send_cmd_with_int(cid, HFP_SET_MICROPHONE_GAIN, gain); 311} 312 313static int hfp_hf_set_speaker_gain_cmd(uint16_t cid, int gain){ 314 return hfp_hf_send_cmd_with_int(cid, HFP_SET_SPEAKER_GAIN, gain); --- 1362 unchanged lines hidden --- | 307} 308 309static int hfp_hf_set_microphone_gain_cmd(uint16_t cid, int gain){ 310 return hfp_hf_send_cmd_with_int(cid, HFP_SET_MICROPHONE_GAIN, gain); 311} 312 313static int hfp_hf_set_speaker_gain_cmd(uint16_t cid, int gain){ 314 return hfp_hf_send_cmd_with_int(cid, HFP_SET_SPEAKER_GAIN, gain); --- 1362 unchanged lines hidden --- |