21 Commits

Author SHA1 Message Date
Michael Zanetti
4a9859579a more iOS reachabilitty tuning 2023-01-27 14:31:50 +01:00
Michael Zanetti
71b1885004 Fix frequent reconnects on iOS
Tries to guess the used bearer type on iOS and only reconnect
if that one changes.
2023-01-25 22:49:53 +01:00
Michael Zanetti
d00540e864 Improve managing of manual connections 2022-12-16 15:50:38 +01:00
Michael Zanetti
dee1aa4e04 Add iOS specific implementation for the networkreachabilitymonitor 2022-09-06 13:25:39 +02:00
Michael Zanetti
2633bc4e40 Add a network reachability monitor class 2022-09-06 11:34:17 +02:00
Michael Zanetti
a7a3c15abe Add a zigbee network topology map 2022-09-03 02:09:28 +02:00
Michael Zanetti
a6318b4987 Fix connecting via preferred connection 2022-02-20 16:14:43 +01:00
Michael Zanetti
ee3c8ce7d2 Clean up preferred connection if it vanishes 2022-02-16 12:44:27 +01:00
Michael Zanetti
9fcdbafda4 Tune reconnecting after deep sleep 2021-12-17 01:17:34 +01:00
Michael Zanetti
0dba5ef33e Don't wait for all transport candidates to fail before retrying 2021-12-16 14:56:52 +01:00
Michael Zanetti
b517e0151c Fixes in NymeaConnection 2021-12-01 00:40:28 +01:00
Michael Zanetti
5c13fb8eb8 Immediately delete a disconnected transport to prevent obsolete events from buffers 2021-11-30 10:59:47 +01:00
Michael Zanetti
5e84cb09f8 Use dynamic app name for remote proxy connection 2021-05-07 00:22:51 +02:00
Michael Zanetti
7455d9ba23 Only start the reconnect timer once 2021-03-31 23:42:41 +02:00
Michael Zanetti
f36b36f8da Move AppLogController into libnymea-app 2021-03-14 01:17:26 +01:00
Michael Zanetti
986714c9e1 Fix encryption flag erraneously set for "ws" connections
This could cause the client to think that there is a certificate
mismatch if there is a pinned certificate for this host already
and we then connect to an unecrypted ws socket.

Also, disconnect clients before raising the certificate mismatch
error in case a client implementation would just ignore this
and reconnect syncronously right way.
2021-01-23 14:04:33 +01:00
Michael Zanetti
0d6efe586e Retry the connection if the discovery finds more URLs for a host after we tried to connect 2021-01-14 00:23:15 +01:00
Michael Zanetti
293d435346 Clean up warnings in code 2021-01-05 19:06:02 +01:00
Michael Zanetti
edc1fb357f Rework main menu 2020-11-28 17:23:13 +01:00
Michael Zanetti
6f1a847f15 Improve certificate handling 2020-04-19 14:03:34 +02:00
Michael Zanetti
b5eab4d8b9 Get going with better grouping 2020-03-26 23:31:42 +01:00