Tool/software: Code Composer Studio
Hi all,
why after pairing, if I write a data on WRITE characterstic, on NOTIFT characteristic is not reading the data?
My configuration as PAIRING is:
#define DEFAULT_MITM_MODE TRUE
#define DEFAULT_BONDING_MODE FALSE
#define DEFAULT_IO_CAPABILITIES GAPBOND_IO_CAP_DISPLAY_ONLY
PROFILES:
// DataIn Characteristic Value
{
{ ATT_UUID_SIZE, SimpleStreamServer_DataInUUID },
GATT_PERMIT_ENCRYPT_WRITE,
0,
SimpleStreamServer_DataInVal
},
// DataOut Characteristic Declaration
{
{ ATT_BT_UUID_SIZE, characterUUID },
GATT_PERMIT_READ,
0,
&SimpleStreamServer_DataOutProps
},
// DataOut Characteristic Value
{
{ ATT_UUID_SIZE, SimpleStreamServer_DataOutUUID },
0,
0,
SimpleStreamServer_DataOutVal
},
// DataOut CCCD
{
{ ATT_BT_UUID_SIZE, clientCharCfgUUID },
GATT_PERMIT_ENCRYPT_READ | GATT_PERMIT_ENCRYPT_WRITE,
0,
(uint8 *)&SimpleStreamServer_DataOutConfig
},
I've already tried to do SimpleStreamServer_DataOutConfig without ENCRYPTION but don't work...
PLEASE A NEED AN EXAMPLE OF TI WHERE IS IMPLEMENTED AS ABOVE I EXPLAINED.
Regards,
Alfredo