GATT Server unregister during runtime in Zephyr

Hi, 

I have a GATT server defined with this macro

BT_GATT_SERVICE_DEFINE


If I want to unregister it during runtime, how would I go about it? I saw some APIs in gatt.h , but the macro definition obfuscates a lot of details so I wasn't sure how to access the right data 
for 
struct bt_gatt_service *svc

I'm guessing I can pass in the above information into bt_gatt_service_unregister to remove a service. 
Parents
  • I hope this email finds you well.

    I am writing to request the datasheet for the NRF31562 chip. This chip is used in the dongle of my wireless mouse, which has recently malfunctioned. In order to diagnose and repair the issue, I need the datasheet to understand the surrounding components and their specifications.

    Unfortunately, I have been unable to find the datasheet online, and the links I have come across are not working. I would greatly appreciate it if you could provide me with the datasheet or direct me to a source where I can obtain it.

    Thank you very much for your assistance

Reply
  • I hope this email finds you well.

    I am writing to request the datasheet for the NRF31562 chip. This chip is used in the dongle of my wireless mouse, which has recently malfunctioned. In order to diagnose and repair the issue, I need the datasheet to understand the surrounding components and their specifications.

    Unfortunately, I have been unable to find the datasheet online, and the links I have come across are not working. I would greatly appreciate it if you could provide me with the datasheet or direct me to a source where I can obtain it.

    Thank you very much for your assistance

Children
Related