Tool/software: TI-RTOS
Hello
I use CC2640 to develope BLE central device and use 3-party chip (Dialog )to be BLE peripherl device.
I use cc2640 to upgarde BLE peripheral device and need upgrade several devices continuously.
I try to write 240bytes to peripheral device one time and repeat around 145 times per device for upgrading FW image.
Somehow if gateway upgrade 7-8 devices continuously, gateway would receive msg_buffer_not_avail error message.
And gateway could not upgrade any other devices with receiving the same error message.
Please refer to the following code .
req.pValue = GATT_bm_alloc(connHandle, ATT_WRITE_REQ, 240, NULL);
retVal = GATT_WriteNoRsp(connHandle, &req);
Afer increasing MAX_PDU_SIZE as 255 and modify MAX_NUM_PDU to 6,
The best total for upgarde pherial deives is around 170 devices,
And gateway still get the same error message (msg_buffer_not_avail), the following devices could not be upgrade.
For my project need use CC2640 upgrdae around 2000 peripheral devies.
Please help on the issue, thank you