Part Number: CC2642R
Hi Team,
When we, as the server, call the application memory interface ‘void *GATT_bm_alloc(uint16 connHandle, uint8 opcode, uint16 size, uint16 *pSizeAlloc)’ before ‘Send an ATT Notification/Indication’:
1). When the requested size is set to GATT_MAX_MTU (0xFFFF), the requested memory is 20 bytes. Why would this happen? Regardless of the MAX_PDU_SIZE set in our syscf, and the fact that MTU request initiated by the client is more than 23 bytes, the final memory requested is 20 bytes.
2). Is the memory allocated by this interface not limited by MAX_PDU_SIZE? When the size is set to 100/200/500, the MAX_PDU_SIZE set in syscfg is 69, and finally the corresponding memory 100/200/500 can be obtained.
Kind regards,
Katherine