Transfer big data via bluetooth/ble?
Posted: Sun Apr 05, 2020 5:49 pm
I am currently building a project with following vision:
- buffers motion data on the ESP32 in a file -> send this data after a while (once per hour) to an app (iOS/Android)
-> working approach:
--> App connect to ESP32 via BLE -> WORKING
--> App sends data to ESP (trigger for ESP to send saved motion data back) -> WORKING
--> ESP sends all the saved motion data to the App -> PROBLEM
I tried to send data via BLE (BLECharacteristic) and this works with small data (~50byte).
Currently I'm saving the motion data as a String -> final I wanna save it binary (todo for later)
Current Chip: esp32-wrover-b
Library: https://github.com/nkolban/ESP32_BLE_Arduino
Questions:
- How can I send large data via Bluetooth/BLE?
- Is there a difference between BLE and Bluetooth on the ESP32?
- Is my described approach above best practice or is there potential for optimization?
I think/hope that this is not to difficult - there are so many smart-trackers on the market which save and send data in a similar way
I have some experience with arduinos and esps but not so much with Bluetooth.
Thank you for your support
- buffers motion data on the ESP32 in a file -> send this data after a while (once per hour) to an app (iOS/Android)
-> working approach:
--> App connect to ESP32 via BLE -> WORKING
--> App sends data to ESP (trigger for ESP to send saved motion data back) -> WORKING
--> ESP sends all the saved motion data to the App -> PROBLEM
I tried to send data via BLE (BLECharacteristic) and this works with small data (~50byte).
Currently I'm saving the motion data as a String -> final I wanna save it binary (todo for later)
Current Chip: esp32-wrover-b
Library: https://github.com/nkolban/ESP32_BLE_Arduino
Questions:
- How can I send large data via Bluetooth/BLE?
- Is there a difference between BLE and Bluetooth on the ESP32?
- Is my described approach above best practice or is there potential for optimization?
I think/hope that this is not to difficult - there are so many smart-trackers on the market which save and send data in a similar way
I have some experience with arduinos and esps but not so much with Bluetooth.
Thank you for your support