mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-23 02:42:36 +00:00
hfp_hf: add hfp_hf_register_custom_at_command
This commit is contained in:
parent
7404dce327
commit
077c2d9275
@ -2264,6 +2264,10 @@ void hfp_hf_create_sdp_record(uint8_t * service, uint32_t service_record_handle,
|
|||||||
de_add_number(service, DE_UINT, DE_SIZE_16, sdp_features);
|
de_add_number(service, DE_UINT, DE_SIZE_16, sdp_features);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void hfp_hf_register_custom_at_command(hfp_custom_at_command_t * custom_at_command){
|
||||||
|
hfp_register_custom_hf_command(custom_at_command);
|
||||||
|
}
|
||||||
|
|
||||||
void hfp_hf_register_packet_handler(btstack_packet_handler_t callback){
|
void hfp_hf_register_packet_handler(btstack_packet_handler_t callback){
|
||||||
btstack_assert(callback != NULL);
|
btstack_assert(callback != NULL);
|
||||||
|
|
||||||
|
@ -559,6 +559,12 @@ int hfp_hf_in_band_ringtone_active(hci_con_handle_t acl_handle);
|
|||||||
*/
|
*/
|
||||||
uint8_t hfp_hf_send_at_command(hci_con_handle_t acl_handle, const char * at_command);
|
uint8_t hfp_hf_send_at_command(hci_con_handle_t acl_handle, const char * at_command);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Register custom AT command.
|
||||||
|
* @param hfp_custom_at_command (with '+' prefix)
|
||||||
|
*/
|
||||||
|
void hfp_hf_register_custom_at_command(hfp_custom_at_command_t * custom_at_command);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief De-Init HFP HF
|
* @brief De-Init HFP HF
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user