As I came to understand, all the services & characteristics are registered in a "GATT table" of some sort, so my question:
-
What are the functions used to create and subsequently maintain this table? I can't find the relevant struct, which is strange because if there is a attribute/property table of some sort, I usually need to configure "it", which usually is a struct.
-
Are there "default" services? By that I mean services that comes with a GATT connection, something which you don't have to declare explicitly using any function. I ask this because I have a program that invoke sd_ble_gatts_service_add once, yet I can view 3 on my android device, 2 of which (the ones that weren't "intentionally" created by me) start with UUID 0000 1800.
-
If I want to read or write to certain characteristics, I need to first enable them. It can be done on both central & peripheral devices, right?