BLE: Add a flag indicating if irk is stored in the distribution flags.

pull/6932/head
Vincent Coubard 2018-04-17 14:06:47 +01:00
parent 9643b57159
commit ab6821aab8
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,8 @@ struct SecurityDistributionFlags_t {
csrk_mitm_protected(false),
ltk_stored(false),
ltk_mitm_protected(false),
secure_connections_paired(false) {
secure_connections_paired(false),
irk_stored(false) {
}
/** peer address */
@ -60,6 +61,8 @@ struct SecurityDistributionFlags_t {
uint8_t ltk_mitm_protected:1;
/** the current pairing was done using Secure Connections */
uint8_t secure_connections_paired:1;
/** the security entry has been distributed and stored */
uint8_t irk_stored:1;
};
/** Long Term Key and data used to identify it */