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.

[参考译文] LAUNCHXL-CC1352P:使用 L2CAP 面向连接的通道所需的帮助

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1489819/launchxl-cc1352p-help-needed-to-use-connection-oriented-channels-of-l2cap

器件型号:LAUNCHXL-CC1352P
主题中讨论的其他器件:CC2651R3CC1352P7

工具与软件:

您好、TI 专家!

我正在使用 LaunchPad CC1352P7和 CC2651R3。

SDK 版本- 7.41.0.17

我在 CC1352P7上使用简单的串行套接字代码修改了 BLE 中央代码、在 CC2651R3上投影零代码。

我尝试使用以下链接中提供的面向 L2CAP 连接的通道示例实施数据传输

https://dev.ti.com/tirex/explore/content/simplelink_cc13x2_26x2_sdk_4_30_00_54/docs/ble5stack/ble_user_guide/html/ble-stack-common/l2cap.html#connection-oriented-channels-example  

某部分代码正在运行、

我收到生成的堆栈事件"L2CAP_CHANNEL_ACTURED_EVT"

但在之后我调用函数时

//将最大积分分配给另一侧
bStatus_t STATUS =-1;
状态= L2CAP_FlowCtrlCredit (pEstEvt->CID、0xFFFF);
if (status ==成功)

UART2_printf ("L2CAP_FlowCtrlCredit 成功");
}
设计

UART2_printf ("L2CAP_FlowCtrlCredit error=%d"、status);
}

我得到错误代码为0x18

 

请帮助我们解决此问题  

谢谢你  

Dnyaneshvar Salve