A new BLE service does not show up in app_gatt_db.db_ file after a clean error free rebuild.
Adding a new service with CSR101x SDK-184.108.40.206 does not get exposed in gatt. Infact the service_db.db file has no affect on the application, or the app_gatt_db.db_ file.
How would I add a service, custom or not, into an existing working profile and get the service exposed? Simply adding the service_db.db file into the compiler's "GATT db files" folder, and the other supporting service files, is not sufficient to get the service exposed.
The simple example is to start off with the hr_monitor example application. Then simply try and add a new service, say a "Blood Presure" service. Adding the files: bp_service*.c/h, bp_service_db.db, and bp_service_uuid.h is not enough to completely add the service.
What am I missing?
Thanks in advance.
It turns out that you need to include the new "service_db.db" file into the "app_gatt_db.db" file.
The "app_gatt_db.db" file is nothing more than a list of included *.db files. You must add your newly created service_db.db file into this file as an include. Now the file "depend_Release_CSR101x_A05\app_gatt_db.db_" contains the newly added service, which can now be discovered.
You need also to edit the last record "period" at the end of the db text ","
we are facing the similar issue, can you help us out?