JohnySeven / TWatchSK

TTGO T-Watch 2020 v1 supporting Signal K features for displaying boat data and controlling devices on board.
MIT License
9 stars 1 forks source link

Issue when no welcome message is sent from SK #52

Closed JohnySeven closed 3 years ago

JohnySeven commented 3 years ago

I just restarted my watch and see this in Serial Monitor:

I (6679) wifi:AP's beacon interval = 102400 us, DTIM period = 3 I (10079) tcpip_adapter: sta ip: 192.168.1.215, mask: 255.255.255.0, gw: 192.168.1.1 I (10089) WIFI: Got IP: 192.168.1.215 I (10089) WS: Detected Wifi=3 I (10089) WS: Socket status=0 I (10089) WS: Connecting socket to server 192.168.1.170:3000 I (10099) WS: Initializing websocket ws://192.168.1.170:3000/signalk/v1/stream?subscribe=none&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiI3MTU3NjJmNC05MTJhLTRmZWEtYTVhYi04YmY3OTI0Y2ZjNDMiLCJpYXQiOjE2MTc1OTIzMjd9.LKiMTtfbTm_L9IPzU8ipFh4pkNSRqG9torneqxzTgZk... I (10129) WS: Websocket initialized! I (10129) WS: Wifi is connected! Auto connect OK! I (10169) WS: Web socket connected to server! I (20189) WS: WEBSOCKET_EVENT_DATA I (20189) WS: Received opcode=10 W (20189) WS: Total payload length=0, > data_len=0, current payload offset=0 From the last few lines, I would guess that the watch is connected to the SK server, but there is no SK icon on the status bar, and I'm not getting updates for my two DynamicView pages. If I disable wifi, then re-enable it, it connects, then I start seeing an every-second flow of SK data.

JohnySeven commented 3 years ago

Fixed with latest PR #58, closing.