emfcamp / TiDAL-badge-webserial

A web interface for badge.team-firmware badges using WebSerial
Other
3 stars 2 forks source link

Prevent attempt at reset on connect #5

Closed MatthewWilkes closed 2 years ago

MatthewWilkes commented 2 years ago

Soft-resetting the badge makes sense when dealing with non-native USB, but as we are connected over an CDC-ACM tty that's instantiated after ESP boot, we cannot reset without losing the port. In fact, the TiDAL does not implement the reset hint over USB DTS/RTS lines, so all this does is disable the port with flow control.