I can pair and bond as a Zephyr central via bt_conn_auth_register & bt_conn_security().
When the bond is successful I get a callback to cb_pairing_success(struct bt_conn *con, boot is_bonded).
My question is, how to I access the LTK so that I can save it. I see it in the bt_conn structure but get dereferencing errors when I ever I add code to access it.
It appears that the application does not have access to the LTK??? There are no examples of how to handle this so ... not sure what to do.
Thanks,