le_device_db: dump LTK as well

This commit is contained in:
Matthias Ringwald 2023-06-22 13:58:11 +02:00
parent f00767dfec
commit e4c7c6fa4a
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- GATT Client: support GATT over Enhanced LE Bearer
- GATT Server: support GATT over Enhanced LE Bearer
- LE Device DB: le_device_db_dump dumps LTK
- Port for Zephyr 3.x
### Fixed

View File

@ -463,6 +463,7 @@ void le_device_db_dump(void){
le_device_db_entry_t entry;
le_device_db_tlv_fetch(i, &entry);
log_info("%u: %u %s", (unsigned int) i, entry.addr_type, bd_addr_to_str(entry.addr));
log_info_key("ltk", entry.ltk);
log_info_key("irk", entry.irk);
#ifdef ENABLE_LE_SIGNED_WRITE
log_info_key("local csrk", entry.local_csrk);