工具/软件:
您好、专家:
1、CC2755R10 是否支持“服务更改“?
我们的客户希望更改 GATT 服务和特性。
2.如有可能, 是否需要断开 BLE 连接才能使用“服务已更改“?
此致、
A. Fujinaka
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.
您好!
F3 SDK API 不提供任何允许添加单个特性的函数。 但是、它允许添加和删除整个服务、方法是使用函数 GATTServo App_Register 和 GATTServo App_Deregister。这些功能不需要用户断开 BLE 连接、但它确实需要一种方法来通知中心端服务已更改。
这可以通过使用 服务更改特性来实现。 外设会使用上述 API 函数更改其 GATT 服务、然后向服务更改特性发送指示以通知中央器件。 然后、中央器件需要重新发现 GATT 表、就像当前在客户固件中一样。
此致、
Maxence