mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 05:42:49 +00:00
hci: add hci_extended_sco_link_supported
This commit is contained in:
parent
7522e673fc
commit
3e68d23d21
@ -788,6 +788,11 @@ uint16_t hci_max_acl_data_packet_length(void){
|
|||||||
return hci_stack->acl_data_packet_length;
|
return hci_stack->acl_data_packet_length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int hci_extended_sco_link_supported(void){
|
||||||
|
// No. 31, byte 3, bit 7
|
||||||
|
return (hci_stack->local_supported_features[3] & (1 << 7)) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
int hci_non_flushable_packet_boundary_flag_supported(void){
|
int hci_non_flushable_packet_boundary_flag_supported(void){
|
||||||
// No. 54, byte 6, bit 6
|
// No. 54, byte 6, bit 6
|
||||||
return (hci_stack->local_supported_features[6] & (1 << 6)) != 0;
|
return (hci_stack->local_supported_features[6] & (1 << 6)) != 0;
|
||||||
|
@ -898,6 +898,11 @@ uint16_t hci_usable_acl_packet_types(void);
|
|||||||
*/
|
*/
|
||||||
int hci_non_flushable_packet_boundary_flag_supported(void);
|
int hci_non_flushable_packet_boundary_flag_supported(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if extended SCO Link is supported
|
||||||
|
*/
|
||||||
|
int hci_extended_sco_link_supported(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if SSP is supported on both sides. Called by L2CAP
|
* Check if SSP is supported on both sides. Called by L2CAP
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user