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.

[参考译文] RTOS/CC2640:如果在 multi_role 中连接时开始扫描、CC2640将断开连接

Guru**** 2578945 points
Other Parts Discussed in Thread: CC2640

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/592740/rtos-cc2640-cc2640-will-disconnect-if-you-start-scan-when-connecting-in-multi_role

器件型号:CC2640

工具/软件:TI-RTOS

如果在 multi_role 中连接时开始扫描、CC2640将断开连接、 并且不正确的原因是 0x28 =即时传递。

如何解决此问题、我是否应该更改连接参数?  如何确定这些参数?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    1.在任务初始化时启动扫描参数:
    GAP_SetParamValue (TGAP_CONN_SCAN_INT、80);
    GAP_SetParamValue (TGAP_CONN_SCAN_WIND、80);
    GAP_SetParamValue (TGAP_CONN_HIGH_SCAN_INT、80);
    GAP_SetParamValue (TGAP_CONN_HIGH_SCAN_WIND、80);
    GAP_SetParamValue (TGAP_GEN_DISC_SCAN_INT、80);
    GAP_SetParamValue (TGAP_GEN_DISC_SCAN_WIND、80);
    GAP_SetParamValue (TGAP_LIM_DISC_SCAN_INT、80);
    GAP_SetParamValue (TGAP_LIM_DISC_SCAN_WIND、80);
    GAP_SetParamValue (TGAP_CONN_EST_SCAN_INT、80);
    GAP_SetParamValue (TGAP_CONN_EST_SCAN_WIND、80);

    2.连接设备时开始扫描
    3.如果主设备找到设备,请停止扫描并重新启动扫描
    4.更新连接参数:connection_interval = 1000、connLatime=0、connTimeout=6000
    5、暂时自动断开、RESON = 0x28
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    很难说发生了什么、可能有两个控制过程在进行、并且存在冲突。 根据规范、如果启动了两个基于即时的控制程序(如果遵循规范、则不应发生这种情况)、则可能会发生类似的情况。

    您是否有监听器捕获?

    此致、
    反叛分子