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.

[参考译文] CC2340R5:如何在配对请求中设置 OOB 数据标志?

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1418123/cc2340r5-how-to-set-oob-data-flag-in-pairing-request

器件型号:CC2340R5

工具与软件:

尊敬的 TI:

我使用的是 SDKsimplelink_lowpower_f3_sdk_8_10_01_02\examples\rtos\LP_EM_CC2340R5\ble5stack\basic_ble。 在 BLE 安全连接配对过程中、我想使用"OOB 配对"。 因此、我有几个问题要问:

  1. 在标准配对请求和配对响应数据包中、有一个 OOB 数据标志字段。 在"basic_ble"示例代码中、我可以在哪里将 OOB 数据标志修改为1?
  2. 根据蓝牙 SIG 规范、要计算"确认值"、必须使用 F4函数。 您提供的库是否具有用于此计算的任何相关 API?

    3. 启动配对请求后、它进入 Pairing_pairStateHandler 中的功能 app_pairing.c, as the image below, but I can't find the code which is use to send the SMP packets during the pairing procedure。 那么、我想知道、在配对过程中、代码中会调用哪些 API 或函数来发送 SMP 数据包?



谢谢!

Aki