Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ping pong over websocket #564

Merged
merged 2 commits into from
Mar 10, 2023
Merged

ping pong over websocket #564

merged 2 commits into from
Mar 10, 2023

Conversation

KipK
Copy link
Collaborator

@KipK KipK commented Mar 10, 2023

let wifi module answer to ping over websocket
Handled on UIv2 (pingpong branch ) for proper disconnection/reconnection
( client send a ping if it hasn't received data for 5sec ) , tries 3 times each sec if it doesn't get an answer, then tries to reconnect to server ) . Behavior could be mirrored on UI1 too ( no need to send a ping each sec anymore )

jeremypoulter
jeremypoulter previously approved these changes Mar 10, 2023
src/web_server.cpp Outdated Show resolved Hide resolved
@jeremypoulter jeremypoulter dismissed their stale review March 10, 2023 11:34

See above

@jeremypoulter jeremypoulter merged commit cf8601a into OpenEVSE:master Mar 10, 2023
@KipK KipK deleted the pingpong branch March 10, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants