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:在中央器件中、链路终止原因未能建立0x3E //连接

Guru**** 2587365 points
Other Parts Discussed in Thread: CC2340R5

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1404000/cc2340r5-in-central-device-link-termination-reason-getting-an-0x3e-connection-failed-to-be-established

器件型号:CC2340R5

工具与软件:

您好!

   我正在将 CC2340R5中央设备连接到 CC2340R5外设。 在扫描后的中央设备中、设备将连接到专用的外围设备。 有时会在中央设备中进行链路建立和链路终端。 但建立链路不会发生在外设中。 当我们检查中央设备中链路终端的原因时、将会得到  #define LL_STATUS_ERROR_CONN_FAILED_TO_BE_ESTABED 0x3E //未能建立连接。

当我尝试修改  Connection Interval Min (连接间隔最小值  )和 Connection Interval Max (连接间隔最大值)时、没有进行扫描。 这里是扫描参数。

void scanStartCB()
{   
        UART2_write(uart, "\nscanStartCB", 12, 0);
        bStatus_t status;
        const BLEAppUtil_ScanStart_t centralScanStartParams =
            {
                    /*! Zero for continuously scanning */
                    .scanPeriod = 1, /* Units of 1.28sec */

                    /*! Scan Duration shall be greater than to scan interval,*/
                    /*! Zero continuously scanning. */
                    .scanDuration = 100, /* Units of 10ms */

                    /*! If non-zero, the list of advertising reports will be */
                    /*! generated and come with @ref GAP_EVT_SCAN_DISABLED.  */
                    .maxNumReport = APP_MAX_NUM_OF_ADV_REPORTS
            };     
    }
}

我已经尝试修改 中央设备和外围设备上的连接参数、您是否可以建议更新连接参数。  

我想知道为什么会出现这种情况、以及我们如何解决这一问题。

谢谢!

Vignesh。

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

    尊敬的 Vignesh:  

    感谢您的咨询。 您能帮助我完成以下任务吗?  

    • 您使用的是哪个 SDK 版本?
    • 您是否使用了基本的 BLE 示例并尝试了开箱即用的中央设备和外设?
    • 以上修改是您在项目中唯一进行的更改吗?  
    • 您是否了解我们的 SimpleLink Academy 中的 BLE 扫描和广播 以及 使用 basic_ble 示例进行的 BLE 连接?  

    此致

    Ivan