Skip to content

Commit bfdbcc7

Browse files
add accessor for local irk
1 parent fff0247 commit bfdbcc7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

features/FEATURE_BLE/ble/generic/SecurityDb.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,15 @@ class SecurityDb {
441441
_local_identity.identity_address_is_public = public_address;
442442
}
443443

444+
/**
445+
* Return local irk.
446+
*
447+
* @return irk
448+
*/
449+
virtual irk_t get_local_irk() {
450+
return _local_identity.irk;
451+
}
452+
444453
/* list management */
445454

446455
/**

0 commit comments

Comments
 (0)