I am trying to write a 251 byte characteristic from my ios device to my CC2640.
I am using a modified SimpleLink Academy ProjectZero.
I have set a predefined symbol in BLE stack project of MAX_PDU_SIZE = 255
All other threads regarding PREPARE_QUEUE_FULL seem to relate to different BLE stacks and/or sample projects, with hints that this issue would be addressed in future stacks.
In my case, I can confirm that the ios device sends the characteristic using my sniffer.
After a few packets, the BLE stack sends back a PREPARE_QUEUE_FULL error:
In searching the stack code, I find in att.h:
#define ATT_ERR_PREPARE_QUEUE_FULL 0x09 //!< Too many prepare writes have been queued
But, this in not used anywhere in the stack code.
How can I increase the PREPARE_QUEUE ?
Do I have to negotiate with ios device on size limits, if so, how do I use GATT_ExchangeMTU() and with what input values to it?
Thanks,
Dale
