Tool/software:
Hi team,
Two modification suggest for the data_stream demo in F3 SDK 810:
1. My customer is using the DSS_sendNotification(),it uses malloc and free for the Notification data in every call of GATT_Notification(). But only free the buffer when status if not SUCCESS. I think it should free the data buffer when notification is successful.
2. We find a case when the status is blePending, code stucks in the while and I think it's not proper, becasue when it's blePending, the application should wait and check the status, and send command again when the status is SUCCESS. So I suggest this modification, please leave your comment here.