I have a legacy system which must communicate with an BGM111 to offer a custom GATT service. As I can't use your BGAPI libs or generated code in the legacy part, How can I know the GATT handlers in order to call functions like cmd_gatt_server_write_attribute_value?
For example in the provided .isc example. Which handler will correspond to each custom characteristic?
If you know the UUID of the characteristics you can always discover the GATT from the client side with gatt_discover_characteristics.
The handle numbers are created after you build the GATT, you can find them in gatt_db.h.
I realize now I didn't set any ID on my example so the characteristic's handlers weren't in the gatt_db.h