What is the best way of getting the current LTK with the new peer manager?
A repeat of this post but this was with the old device manager.
Using the SDK 12.1. Nordic nrf52
What is the best way of getting the current LTK with the new peer manager?
A repeat of this post but this was with the old device manager.
Using the SDK 12.1. Nordic nrf52
Hi,
The LTK is stored in peer_data -> p_bonding_data.
It's stored to flash in auth_status_success_process() in security_dispatcher.c after the device bond and read from flash in sec_info_request_process() with pdb_peer_data_ptr_get() when the device reconnect and re-encrypt.
Hello, I am currently using nRF5_SDK_17.0.2_d674dde,
is the LTK in peer_data.p_bonding_data->own_ltk.enc_info.ltk? still where?
Hi,
Yes as far as I know there is no change. Please look inside sec_info_request_process() where pdb_peer_data_ptr_get() is called. This ticket is very old, if you have further question, please create a new ticket.