Merge "add is_valid to oob data"

This commit is contained in:
Treehugger Robot 2021-06-28 18:07:27 +00:00 committed by Gerrit Code Review
commit f1b6a25970

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