mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 21:41:13 +00:00
test/security_manager: fix build
This commit is contained in:
parent
d9f3ead5ea
commit
d0f707ff11
@ -207,6 +207,16 @@ void hci_le_set_own_address_type(uint8_t own_address){
|
||||
void hci_le_random_address_set(const bd_addr_t addr){
|
||||
}
|
||||
|
||||
bool hci_is_le_identity_address_type(bd_addr_type_t address_type) {
|
||||
switch (address_type) {
|
||||
case BD_ADDR_TYPE_LE_PUBLIC_IDENTITY:
|
||||
case BD_ADDR_TYPE_LE_RANDOM_IDENTITY:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void l2cap_request_can_send_fix_channel_now_event(hci_con_handle_t con_handle, uint16_t cid){
|
||||
if (packet_buffer_len) return;
|
||||
uint8_t event[] = { L2CAP_EVENT_CAN_SEND_NOW, 2, 0, 0};
|
||||
|
Loading…
x
Reference in New Issue
Block a user