Merge "add is_valid to oob data" am: f1b6a25970

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1740145

Change-Id: Ie46270f7ef2e71ee093eae47d15692bae84b07eb
This commit is contained in:
Treehugger Robot 2021-06-28 18:20:48 +00:00 committed by Automerger Merge Worker
commit 37b2639e96

View file

@ -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) */