summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2016-11-09 16:44:30 -0800
committerJakub Pawlowski <jpawlowski@google.com>2016-11-10 12:19:38 -0800
commit93bd76b16a7d72878bf2d8b74547eefbff9e0d7c (patch)
treea035b55e06be524404930b699ba3c2a986808f12
parentc1ded2afef390c05dd40a271fcca20febf5cf967 (diff)
downloadlibhardware-93bd76b16a7d72878bf2d8b74547eefbff9e0d7c.tar.gz
BLE OOB Pairing - parse address type (2/5)
When address type is not parsed, creating bond to devices not using random address is impossible. Bug: 32780409 Test: try pairing with nRF52DK using random address Change-Id: I1265b6abdefa12dc024d00ecf232f7fc7722d178 (cherry picked from commit d82fbad4aa900a6187525bc0f779de76f47cccb5)
-rw-r--r--include/hardware/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index b9b3b126..dd5ea8ab 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -267,6 +267,7 @@ typedef struct
/** Bluetooth Out Of Band data for bonding */
typedef struct
{
+ uint8_t le_bt_dev_addr[7]; /* LE Bluetooth Device Address */
uint8_t c192[16]; /* Simple Pairing Hash C-192 */
uint8_t r192[16]; /* Simple Pairing Randomizer R-192 */
uint8_t c256[16]; /* Simple Pairing Hash C-256 */