This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GATT

I have the weird problem that need some help.

We created a profile in our design.  

The routine abeacon_ReadAttrCB is not executed even though all the function declaration are correct and look normal.

// Simple Profile Service Callbacks

CONST gattServiceCBs_t abeacon_CBs =
{
abeacon_ReadAttrCB, // Read callback function pointer
abeacon_WriteAttrCB, // Write callback function pointer
NULL // Authorization callback function pointer
};

status = GATTServApp_RegisterService(abeaconAttrTbl,
GATT_NUM_ATTRS(abeaconAttrTbl), 
GATT_MAX_ENCRYPT_KEY_SIZE,      //This is new parameter to support SDK 2.1
&abeacon_CBs);
}

The application calls 

Abeacon_AddService(GATT_ALL_SERVICES);

(I use Btool to scan, connect, and use the command "GATTdiscCharsdesc"

I do not see the function abeacon_ReadAttrCB executed and the display of information of the profile are all wrong.

The other profiles are detected and display information correctly.