Tool/software: TI-RTOS
Hi,
Based on the multi_role example, SimpleLink v 1.30.00.25.
if SIMPLEPROFILE_CHAR5_LEN is bigger than MAX_PDU_SIZE (minus something) then reading characteristics using Android phones fails after a timeout, with
- Error 133 (0x85): GATT ERROR
- Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST
The Heap, C-Stack, Task-Stacks look OK.
It is not possible to increase MAX_PDU_SIZE because there isn't enough RAM left...
I also tried updating the following without success:
simpleProfile_ReadAttrCB()
remove
return ( ATT_ERR_ATTR_NOT_LONG );
change
VOID memcpy( pValue, pAttr->pValue, MIN(maxLen,SIMPLEPROFILE_CHAR5_LEN) );
Thx,
Jerome