enbility / ship-go

EEBUS SHIP protocol implementation in go
https://enbility.net
MIT License
5 stars 4 forks source link

Improve reconnect attempts #28

Closed DerAndereAndi closed 1 month ago

DerAndereAndi commented 1 month ago

If a remote device closed the connection, e.g. trust not approved or websocket i/o error, then the reconnection attempt did only happen when the mDNS entry of the remote service was republished.

To fix this, automatically use the already known mDNS entries for a reconnect attempt.

coveralls commented 1 month ago

Coverage Status

coverage: 90.67% (+0.09%) from 90.577% when pulling 55d34329afec321224bcfc5bdf13b43250bd89f0 on feature/reconnect into bf253b9e3a8a26f0c68f48763e160afb6d66b0db on dev.