tBTM_STATUS bluetooth::shim::btm_sec_mx_access_request(
const RawAddress& bd_addr, uint16_t psm, bool is_originator,
- uint32_t mx_proto_id, uint32_t mx_chan_id, tBTM_SEC_CBACK* p_callback,
+ uint32_t mx_proto_id, uint32_t mx_chan_id, tBTM_SEC_CALLBACK* p_callback,
void* p_ref_data) {
// Security has already been fulfilled by the l2cap connection, so reply back
// that everything is totally fine and legit and definitely not two kids in a
tBTM_STATUS bluetooth::shim::BTM_SetEncryption(const RawAddress& bd_addr,
tBT_TRANSPORT transport,
- tBTM_SEC_CBACK* p_callback,
+ tBTM_SEC_CALLBACK* p_callback,
void* p_ref_data,
tBTM_BLE_SEC_ACT sec_act) {
// When we just bond a device, encryption is already done
******************************************************************************/
tBTM_STATUS BTM_SetEncryption(const RawAddress& bd_addr,
tBT_TRANSPORT transport,
- tBTM_SEC_CBACK* p_callback, void* p_ref_data,
+ tBTM_SEC_CALLBACK* p_callback, void* p_ref_data,
tBTM_BLE_SEC_ACT sec_act);
/*******************************************************************************
tBTM_STATUS btm_sec_mx_access_request(const RawAddress& bd_addr, uint16_t psm,
bool is_originator, uint32_t mx_proto_id,
uint32_t mx_chan_id,
- tBTM_SEC_CBACK* p_callback,
+ tBTM_SEC_CALLBACK* p_callback,
void* p_ref_data);
} // namespace shim
******************************************************************************/
tBTM_STATUS BTM_SetEncryption(const RawAddress& bd_addr,
tBT_TRANSPORT transport,
- tBTM_SEC_CBACK* p_callback, void* p_ref_data,
+ tBTM_SEC_CALLBACK* p_callback, void* p_ref_data,
tBTM_BLE_SEC_ACT sec_act) {
if (bluetooth::shim::is_gd_shim_enabled()) {
return bluetooth::shim::BTM_SetEncryption(bd_addr, transport, p_callback,
******************************************************************************/
tBTM_STATUS BTM_SetEncryption(const RawAddress& bd_addr,
tBT_TRANSPORT transport,
- tBTM_SEC_CBACK* p_callback, void* p_ref_data,
+ tBTM_SEC_CALLBACK* p_callback, void* p_ref_data,
tBTM_BLE_SEC_ACT sec_act);
bool BTM_SecIsSecurityPending(const RawAddress& bd_addr);
* optional data passed in by BTM_SetEncryption
* tBTM_STATUS - result of the operation
*/
-typedef void(tBTM_SEC_CBACK)(const RawAddress* bd_addr, tBT_TRANSPORT trasnport,
- void* p_ref_data, tBTM_STATUS result);
-typedef tBTM_SEC_CBACK tBTM_SEC_CALLBACK;
+typedef void(tBTM_SEC_CALLBACK)(const RawAddress* bd_addr,
+ tBT_TRANSPORT trasnport, void* p_ref_data,
+ tBTM_STATUS result);
+typedef tBTM_SEC_CALLBACK tBTM_SEC_CALLBACK;
/* Bond Cancel complete. Parameters are
* Result of the cancel operation