Other Parts Discussed in Thread: SYSCONFIG
Hi,
We are using basic_ble peripheral profile project with the following configuration for notification characteristics.
//**********************************************************************************************************************************
GATT_BT_ATT( characterUUID, GATT_PERMIT_READ, &simpleGattProfile_Char2Props ),
// Characteristic Value 2
GATT_ATT( simpleGattProfile_char2UUID, 0, &simpleGattProfile_Char2 ),
// Characteristic 2 configuration
GATT_BT_ATT( clientCharCfgUUID, GATT_PERMIT_READ |GATT_PERMIT_WRITE , (uint8 *) &simpleGattProfile_Char2Config ),
//**********************************************************************************************************************************
We are successfully enabling the notification from central device with above configuration.
but we want authentication to this notification characteristics( In order to secure connection with mobile device ). for that we tried the following configuration :
//**********************************************************************************************************************************
GATT_BT_ATT( characterUUID, GATT_PERMIT_READ, &simpleGattProfile_Char2Props ),
// Characteristic Value 2
GATT_ATT( simpleGattProfile_char2UUID, 0, &simpleGattProfile_Char2 ),
// Characteristic 2 configuration
GATT_BT_ATT( clientCharCfgUUID, GATT_PERMIT_AUTHEN_READ |GATT_PERMIT_AUTHEN_WRITE , (uint8 *) &simpleGattProfile_Char2Config ),
//**********************************************************************************************************************************
With above configuration we are getting success in void Menu_doEnableNotification(uint8 index) function. but actual data exchange is not happening.
Please provide the solution.
Regards,
Vignesh