1421 Commits

Author SHA1 Message Date
Michael Zanetti
3d93407307 disable the auto reconnect from AWS, use our own logic instead
hopefully this bypasses the SIGSEGV in the libaws when this happens
2019-04-02 01:02:45 +02:00
Michael Zanetti
520a39a1a7 fix reloading of supported devices when language changes 2019-04-02 01:02:45 +02:00
Michael Zanetti
9dcec7258d fix logic when there are no paired devices yet 2019-04-02 01:02:45 +02:00
Michael Zanetti
3128860122 decrease keepalive timeout to 30 secs, now that aws billing has changed 2019-04-02 01:02:45 +02:00
Michael Zanetti
6353b5bc96 cache topics we're already subscribed to 2019-04-02 01:02:45 +02:00
Michael Zanetti
5b4b67454d don't post ack's to Janus
he doesn't use them anyways and might cause it to print warnings
2019-04-02 01:02:45 +02:00
Michael Zanetti
01110ad0ba fix a crash when an async reply comes in but the transpost has vanished meanwhile 2019-04-02 01:02:45 +02:00
Michael Zanetti
038b5036e3 fix caching the synced name 2019-04-02 01:02:45 +02:00
Michael Zanetti
afcd034596 fix IsCloudConnected call
which might return true even though we're not able to register the device
2019-04-02 01:02:45 +02:00
Michael Zanetti
87280f8cae increase keep alive timeout to aws 2019-04-02 01:02:45 +02:00
Simon Stürz
1aa4fd3bba Clean up debug output and duplicates 2019-04-02 01:02:45 +02:00
Simon Stürz
fff63c2b18 update avahi service if server name changes 2019-04-02 01:02:45 +02:00
Simon Stürz
39c7d9b0a1 Add update server name for avahi txt record 2019-04-02 01:02:45 +02:00
Michael Zanetti
b109992080 remember when the name in the cloud is set 2019-04-02 01:02:45 +02:00
Michael Zanetti
a054f6c9d7 implement setName functionality 2019-04-02 01:02:45 +02:00
Michael Zanetti
c446154b7d bump json version 2019-04-02 01:02:45 +02:00
Michael Zanetti
f563be8d40 AWS disconnect fixes 2019-04-02 01:02:45 +02:00
Michael Zanetti
46a61e3ccc delay reconnecting a little bit to allow the cloud to settle things 2019-04-02 01:02:45 +02:00
Michael Zanetti
33095f4dbe add API to check if cloud is connected 2019-04-02 01:02:45 +02:00
Michael Zanetti
61c20e2001 add more debug prints 2019-04-02 01:02:45 +02:00
Michael Zanetti
42eee3dcf5 update api json 2019-04-02 01:02:45 +02:00
Michael Zanetti
bb47abd585 fix subscribing to topic after first pairing 2019-04-02 01:02:45 +02:00
Michael Zanetti
5337f225eb add keepalive api 2019-04-02 01:02:45 +02:00
Michael Zanetti
28ce8b8b24 decrease timeouts, fix initial subscription topic 2019-04-02 01:02:45 +02:00
Michael Zanetti
0b27f7f7d3 fix parsing of topics 2019-04-02 01:02:45 +02:00
Michael Zanetti
28b518107b bump api version and clean up config methods 2019-04-02 01:02:45 +02:00
Michael Zanetti
072e93cbfc cleanup comments from review 2019-04-02 01:02:45 +02:00
Michael Zanetti
2da8c937ab fix method definition of SetCloudEnabled 2019-04-02 01:02:45 +02:00
Michael Zanetti
0078bd1d0c fix another bug 2019-04-02 01:02:45 +02:00
Michael Zanetti
403a78d029 more work after testing with Luca 2019-04-02 01:02:45 +02:00
Michael Zanetti
a0371a0133 add a config option for enabling/disabling the cloud 2019-04-02 01:02:45 +02:00
Michael Zanetti
6aa8ad8a5d rework AWS connection setup
should be much more robust now
2019-04-02 01:02:45 +02:00
Michael Zanetti
d1cf89e3db improve logging 2019-04-02 01:02:45 +02:00
Michael Zanetti
01d2cb4407 update code to use real ids instead of dummies (client id still hardcoded) 2019-04-02 01:02:45 +02:00
Michael Zanetti
8990697c4e add some more logging, also hack-subscribe for the current tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
94c2b90e4a skip crearte/device logic for now 2019-04-02 01:02:45 +02:00
Michael Zanetti
a2cffbc5fc +use real id 2019-04-02 01:02:45 +02:00
Michael Zanetti
896f5e73a7 make it build with older qt 2019-04-02 01:02:45 +02:00
Michael Zanetti
c040a71cdb some more work for latest api changes 2019-04-02 01:02:45 +02:00
Simon Stürz
a2b55cfc2f remove duplicated handshake method 2019-04-02 01:02:45 +02:00
Michael Zanetti
002882e085 update create/device call according to latest api specs 2019-04-02 01:02:45 +02:00
Michael Zanetti
b4eb5fb423 update create/device call according to latest api change 2019-04-02 01:02:45 +02:00
Michael Zanetti
949583ed93 introduce "Traffic" and "Debug" categories and change command line parsing to allow override -p 2019-04-02 01:02:45 +02:00
Michael Zanetti
43eba94b87 unify server and device uuid 2019-04-02 01:02:45 +02:00
Michael Zanetti
7a409f7aa9 use proper id 2019-04-02 01:02:45 +02:00
Michael Zanetti
53b804d0f3 bump json api version 2019-04-02 01:02:45 +02:00
Michael Zanetti
d796a0fc23 update licensecheck script to include Apache license 2019-04-02 01:02:45 +02:00
Michael Zanetti
48dd6a5347 add missing license headers 2019-04-02 01:02:45 +02:00
Michael Zanetti
a31adc5a18 more stabilizing, new api changes added 2019-04-02 01:02:45 +02:00
Michael Zanetti
cef689c292 fixes 2019-04-02 01:02:45 +02:00