add is_valid to oob data

Bug: 178007935
Test: manual, test app
Tag: #feature
Change-Id: I9ba3639904471a4c34d8f5df753c416e149749c7
This commit is contained in:
Martin Brabham 2021-06-15 20:43:01 -07:00
parent fc3c4d6cb4
commit 44e1aaab15

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