250 Commits

Author SHA1 Message Date
Matthias Ringwald
fd66594d81 hfp_ag: reset command for response and hold commands 2021-08-30 08:47:02 +02:00
Matthias Ringwald
27bb1817cc hfp_ag: use bool for hfp_ag_response_and_hold_active 2021-08-30 08:47:02 +02:00
Matthias Ringwald
e7c4670836 hfp_ag: use ag_vra_requested_by_hf 2021-08-30 08:47:02 +02:00
Matthias Ringwald
2cc52945f8 hfp_ag: simplify logic vra state machine logig 2021-08-30 08:47:02 +02:00
Matthias Ringwald
4653ab1997 hfp_ag: delete unused code 2021-08-30 08:47:02 +02:00
Matthias Ringwald
3f38f55432 hfp_ag: handle HFP_CMD_UNKNOWN in main command dispatcher 2021-08-30 08:47:02 +02:00
Matthias Ringwald
bc94e48c47 hfp_ag: avoid trigger_codec_exchange 2021-08-30 08:47:02 +02:00
Matthias Ringwald
d4a8cc2955 hfp_ag: reduce requirements for ag_send_common_codec 2021-08-30 08:47:02 +02:00
Matthias Ringwald
a814da6aaf hfp_ag: use ag_send_common_codec instead of command 2021-08-30 08:47:02 +02:00
Matthias Ringwald
9430c71e5b hfp_ag: use ag_send_in_band_ring_tone_setting instead of command 2021-08-29 13:00:21 +02:00
Matthias Ringwald
a9814fb49a hfp_ag: delete unused command write for set microphone gain 2021-08-29 12:54:49 +02:00
Matthias Ringwald
8f8818a4bf hfp_ag: use ag_vra_send_command instead of command for ag initiated vra commands 2021-08-29 12:27:00 +02:00
Matthias Ringwald
08dc7cc656 hfp_ag: extract hfp_ag_vra_send_command 2021-08-29 11:13:23 +02:00
Matthias Ringwald
774e3016a5 hfp_ag: extract hfp_ag_vra_state_machine_two 2021-08-29 11:01:17 +02:00
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