We are working on a custom board based on DA14681. In our application the normal scnerio is that device records temperature and stores it in eeprom. After several days when user connects the device with BLE app. All offline data gets transferred to the mobile.
Our eeprom size is 256KB and packet size is 10 Bytes, so we need to send 25600 packets, and right now we are transferring data via a BLE service.
Here is the flow :
1 - Mobile app makes the connection with the device.
2 - Mobile app request a read characteristics of the particular service.
3 - DA14681 returns the data bytes that were requested.
So mobile app constantly make a read request and firmware sends the value.
In this method the speed of data transfer is very slow. Aproximately 2 packets per seconds which means it will take 3.5 Hours to send all packets to the mobile app.
My question is ,, is there a fast method to do it? Because 256 KB data is not too big to send in hours.. I m missing something here..