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.

[参考译文] CC2564MODA:ATT (属性)错误处理

Guru**** 2589280 points
Other Parts Discussed in Thread: CC2564MODA

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/940050/cc2564moda-att-attribute-error-handling

器件型号:CC2564MODA

您好!

我们使用的是 CC2564MODA 蓝牙模块和 Bluetopia 栈。   

我们创建了具有 Rx 和 Tx 两个特征的 BLE 服务数据库。 并实现了一次 GATT 事件回调、以从这些特征读取和写入。  

我的问题是有关属性的错误处理。 如果 central 尝试使用无效句柄或无效 UUID 进行读取、我们是否需要应用程序级别的响应错误、该句柄无效? 或栈本身会回答句柄或 UUID 无效。

此致、

Bhagyashri  

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

    Bhagyashri

    我认为代码中存在一个错误条件、会检查这一点、并会发送错误响应来确定不正确的特性。

    请确认您的代码中包含此内容。

    BR、

    Vince