cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG - Deleting service/characteristic

Posted on June 01, 2016 at 16:45

Hello,

I tried to delete the characteristics and the service that I created but I didn't succeed.

I used the commands aci_gatt_del_char and aci_gatt_del_service but it didn't work. If I understand, I have to give the handlers of the service and/or characteristics as parameters, so I tried to delete them directly after creating them when aci_gatt_add_serv and aci_gatt_add_char give me the handlers. It always answer me 0xFF (timeout).

I tried to reset the component before, I tried to delete them at the beginning of the initialization (before creating the service/characteristics) but it's always the same result.

Apart of this, I managed to communicate with the BlueNRG.

Any help or suggestions would be appreciated.

Regards

Nicolas

1 REPLY 1
Posted on June 30, 2016 at 12:13

Dear customer,

in attach you can find a script that explain how to perform service and characteristic deletion.

I have used a BlueNRG-MS with fw stack version 7.1.

To run script using the GUI, please, rename txt file as py file.

Let me know if you are able to do this.

Regards,

Graziella

________________

Attachments :

delete_service_and_char.csv : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht2I&d=%2Fa%2F0X0000000aJ8%2FZOtoH.b3t5Xfbpg4Cd3Y9UwtHq.lxAWFJGRraC6fC.w&asPdf=false

delete_service_and_char.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht2N&d=%2Fa%2F0X0000000aJ9%2F4mYMZqLjWjnnTw2QonUFdNeGmKZBT7NMVcp04kKgSNs&asPdf=false