Michael Zanetti
aede5f2afa
add a hack for meeting the zapf deadline
...
disable having a device per phone endpoint. instead just register a single device
and broadcast stuff to /everyone until the cloud and app are updated for this
2019-04-08 13:55:15 +02:00
Michael Zanetti
6334496c8c
update endpoints when a device is paired on the fly
2019-04-08 13:55:15 +02:00
Michael Zanetti
c1d4adea17
register the cloud service as a plugin in the devicemanager
...
implementing the notifications interface
2019-04-08 13:55:15 +02:00
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
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
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
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
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
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
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
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
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
0f262116b6
implement node js bridge, mostly working, some issues still
2019-04-02 01:02:45 +02:00
Michael Zanetti
275e3b3921
added cloud connection
2019-04-02 01:02:45 +02:00