Creating an attribute with a specific handle

Learn MoreFAQsTutorials

2 posts / 0 new
Last post
mark.palomer
Offline
Last seen:1 month 2 days ago
加入:2019-12-17 19:09
Creating an attribute with a specific handle

I am trying to modify the ble_app_peripheral example project to connect to an app that is sending a write request with a specific handle (in my case 0x0055). The ble_app_peripheral project as it is currently returns an error response with an invalid handle error code. How can I create an attribute with this handle number using version 6.0.12 of the SDK?

Device:
CYibin
Offline
Last seen:3 months 4 weeks ago
Staff
加入:2017-12-14 02:48
嗨mark.palomer,

嗨mark.palomer,

Please find the API: attm_svc_create_db()

You can set the start handle to the value as expected.

Br

宜宾