Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8205ff33 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add API stack/btm/btm_ble::btm_ble_connected_from_address_with_type am: f6cfcc36

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1413990

Change-Id: I8db5123d0b0e1f68c32a6e2de5e8c198c436ec37
parents 66166287 f6cfcc36
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1758,6 +1758,13 @@ void btm_ble_connected(const RawAddress& bda, uint16_t handle, uint8_t enc_mode,
  btm_cb.ble_ctr_cb.inq_var.directed_conn = BTM_BLE_CONNECT_EVT;
}

void btm_ble_connected_from_address_with_type(
    const tBLE_BD_ADDR& address_with_type, uint16_t handle, uint8_t enc_mode,
    uint8_t role, bool addr_matched) {
  btm_ble_connected(address_with_type.bda, handle, enc_mode, role,
                    address_with_type.type, addr_matched);
}

/*****************************************************************************
 *  Function        btm_proc_smp_cback
 *
+4 −0
Original line number Diff line number Diff line
@@ -58,6 +58,10 @@ extern void btm_ble_init(void);
extern void btm_ble_connected(const RawAddress& bda, uint16_t handle,
                              uint8_t enc_mode, uint8_t role,
                              tBLE_ADDR_TYPE addr_type, bool addr_matched);
extern void btm_ble_connected_from_address_with_type(
    const tBLE_BD_ADDR& address_with_type, uint16_t handle, uint8_t enc_mode,
    uint8_t role, bool addr_matched);

extern void btm_ble_write_adv_enable_complete(uint8_t* p);
extern tBTM_BLE_CONN_ST btm_ble_get_conn_st(void);
extern tBTM_STATUS btm_ble_start_adv(void);