mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
le_device_db: dump LTK as well
This commit is contained in:
parent
f00767dfec
commit
e4c7c6fa4a
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
### Added
|
### Added
|
||||||
- GATT Client: support GATT over Enhanced LE Bearer
|
- GATT Client: support GATT over Enhanced LE Bearer
|
||||||
- GATT Server: 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
|
- Port for Zephyr 3.x
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -463,6 +463,7 @@ void le_device_db_dump(void){
|
|||||||
le_device_db_entry_t entry;
|
le_device_db_entry_t entry;
|
||||||
le_device_db_tlv_fetch(i, &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("%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);
|
log_info_key("irk", entry.irk);
|
||||||
#ifdef ENABLE_LE_SIGNED_WRITE
|
#ifdef ENABLE_LE_SIGNED_WRITE
|
||||||
log_info_key("local csrk", entry.local_csrk);
|
log_info_key("local csrk", entry.local_csrk);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user