This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 配对后访问蓝牙会话密钥

Guru**** 2580315 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/564650/access-bluetooth-session-key-after-pairing

嗨、大家好


对于我的应用、我需要访问蓝牙会话密钥、该密钥应在配对时进行交换。 我还应该能够在 GAPBOND_Pairing_State_Complete 回调后直接访问它。

有人可以提供帮助吗?

谢谢、

Leon

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Leon、

    长期密钥(LTK)由 GAP 绑定管理器存储、不会通过回调暴露给应用程序。 在 BLE 中、链路层加密由控制器管理、因此应用不需要密钥。 如果要提取它、可以研究 gapbondmgr.c 以查看它如何存储在 SNV 中。

    祝你一切顺利