Hello,
I am using CC2541 SimpleBLEPeripheral project. I have few queries on Attribute table and related issues.
1) To my understanding, Attribute table is created in the order where Services are added. In that case whether can I change the order
// Initialize GATT attributes
DevInfo_AddService(); // Device Information Service (0x180A)
GGS_AddService( GATT_ALL_SERVICES ); // GAP (0x1800)
GATTServApp_AddService( GATT_ALL_SERVICES ); // GATT attributes (0x1801)
SimpleProfile_AddService( GATT_ALL_SERVICES ); // Simple GATT Profile
2) Is it mandatory to have GAP (0x1800) and GATT (0x1801) services. The "service_changed" characteristics is Optional in GATT service. Then in that case whether can I comment GATT service
//GATTServApp_AddService( GATT_ALL_SERVICES ); // GATT attributes (0x1801)
3) For "Device Information" service (0x180A) I removed optional Characteristic declarations, by deleting them from devInfoAttrTbl[]. The same I want to do in case of GAP (0x1800) service. Since it is part of library, how to remove optional Characteristics. Other than "Device Name" I want to remove other Characteristic Declarations. Is there any mask variable or any other ways to do.
Thanks & Regards
Vishnu Beema