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.

[参考译文] CC2564 PairMode 可以#39;t 从 SecureSimpleAiringMode 更改为 PairableMode

Guru**** 2553260 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/577228/cc2564-pairmode-can-t-change-from-securesimplepairingmode-to-pairablemode

您好:

  基于 STM32F407的 TI 双模蓝牙协议栈

我将 PairMode 更改为"pmPairableMode_EnableSecureSimplePairing"、但 不能更改为"pmPairableMode"返回、配对模式与 SSP 无关。

 如何将 "pmPairableMode"改回?

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

    我将研究这个问题。 要让我开始复制此行为、您能否分享以下内容?

    -您使用的是 STM32F4上 TI 双模蓝牙协议栈的哪个版本? (即4.0.2.2或4.2.1.0)
    -您正在使用哪种示例应用程序? (即 SPPLEDemo、SPPDemo 等)
    -您使用哪些确切的命令来更改线对?

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

    您好!

      请考虑您的回复!

          我正在 STM32F4上使用 TI 双模蓝牙协议栈的4.0.2.2。

       该项目是 SPPLEDEMO、"SETPAIRABILIITYMODE"、

       有三种配对模式,如果 我将 模式从"pmPairableMode"设置为"pmPairableMode_EnableSecureSimplePairing",

          我不能设置为“pmPairableMode”(pmPairableMode),因为 使用 该推荐模式,模式为 awalys SSP。  

       您能帮我解决这个问题吗?  

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

    您好!

      请考虑您的回复!

          我正在 STM32F4上使用 TI 双模蓝牙协议栈的4.0.2.2。   项目是 SPPLEDEMO,  premiaritYMODE"是"SETPAIRABILIITYMODE",有三种模式,如果 我将 模式从"pmPairableMode"设置为"pmPairableMode",我无法 将    模式设置为"pmPairableSPMode",而不使用该建议,则模式为"awalys 。  

       您能帮我解决这个问题吗?  

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

    启用安全简单配对后、无法通过将配对模式更改为 pmPairableMode (非 SSP)来从应用程序关闭它。

    为了符合蓝牙规范要求、TI 蓝牙堆栈的 GAP 配置文件特意阻止了此操作。 当尝试关闭安全简单配对时,GAP_SET_Pairability 模式() API 将返回 BTPS_ERROR_ACT_NOT_LEVEND_RELEVEND_(-99)错误代码。

    为什么在启用 SSP 后需要先关闭 SSP?

    此致、
    Vihang