From 93bd76b16a7d72878bf2d8b74547eefbff9e0d7c Mon Sep 17 00:00:00 2001 From: Jakub Pawlowski Date: Wed, 9 Nov 2016 16:44:30 -0800 Subject: [PATCH] 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) --- include/hardware/bluetooth.h | 1 + 1 file changed, 1 insertion(+) 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 */