hci: add hci_extended_sco_link_supported

This commit is contained in:
Matthias Ringwald 2016-07-28 17:28:14 +02:00
parent 7522e673fc
commit 3e68d23d21
2 changed files with 10 additions and 0 deletions

View File

@ -788,6 +788,11 @@ uint16_t hci_max_acl_data_packet_length(void){
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){
// No. 54, byte 6, bit 6
return (hci_stack->local_supported_features[6] & (1 << 6)) != 0;

View File

@ -898,6 +898,11 @@ uint16_t hci_usable_acl_packet_types(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
*/