286 Commits

Author SHA1 Message Date
Matthias Ringwald
aa10b9cbee hfp: add hfp_hf_create_sdp_record_with_codecs and hfp_hf_create_sdp_record_with_codecs 2023-10-10 11:50:27 +02:00
Matthias Ringwald
5fd6f36099 hfp: send start/stop audio for NXP with WBS support 2023-09-15 15:46:48 +02:00
Matthias Ringwald
8d860c8fde hfp_ag: increase buffer to avoid warning, fixes #523 2023-08-30 14:39:24 +02:00
Matthias Ringwald
0327df7d5d hfp: collect vendor-specific SBC config logic in hfp_prepare_for_sco 2023-08-11 14:13:40 +02:00
Matthias Ringwald
3a8950c4f6 hfp: introduce hfp_rtk_prepare_for_sco 2023-08-11 14:13:40 +02:00
Matthias Ringwald
6decf019d6 hfp_ag: trigger WBS config for ENABLE_BCM_PCM_WBS 2023-08-11 14:13:40 +02:00
Matthias Ringwald
dc6af37960 hfp_ag: add guard for hfp_ag_run_for_context_service_level_connection_queries 2023-08-09 15:21:59 +02:00
Matthias Ringwald
40a8ee13bc hfp_ag: track in-band ring tone active 2023-08-09 15:03:52 +02:00
Matthias Ringwald
f197e7614d hfp_ag: pass hfp_connection to use_in_band_tone 2023-08-09 14:36:11 +02:00
Matthias Ringwald
8b73d57b2a hfp_ag: don't clear EC/NR feature on AT+NREC=0 2023-08-09 14:31:44 +02:00
Matthias Ringwald
a7666b0251 hfp_ag: emit service level established after answering AT+BIND?, fixes issue #506 2023-07-20 13:00:06 +02:00
Matthias Ringwald
677003cbd1 hfp: clear accept_sco on sco setup complete 2023-06-22 10:12:52 +02:00
Matthias Ringwald
447743f7db hfp: serialize sco setup 2023-06-22 10:12:52 +02:00
Matthias Ringwald
6d9a41f9b1 hfp: use custom_at_command_id for both roles 2023-05-27 16:55:33 +02:00
Matthias Ringwald
7f8f119190 hfp: emit HFP_SUBEVENT_CUSTOM_AT_MESSAGE_SENT after sending custom message 2023-05-27 16:55:33 +02:00
Matthias Ringwald
d2e34ffbec hfp: fix setup/accept of synchronous connection 2023-05-11 14:38:27 +02:00
Matthias Ringwald
2085619da9 hfp_ag: prefer LC3-WB over mSBC 2023-03-02 11:00:28 +01:00
Matthias Ringwald
471dea41ab hfp_ag: support handling of custom AT commands with hfp_ag_register_custom_at_command 2022-06-24 16:38:14 +02:00
Matthias Ringwald
5be6b47a7f hfp_ag: send custom unsolicited result code with hfp_ag_send_unsolicited_result_code 2022-06-24 16:38:14 +02:00
Matthias Ringwald
ab2445a020 classic: fix warnings in audio profiles 2022-06-09 23:17:17 +02:00
Milanka Ringwald
f2aa99a916 hfp_ag: fix reject of incoming call in setup state 2022-06-02 14:56:32 +02:00
Milanka Ringwald
07a44c5e7c hfp_ag: handle call termination in alerting call state 2022-05-24 14:40:49 +02:00
Matthias Ringwald
0f1da53350 hfp_ag: drop unused number parameter from hfp_ag_outgoing_call_initiated 2022-05-11 14:17:56 +02:00
Matthias Ringwald
80702f974d hfp_ag: activate all AG indicators upon service level connection establishment 2022-03-16 10:37:51 +01:00
Matthias Ringwald
69640b0415 hfp_ag: only send AG indicators if enabled with AT+CMER=3,0,0,1 2022-03-16 10:26:17 +01:00
Matthias Ringwald
7095467ff6 hfp: pass role to hfp_emit_slc_connection_event 2022-01-27 17:09:49 +01:00
Matthias Ringwald
81e25d0afa hfp_ag: // allow to intercept call statemachine events 2022-01-03 14:02:00 +01:00
Matthias Ringwald
c1eef992e2 hfp_ag: extract hfp_ag_run_ring_and_clip and call after audio gets established 2021-12-08 20:43:01 +01:00
Matthias Ringwald
b7802cc8b1 hfp_ag: send HFP AG and HCI commands independently 2021-12-03 12:13:52 +01:00
Matthias Ringwald
d3709f3eb4 hfp_ag: avoid sending ring twice in test 2021-11-29 22:00:26 +01:00
Matthias Ringwald
7ebd525b11 hfp_ag: delay sending RING after audio connection was established (if in-band ring tone enabled) 2021-11-29 16:31:59 +01:00
Matthias Ringwald
f5887b606a hfp_ag: extract hfp_ag_hf_trigger_ring_and_clip 2021-11-29 16:31:14 +01:00
Matthias Ringwald
2b5f92fd17 hfp: send hci_rtk_configure_sco_routing after codec exchange 2021-11-29 14:28:18 +01:00
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
a5764cd2ce hfp_ag: fix accept incoming connection while audio connection is established 2021-10-05 18:59:42 +02:00
Milanka Ringwald
84fb9ac151 hfp: send VRA activated event after audio is established 2021-08-30 09:58:32 +02:00
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