btsnd_hcic_write_auto_flush_tout(p_acl->hci_handle, flush_timeout_in_ticks);
}
-uint16_t acl_read_cached_automatic_flush_timeout(const RawAddress& bd_addr) {
- tACL_CONN* p_acl = internal_.btm_bda_to_acl(bd_addr, BT_TRANSPORT_BR_EDR);
- if (p_acl == nullptr) {
- LOG_ERROR("%s Unknown peer ACL", __func__);
- return HCI_DEFAULT_AUTOMATIC_FLUSH_TIMEOUT;
- }
- return p_acl->flush_timeout_in_ticks;
-}
*******************************************
*/
extern void btm_acl_init(void);
-extern void btm_acl_removed(const RawAddress& bda, tBT_TRANSPORT transport);
extern void btm_acl_device_down(void);
extern void btm_acl_set_paging(bool value);
extern void btm_acl_update_inquiry_status(uint8_t state);
void btm_acl_created(const RawAddress& bda, uint16_t hci_handle,
uint8_t link_role, tBT_TRANSPORT transport);
+void btm_acl_removed(const RawAddress& bda, tBT_TRANSPORT transport);
+
void acl_disconnect(const RawAddress& bd_addr, tBT_TRANSPORT transport,
uint8_t reason);
// This header contains functions for L2cap-ACL to invoke
//
-uint16_t acl_read_cached_automatic_flush_timeout(const RawAddress& bd_addr);
void acl_accept_connection_request(const RawAddress& bd_addr, uint8_t role);
void acl_create_classic_connection(const RawAddress& bd_addr,
bool there_are_high_priority_channels,
#include <base/strings/stringprintf.h>
#include "bt_target.h"
#include "bta_hearing_aid_api.h"
-#include "btm_int.h"
#include "device/include/controller.h"
#include "hcimsgs.h"
#include "l2c_api.h"
#include "bt_common.h"
#include "bt_target.h"
-#include "btm_int.h"
#include "common/time_util.h"
#include "hcidefs.h"
-#include "hcimsgs.h"
#include "l2c_int.h"
#include "l2cdefs.h"
#include "stack/btm/btm_sec.h"
#include "bt_common.h"
#include "bt_types.h"
#include "btm_api.h"
-#include "btm_int.h"
#include "device/include/controller.h"
#include "hci/include/btsnoop.h"
#include "hcidefs.h"
-#include "hcimsgs.h"
#include "l2c_int.h"
#include "l2cdefs.h"
#include "osi/include/allocator.h"