mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
hfp_hf: emit HFP_SUBEVENT_TRANSMIT_DTMF_CODES after sending DTMF command
This commit is contained in:
parent
2f50bc44f0
commit
c090e55228
@ -11,7 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Added
|
||||
- GAP: support periodic advertising with ENABLE_LE_PERIODIC_ADVERTISING
|
||||
- HFP HF: provide Calling Line Identification alpha field
|
||||
|
||||
- HFP HF: emit HFP_SUBEVENT_TRANSMIT_DTMF_CODES after sending DTMF command
|
||||
|
||||
### Fixed
|
||||
- HFP AG: activate all AG indicators upon service level connection establishment
|
||||
|
||||
|
@ -968,6 +968,11 @@ static void hfp_hf_run_for_context(hfp_connection_t * hfp_connection){
|
||||
hfp_connection->hf_send_dtmf_code = 0;
|
||||
hfp_connection->ok_pending = 1;
|
||||
hfp_hf_send_dtmf(hfp_connection->rfcomm_cid, code);
|
||||
// notify client that dtmf was sent
|
||||
char buffer[2];
|
||||
buffer[0] = code;
|
||||
buffer[1] = 0;
|
||||
hfp_emit_string_event(hfp_connection, HFP_SUBEVENT_TRANSMIT_DTMF_CODES, buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user