Other Parts Discussed in Thread: SYSCONFIG, CC2340R5
Tool/software:
I am working on a BLE data collection sensor based on the simple peripheral OAD off chip example.
I am trying to increase my data throughput for a BLE sensor and am running into an issue where it seems the GATT buffer for one of the Notifying Characteristics fills up faster than it is emptied. My fw application is hanging within the gattServApp_SendNotiInd() function at the call to GATT_Notification().
I am trying to send a buffer of records that is about 32 KB in size. Previously, I was sending a single data record and header with total payload of 18 bytes per notification transmission. Theoretically I should be able to send 15 records and a header per notification with a payload totaling 242 bytes as this is less than MAX_PDU_SIZE (251). However, when I increase the notification to just include 4 records (66 bytes total) the application hangs at GATT_Notification() after it returns a value of 4 after sending 10 notifications in a row.
It seems an older post had a similar issue but the efforts to resolve were taken off the forum in order to share the project. Can someone share with me the resolution?