JohnySeven/TWatchSK

BUG: SK Server screen doesn't show server address nor the server version

Closed this issue · 6 comments

This is from a connected watch:
image

That means welcome message didn't arrive for some reason. Maybe we could add something else there if that occurs?

I see where the "welcome message" is parsed and the server version is saved as a data member of SignalKSocket. Is there a way - once we're connected to SK Server - to request the version from the server? Then we could request it whenever we don't get the message. (I've asked on Slack if there's a way.)

The server address seems to come only from the Signal K Settings page, when the user enters it. (That's the only time SignalKServer::set_server() is called.) So it seems like we would always be able to display that on the Signal K Settings page - but maybe not?

I have an idea - let's just delete these fields from the watch! We know the server address - it's what the user input immediately below this field. And why do we need to know the server version when we're looking at the watch? If we want the server version - look at the server!

Agreed, let's do this!

OK, I will make the PR.

Removed with PR #81.