mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-22 06:41:17 +00:00
hfp: use buffer smaller than mimimum rfcomm mtu for CHLD
This commit is contained in:
parent
e81f58c742
commit
47c8cf6f28
@ -433,7 +433,7 @@ static int hfp_ag_set_indicator_status_update_cmd(uint16_t cid, uint8_t activate
|
|||||||
|
|
||||||
|
|
||||||
static int hfp_ag_retrieve_can_hold_call_cmd(uint16_t cid){
|
static int hfp_ag_retrieve_can_hold_call_cmd(uint16_t cid){
|
||||||
char buffer[100];
|
char buffer[40];
|
||||||
int offset = snprintf(buffer, sizeof(buffer), "\r\n%s:", HFP_SUPPORT_CALL_HOLD_AND_MULTIPARTY_SERVICES);
|
int offset = snprintf(buffer, sizeof(buffer), "\r\n%s:", HFP_SUPPORT_CALL_HOLD_AND_MULTIPARTY_SERVICES);
|
||||||
offset += hfp_ag_call_services_join(buffer+offset, sizeof(buffer)-offset);
|
offset += hfp_ag_call_services_join(buffer+offset, sizeof(buffer)-offset);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user