-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Labels
Type: Feature RequestFeature Request for esp-serial-flasherFeature Request for esp-serial-flasher
Description
Is your feature request related to a problem?
Hello,
Most (or all) function in library are synchronous, Serial Receive/Transmit wait until it's finished.
I would like to use this library in Web/JavaScript with help of Emscripten, but it prefer asynchronous operations ( Serial/UART receive happen when not busy checking it ).
So question is how hard it would be to convert this library to asynchronous ?
Describe the solution you'd like
I see it as some type of state machine, with states / substates :
- Idle state
- Connecting
- Reading
- Flashing
- etc
Sub-states like:
- Idle
- Processing data
- Waiting for data receive (from Serial/UART )
- Waiting for data sent out (over Serial/UART )
Describe alternatives you've considered
Would be happy to hear possible alternatives...
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type: Feature RequestFeature Request for esp-serial-flasherFeature Request for esp-serial-flasher