diff options
author | Ganesh Ganapathi Batta <ganeshg@broadcom.com> | 2014-05-27 16:03:11 -0700 |
---|---|---|
committer | Prerepa Viswanadham <dham@google.com> | 2014-06-12 01:34:38 +0000 |
commit | 460343a1b57ff372887b76a718e8e8ca89f29c88 (patch) | |
tree | b7e07ac1de71822e6d3046a8759017deb37eb95e /include/hardware/bluetooth.h | |
parent | 8264af903af9fb111381a0d4c2ebe05ec652acfa (diff) | |
download | hardware_libhardware-460343a1b57ff372887b76a718e8e8ca89f29c88.zip hardware_libhardware-460343a1b57ff372887b76a718e8e8ca89f29c88.tar.gz hardware_libhardware-460343a1b57ff372887b76a718e8e8ca89f29c88.tar.bz2 |
Add support for retrieving local LE features via get_adapter_properties
Change-Id: I337614aa96ec08f631667dc4a18b4e5c993a79b1
Diffstat (limited to 'include/hardware/bluetooth.h')
-rw-r--r-- | include/hardware/bluetooth.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index c00a8f7..41a1167 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -126,6 +126,16 @@ typedef struct int manufacturer; } bt_remote_version_t; +typedef struct +{ + uint8_t local_privacy_enabled; + uint8_t max_adv_instance; + uint8_t rpa_offload_supported; + uint8_t max_irk_list_size; + uint8_t max_adv_filter_supported; + uint8_t scan_result_storage_size; +}bt_local_le_features_t; + /* Bluetooth Adapter and Remote Device property types */ typedef enum { /* Properties common to both adapter and remote device */ @@ -208,6 +218,13 @@ typedef enum { BT_PROPERTY_REMOTE_VERSION_INFO, + /** + * Description - Local LE features + * Access mode - GET. + * Data type - bt_local_le_features_t. + */ + BT_PROPERTY_LOCAL_LE_FEATURES, + BT_PROPERTY_REMOTE_DEVICE_TIMESTAMP = 0xFF, } bt_property_type_t; @@ -219,6 +236,7 @@ typedef struct void *val; } bt_property_t; + /** Bluetooth Device Type */ typedef enum { BT_DEVICE_DEVTYPE_BREDR = 0x1, |