Skip to content

How can i restart WebSerial? #111

@git-hub-user-77

Description

@git-hub-user-77

So, I have ended up using webserial (v1.4 if it makes a difference) in some of my projects that are mains line powered - it's great for doing stuff i normally would on the serial terminal but can't easily do when the device is mains powered and the serial port is not isolated.

But my wifi code will look for and reconnect to a stronger base station at intervals (same network, served by multiple access points) and it seems WebSerial doesn't like that. The page will refresh, but it does not respond - for example i have an "s" command to query status and it stops responding to that command after a wifi reconnect.

How can i stop and restart WebSerial from my code after my wifi reconnect counter tells me i have reconnected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions