I experimented today:
I check if
returns anything larger zero, then execute
bleprofile_sendNotification(handle, data, (INT32) length);
and that should be sending the notification.
Before doing this, I update the GATT DB by using these:
unsigned int i; BLEPROFILE_DB_PDU tempPDU; i = bleprofile_ReadHandle(handle, &tempPDU);
Now I can memcpy my new data into the temporary PDU and rewrite it to the GATT DB:
Is this an acceptable solution?