286 Commits

Author SHA1 Message Date
Milanka Ringwald
013cc750cf hfp: refactor activate/deactivate vra functions 2021-07-09 14:56:57 +02:00
Milanka Ringwald
adb00feebd hfp_ag: introduce EVR enabled flag 2021-07-09 14:56:57 +02:00
Milanka Ringwald
e83c202541 hfp_hf: rename enhanced VRA functions 2021-07-09 14:56:56 +02:00
Milanka Ringwald
52cbdd6d38 hfp: fix releasing SLC during active audio connection 2021-07-09 14:56:56 +02:00
Milanka Ringwald
0b4debbf1d hfp_ag: release audio connection only if it was opened before audio VR activated, open audio only if connection does not already exist 2021-07-09 14:56:56 +02:00
Milanka Ringwald
734ef2bdf5 hfp: rename variable 2021-07-09 14:56:56 +02:00
Milanka Ringwald
08a0b01cf6 hfp: add state check 2021-07-09 14:56:56 +02:00
Milanka Ringwald
fd4151d1ee hfp: fix activate voice recognition 2021-07-09 14:56:56 +02:00
Milanka Ringwald
8c10f3832b hfp_ag: handle start Voice Recognition triggered by HF 2021-07-09 14:56:56 +02:00
Milanka Ringwald
fdf18f864d hfp_ag: on RFCOMM_DATA_PACKET run for context and exit 2021-07-09 14:56:56 +02:00
Milanka Ringwald
0c738fd474 hfp_ag: fallback to previous vra state if smtf went wrong 2021-07-09 14:56:56 +02:00
Milanka Ringwald
754910ca8c hfp_ag: move handling voice recognition into hfp_ag_voice_recognition_state_machine 2021-07-09 14:56:56 +02:00
Milanka Ringwald
d84719b14b hfp_ag: add separate function for voice recognition deactivation 2021-07-09 14:56:56 +02:00
Milanka Ringwald
ac6f828ea6 hfp: report status code 2021-07-09 14:56:56 +02:00
Milanka Ringwald
d7d354cb40 hfp_ag: fix compile 2021-06-28 12:06:27 +02:00
Milanka Ringwald
c5fa3c94ae hfp_ag: return status code 2021-06-28 11:56:32 +02:00
Milanka Ringwald
657bc59fff hfp: return status for release_service_level_connection 2021-06-28 11:56:32 +02:00
Milanka Ringwald
1ffa0dd910 hfp: rename functions 2021-06-28 11:56:32 +02:00
Milanka Ringwald
4eb3f1d888 hfp: return status code for establish_service_level_connection 2021-06-28 11:56:32 +02:00
Milanka Ringwald
6846619981 hfp: assert wrong input params 2021-06-28 11:56:32 +02:00
Matthias Ringwald
3cfa40866d Remove stdio.h include from btstack_debug.h, add to individual files 2021-06-05 16:27:27 +02:00
Milanka Ringwald
45796ff1c6 hfp_ag: enhanced voice recognition 2021-05-19 15:50:44 +02:00
Milanka Ringwald
ef3ae4eb99 hfp: add Enhanced Voice Recognition Status and Voice Recognition Text supported features 2021-05-19 15:50:44 +02:00
Matthias Ringwald
c5753b0375 hfp_ag: fix warning 2021-05-09 23:18:58 +02:00
Matthias Ringwald
50c79195c5 fix builds 2021-05-03 12:29:32 +02:00
Matthias Ringwald
fe899794b5 hfp_ag: allow to start a call by AG itself 2021-04-20 14:50:15 +02:00
Matthias Ringwald
5a7033e223 hfp_ag: extract hfp_ag_handle_outgoing_call_accepted 2021-04-20 14:42:49 +02:00
Matthias Ringwald
056efd455f hfp_ag: move hfp_ag_set_callsetup_indicator and hfp_ag_set_callheld_indicator up 2021-04-20 14:41:55 +02:00
Matthias Ringwald
9f9621cf0f hfp_ag: rename function to match behaviour 2021-04-20 14:26:02 +02:00
Matthias Ringwald
9ff73f4179 hfp: separate outgoing calls by HF from calls by AG 2021-04-20 10:15:00 +02:00
Milanka Ringwald
05ce4bb658 hfp_ag: start/release audio on activate/deactivate voice recognition 2021-04-20 09:37:57 +02:00
Milanka Ringwald
5896dd8963 hfp_ag: send BSIR with space 2021-04-20 09:37:56 +02:00
Milanka Ringwald
f9f3ba286f hfp_ag: trigger release audio connection tag earlier in the run method 2021-04-20 09:37:56 +02:00
Milanka Ringwald
0b6ea433ea hfp_ag: get HFP HF indicator 2021-04-20 09:37:56 +02:00
Milanka Ringwald
9de679b765 hfp_ag/hfp_gsm_model: allow to set last called number 2021-04-20 09:37:56 +02:00
Milanka Ringwald
245852b749 hfp_ag: send NO CARRIER if network goes away during active call 2021-04-20 09:37:56 +02:00
Milanka Ringwald
411a977694 hfp_ag: send BCS if codec changed 2021-04-20 09:37:56 +02:00
Milanka Ringwald
66191aa0db hfp_ag: use space for response and hold 2021-04-15 11:47:39 +02:00
Milanka Ringwald
a04aecb1b6 hfp_ag: send HFP_ACTIVATE_VOICE_RECOGNITION with space 2021-04-15 11:47:24 +02:00
Milanka Ringwald
3e3b9207d3 hfp_ag: answer AT+BAC command with OK, if codecs exchanged 2021-04-15 11:45:48 +02:00
Matthias Ringwald
40e8d6c5eb hfp: sco connection is created by ag if codec negotiation is supported 2021-04-12 17:19:30 +02:00
Matthias Ringwald
29cddf58f6 hfp_ag: accept incoming sco connection 2021-04-12 17:09:19 +02:00
Matthias Ringwald
7d81706fa7 hfp: use acl_handle in all events, set to HCI_CON_HANDLE_INVALID if no connection associated 2021-04-08 12:18:53 +02:00
Matthias Ringwald
2abbd98d4d hfp_ag: fix reported microphone gain 2021-03-31 18:22:02 +02:00
Matthias Ringwald
b956fff3a7 hfp_ag: setup audio connection w/o in-band ringing if HF accepts call 2021-03-31 18:03:50 +02:00
Matthias Ringwald
1167ff8389 hfp_ag: fix send cmd via generator 2021-03-31 10:13:29 +02:00
Matthias Ringwald
894d499cbb hfp_ag: fix function name 2021-03-31 09:57:23 +02:00
Matthias Ringwald
ff7d6aea3a src: replace sprintf with snprintf and zero last byte 2021-03-30 15:53:50 +02:00
Matthias Ringwald
ae46d66684 hfp_ag: skip comma after last status indicator 2021-03-30 14:02:42 +02:00
Matthias Ringwald
d0a0eceeda hfp_ag: trigger codec exchange and disconnect after all other state machines 2021-03-30 13:52:44 +02:00