Hello,
We are working on establishing a connection between one of our existing Bluetooth modules (cypress) and nordic based module to provide backward compatibility with the product line.
As of now we are able to customize the GATT characteristics of the module but handle assign by the nRF SDK are different as compared to CYPRESS module.
Is there any way that we can configure/assign the handle for a specific characteristic.
If yes, can you please provide us with example or any documentation, please refer the below code which will give you a brief about how we are customizing the GATT characteristics and services
BT_GATT_SERVICE_DEFINE(Unknown_serv, BT_GATT_PRIMARY_SERVICE(Unknown_SERVICE), BT_GATT_CHARACTERISTIC(TEMP1_CHAR,BT_GATT_CHRC_WRITE|BT_GATT_CHRC_INDICATE|BT_GATT_CHRC_NOTIFY,BT_GATT_PERM_READ,NULL,NULL,NULL), BT_GATT_CCC(NULL, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE), BT_GATT_CHARACTERISTIC(TEMP2_CHAR,BT_GATT_CHRC_WRITE,BT_GATT_PERM_READ,NULL,NULL,NULL), BT_GATT_CHARACTERISTIC(TEMP3_CHAR,BT_GATT_CHRC_READ,BT_GATT_PERM_READ,NULL,NULL,NULL));
Let us know if we are missing anything or you need any more information from us.
Thanks & Regards,
Siddhant