Hello,
Follow this example "http://processors.wiki.ti.com/index.php/SerialBLEbridge".
I want to remove some characteristics.
If i remove "Device Information Service" ( //DevInfo_AddService(); ), Characteristic3 will not receive any data but it can be listened.
And i have tried to modify Profile Attributes - Table, but characteristic 3 is not working.
/*********************************************************************
* Profile Attributes - Table
*/
static gattAttribute_t devInfoAttrTbl[3] =
{
// Device Information Service
{
{ ATT_BT_UUID_SIZE, primaryServiceUUID }, /* type */
GATT_PERMIT_READ, /* permissions */
0, /* handle */
(uint8 *)&devInfoService /* pValue */
},
// Firmware Revision String Declaration
{
{ ATT_BT_UUID_SIZE, characterUUID },
GATT_PERMIT_READ,
0,
&devInfoFirmwareRevProps
},
// Firmware Revision Value
{
{ ATT_BT_UUID_SIZE, devInfoFirmwareRevUUID },
GATT_PERMIT_READ,
0,
(uint8 *) devInfoFirmwareRev
}
};
How can i fix it?
Thanks.