工具与软件:
您好!
使用 CC2340R5作为外设、GATT 服务器。 堆栈 F3 7.40.00.64。
我们希望生成一个事件、用于指示 GATT 清除已连接/断开与 GATT 服务器的连接。
未找到任何 API A GATT 客户端连接指示。
请提供建议。
谢谢!
Oren Fivlovich
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.
您好、Oren、
我看到、当外设和中央设备已连接、并且您在 GAP 级别收到 link_established_event 时、应该已经可以启动服务器/客户端交互(方法是发现 GATT 表、或者如果您知道该表的句柄、则直接进行写入/读取)。 但是、您还可以实施一种附加机制、通过写入/读取您知道的特性来确认您正在查找的此事件已发生、这意味着服务器和客户端之间已经可以进行交互。
如果这有帮助、请告诉我。
BR、
David。