diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-06-28 18:07:27 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-06-28 18:07:27 +0000 |
commit | f1b6a259701994fe370be2f49d1f1fbffb8b19e2 (patch) | |
tree | b6efcfd1a28dcc3e5845e31a8ded2841ffb1ae49 | |
parent | fc3c4d6cb4293ad0b82b6f1c3f93d9f5500d7936 (diff) | |
parent | 44e1aaab15e72450bdbfcd8a16aa75e0de416fd7 (diff) | |
download | libhardware-android-s-beta-5.tar.gz |
Merge "add is_valid to oob data"android-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-5android-s-beta-4
-rw-r--r-- | include/hardware/bluetooth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index afa0eef7..95a0b6e3 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -261,6 +261,7 @@ typedef struct /** Represents the actual Out of Band data itself */ typedef struct { // Both + bool is_valid = false; /* Default to invalid data; force caller to verify */ uint8_t address[7]; /* Bluetooth Device Address (6) plus Address Type (1) */ uint8_t c[16]; /* Simple Pairing Hash C-192/256 (Classic or LE) */ uint8_t r[16]; /* Simple Pairing Randomizer R-192/256 (Classic or LE) */ |