mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 01:13:23 +00:00
provide access to size of acl buffers in Bluetooth module
This commit is contained in:
parent
287d19b836
commit
5250fb9ea0
@ -195,6 +195,10 @@ uint8_t hci_number_free_acl_slots(){
|
||||
return free_slots;
|
||||
}
|
||||
|
||||
uint16_t hci_max_acl_data_packet_length(){
|
||||
return hci_stack.acl_data_packet_length;
|
||||
}
|
||||
|
||||
int hci_ready_to_send(hci_con_handle_t handle){
|
||||
return hci_number_free_acl_slots() && hci_number_outgoing_packets(handle) < 2;
|
||||
}
|
||||
|
@ -250,6 +250,7 @@ uint8_t hci_number_free_acl_slots();
|
||||
int hci_ready_to_send(hci_con_handle_t handle);
|
||||
int hci_authentication_active_for_handle(hci_con_handle_t handle);
|
||||
void hci_drop_link_key_for_bd_addr(bd_addr_t *addr);
|
||||
uint16_t hci_max_acl_data_packet_length();
|
||||
|
||||
//
|
||||
void hci_emit_state();
|
||||
|
Loading…
x
Reference in New Issue
Block a user