286 Commits

Author SHA1 Message Date
Matthias Ringwald
6e13e408eb hfp_ag: use explicit cases for vra_state_requested 2021-08-29 10:28:06 +02:00
Milanka Ringwald
645bfa78ad hfp_ag: allow enhanced AG VRA commands only after receiving READY FOR AUDIO from HF 2021-08-26 08:34:16 +02:00
Milanka Ringwald
fcf4ede69f hfp: update local enhanced_voice_recognition_enabled flag when activate VRA is initiated from remote 2021-08-24 11:09:10 +02:00
Milanka Ringwald
89e7c136e3 hfp_ag: allow empty string in enhanced VRA message 2021-08-23 17:14:04 +02:00
Milanka Ringwald
6504a03ae3 hfp_ag: return error if enhanced VRA message command does not fit into a single packet frame 2021-08-23 12:05:59 +02:00
Milanka Ringwald
a2e701c0d4 hfp: use HFP_VR_TEXT_HEADER_SIZE that defines bytes needed for sending +BVRA message including quotes but excluding string length 2021-08-23 12:05:59 +02:00
Milanka Ringwald
51aa5d5a8f hfp: use full size line buffer to send enhanced VRA message 2021-08-23 12:05:59 +02:00
Milanka Ringwald
553a4a561f hfp: use HFP_SUBEVENT_VOICE_RECOGNITION_ENABLED/DISABLED instead of HFP_SUBEVENT_VOICE_RECOGNITION_STATUS event 2021-08-23 12:05:59 +02:00
Milanka Ringwald
135d971835 hfp_ag: use bool as return value 2021-08-23 12:05:59 +02:00
Milanka Ringwald
9cd26862c3 hfp_ag: rename functions 2021-08-23 12:05:59 +02:00
Milanka Ringwald
f71d2aace0 hfp_ag: check VRA flags only on API call 2021-08-23 12:05:59 +02:00
Milanka Ringwald
14c148cad3 hfp_ag: merge enhanced and normal voice recognition activation 2021-08-23 12:05:59 +02:00
Milanka Ringwald
447b8216cb hfp_ag: fix warning 2021-08-10 12:59:22 +02:00
Milanka Ringwald
6db648bc32 hfp_ag: fix build 2021-08-10 12:57:40 +02:00
Milanka Ringwald
50b9afa46b hfp_ag: simplify logic for sending ring + clip 2021-08-10 12:55:53 +02:00
Milanka Ringwald
b7e273518c hfp_ag: send initial RING message 2021-08-10 12:46:30 +02:00
Matthias Ringwald
3561686e3c hfp_ag: send CLIP after each RING, fix unit test 2021-08-03 12:45:58 +02:00
Milanka Ringwald
a4f85bd2c8 hfp_ag: handle ring independent of HF connection 2021-07-26 15:18:43 +02:00
Milanka Ringwald
31f55b9152 hfp_ag: handle trigger incoming call during active one separately 2021-07-26 15:18:43 +02:00
Milanka Ringwald
095a9f2bef hfp_ag: close audio connection on AG terminate call 2021-07-22 14:13:35 +02:00
Milanka Ringwald
674ebed504 hfp: emit call answered and terminated events 2021-07-22 14:12:21 +02:00
Milanka Ringwald
a13ff7d155 hfp_ag: assert that the change of indicator is sent 2021-07-22 14:10:36 +02:00
Milanka Ringwald
fb75b4837d hfp_ag: emit event HFP_SUBEVENT_CALL_TERMINATED before audio connection is closed 2021-07-22 14:10:36 +02:00
Milanka Ringwald
addc49c42c hfp_ag: stop ringing on call established 2021-07-22 14:10:36 +02:00
Milanka Ringwald
fcd59412a2 hfp_ag: ring for outgoing connection in alerting modus 2021-07-22 14:10:36 +02:00
Milanka Ringwald
2ff1d7d74e hfp_ag: rename hfp_ag_hf_start_ringing into hfp_ag_hf_start_ringing_incoming 2021-07-22 14:10:36 +02:00
Milanka Ringwald
9493406b0c hfp_ag: rename HFP_CALL_RINGING into HFP_CALL_INCOMING_RINGING 2021-07-22 14:10:36 +02:00
Milanka Ringwald
5e26b9e598 hfp_ag: start ringing for outgoing calls 2021-07-22 14:10:36 +02:00
Milanka Ringwald
c4f8fc1c44 hfp_ag: signal ringing for outgoing call 2021-07-22 14:10:36 +02:00
Milanka Ringwald
688428b6a1 hfp: fix type in event name HFP_SUBEVENT_STOP_RINGING and HFP_SUBEVENT_START_RINGING 2021-07-22 14:06:03 +02:00
Milanka Ringwald
0d38e7e193 hfp_ag: emit HFP_SUBEVENT_RING 2021-07-22 14:06:03 +02:00
Matthias Ringwald
aeb0f0fe93 hfp: prefix globals, update deinit function 2021-07-21 10:24:33 +02:00
Matthias Ringwald
971388fee8 hfp_ag: add missing break 2021-07-16 23:43:34 +02:00
Milanka Ringwald
585db78ddf hfp_ag: do not send HFP_SUBEVENT_HF_INDICATOR if unknown UUID 2021-07-13 17:59:46 +02:00
Milanka Ringwald
347d46c839 hfp: send HFP_SUBEVENT_HF_INDICATOR event 2021-07-13 17:56:32 +02:00
Milanka Ringwald
99af1e285b hfp: refactor send event for tracked command 2021-07-13 14:50:37 +02:00
Milanka Ringwald
fd075f204e hfp_ag: assert connection existance 2021-07-13 14:50:37 +02:00
Milanka Ringwald
70c0363dc6 hfp_ag: emit HFP_SUBEVENT_ECHO_CANCELING_AND_NOISE_REDUCTION_DEACTIVATE event 2021-07-13 14:50:37 +02:00
Milanka Ringwald
f0c27a954c hfp_ag: update API 2021-07-09 14:56:57 +02:00
Milanka Ringwald
c95b5b3c7c hfp: emit deactivated on SLC, allow deactivate if audio connection failed but VRA was activated 2021-07-09 14:56:57 +02:00
Milanka Ringwald
b95cac54e2 hfp: handle AG send EVR message 2021-07-09 14:56:57 +02:00
Milanka Ringwald
cf75be8534 hfp: report AG EVR status 2021-07-09 14:56:57 +02:00
Milanka Ringwald
de9e0ea7a7 hfp: enhanced audio recognition, HF ready for audio 2021-07-09 14:56:57 +02:00
Milanka Ringwald
6b8275b007 hfp: fix deactivate EVR from AG 2021-07-09 14:56:57 +02:00
Milanka Ringwald
1a26de69e9 hfp: refactor name, do not close audio connection during active VR session 2021-07-09 14:56:57 +02:00
Milanka Ringwald
6a61d7dc55 hfp_ag: use hfp_ag_voice_recognition_session_active check 2021-07-09 14:56:57 +02:00
Milanka Ringwald
f48848de7c hfp_ag: send EVR msg 2021-07-09 14:56:57 +02:00
Milanka Ringwald
a0c831ebcf hfp_ag: clean up states, refactor names 2021-07-09 14:56:57 +02:00
Milanka Ringwald
d1b504462e hfp_ag: refactor hfp_ag_send_enhanced_voice_recognition_cmd 2021-07-09 14:56:57 +02:00
Milanka Ringwald
700e91e53c hfp: remove ENHANCED_VOICE_RECOGNITION_OFF states 2021-07-09 14:56:57 +02:00