Project Description
I’m building a product around an ESP32 and need a clean, reliable firmware layer that handles both Bluetooth Low Energy and Wi-Fi. The two core responsibilities are device connectivity and on-demand data transmission.
Here’s what I expect the software to do:
• Seamlessly switch between or simultaneously maintain BLE and Wi-Fi links to smartphones and tablets.
• Expose a simple, well-documented API so the application layer can request or push data whenever needed rather than streaming constantly.
• Keep connections stable, recover gracefully from dropouts, and report status events (connected, disconnected, data sent, error, etc.).
• Offer secure pairing/authentication on BLE and WPA2 on Wi-Fi.
• Remain lightweight so sleep routines and future power-management hooks can be added later.
. OTA function
Deliverables
1. Fully-commented source code
2. Build instructions plus flashing script.
3. A brief markdown document describing public functions, expected inputs/outputs, and any required mobile-side settings.
4. Demonstration sketch or test app showing successful on-demand transfer to a phone or tablet over both radios.
Acceptance criteria
• Connection to an iOS or Android device in under 3 seconds.
• Successful bidirectional data request/response with ≤150 ms latency on Wi-Fi and ≤300 ms on BLE.
• No memory leaks 12h of idle connection.
If you’ve tackled similar dual-radio firmware before, I’d love to see a snippet or reference link when you respond—will speed up our kickoff.