53 Commits

Author SHA1 Message Date
Michael Zanetti
f398cd3379 Remove displayNameEvent property from stateTypes 2022-08-07 12:53:38 +02:00
Simon Stürz
1e2d4b33cf Add new line for proxy connection in order to support tcp paket splitting 2022-03-15 15:44:02 +01:00
Simon Stürz
836e0a5e14 Default remote connection to TCP connection and handle connection type appropriate 2022-03-09 17:45:42 +01:00
Michael Zanetti
343d4a8c86 Remove cloud push notifications
Note: This doesn't remove 100% of the related code yet, just keeps
the minimum required to emit autoThingDisappeared() for all the
things and clean up users setups.

The rest of the CloudNotifications class code shall be removed
with 0.31 (or soonish after that).
2021-11-18 00:12:05 +01:00
Jenkins nymea
bd570c58b9 Merge PR #420: Fix some includes to be more flexible on finding headers 2021-05-21 15:13:49 +02:00
Michael Zanetti
167187a4fb Fix some includes to be more flexible on finding headers 2021-05-11 22:41:42 +02:00
Michael Zanetti
5964bfc598 Fix AWS reconnect if connecting stalls unexpectedly 2021-05-06 22:40:26 +02:00
Michael Zanetti
a3e3d9a974 Use pkgconfig for libnymea-remoteproxyclient 2021-04-18 21:47:27 +02:00
Michael Zanetti
c7f957f201 some more python plugin work 2020-10-15 22:34:06 +02:00
Jenkins nymea
48fb5f7edb Merge PR #292: Check for cloud certificate file before trying to connect 2020-06-07 19:16:23 +02:00
Jenkins nymea
94152ebe78 Merge PR #287: Drop internal networkmanager and use libnymea-networkmanager instead 2020-06-07 19:16:23 +02:00
Michael Zanetti
2fa0730c90 Check for cloud certificate file before trying to connect 2020-05-13 19:07:22 +02:00
Michael Zanetti
9f856f3ce9 Add support for generic IO connections 2020-05-01 14:43:23 +02:00
Michael Zanetti
58c4dcb6c9 Drop internal networkmanager and use libnymea-networkmanager instead 2020-04-23 15:08:02 +02:00
Michael Zanetti
3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +01:00
Michael Zanetti
b12e203572 Fix some smally memory leaks reported by valgrind 2020-02-09 15:54:23 +01:00
Michael Zanetti
8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti
7d615293c5 Use a more unique nonce for the remote connection 2020-01-10 13:31:31 +01:00
Michael Zanetti
7374652121 Subscribe to the entire device namespace in nymea:cloud NQTT
This allows the REST proxy to establish remote connections.
2020-01-05 20:37:13 +01:00
Michael Zanetti
7f0f2d1d09 Rework devicemanager and plugin api 2019-10-16 17:56:49 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00
Jenkins
835a5f1d63 Merge PR #168: Rename vendor 2019-06-19 23:52:18 +02:00
Jenkins
13766e865f Merge PR #163: Don't use namespaces in headers in an inheritative way. 2019-06-19 23:52:18 +02:00
Michael Zanetti
25457c6210 Rename vendor guh to nymea for cloud plugin too 2019-05-16 23:05:50 +02:00
Michael Zanetti
31aaa54d35 Always try to connect to the cloud if it's enabled by settings. 2019-05-09 18:36:58 +02:00
Michael Zanetti
ec727a1165 Don't use namespaces in headers in an inheritative way. 2019-05-09 18:33:26 +02:00
Michael Zanetti
b1d1a89261 Drop logic to retrieve dynamic turn credentials 2019-04-22 22:37:58 +02:00
Michael Zanetti
50aa691087 Add test, fix some issues with loading internal and built-in plugin translations 2019-04-08 16:49:31 +02:00
Michael Zanetti
948eff8319 Drop Janus and WebRTC support 2019-04-08 13:55:15 +02:00
Michael Zanetti
309240ed47 Support providing a custom remote proxy url 2019-04-08 13:55:15 +02:00
Michael Zanetti
69de953d5e make it more solid 2019-04-08 13:55:15 +02:00
Michael Zanetti
bd84f5c633 revert part of the fix, it makes it crash 2019-04-08 13:55:15 +02:00
Michael Zanetti
1094f589d1 Small fixes in AWS connection
* Fix uncategorized debug print
* Disable the mqtt lib's autoreconnect feature as AWS doesn't support that
* Manually reconnect on errors too
2019-04-08 13:55:15 +02:00
Michael Zanetti
1d903862ed replace emqtt with nymea-mqtt 2019-04-08 13:55:15 +02:00
Michael Zanetti
c7f4dda9d3 check for duplicates when an update comes in 2019-04-08 13:55:15 +02:00
Michael Zanetti
f243d383e4 Revert "add a hack for meeting the zapf deadline"
This reverts commit 8df8d70535e08dcc949e7839f216a8a48bcb9f54.
2019-04-08 13:55:15 +02:00
Michael Zanetti
2d98e9d6b9 Rafactor Packet fragmentation
- Move Json packet fragmentation into the JsonRpcServer.
  This way we only have to do it once.

- fixes a bug in TcpServer and BluetoothServer
  where multiple clients would corrupt each others buffer

- fixes a bug in CloudTransport where it would leak client
  sockets after a remote connection disconnect
2019-04-08 13:55:15 +02:00
Michael Zanetti
6d2ab278a8 don't emit connected() when we've already been connected 2019-04-08 13:55:15 +02:00
Michael Zanetti
83168772f3 fix issues from code review 2019-04-08 13:55:15 +02:00
Michael Zanetti
699065f689 update to use nonce 2019-04-08 13:55:15 +02:00
Michael Zanetti
922ee3ce49 clean up some remaining old stuff 2019-04-08 13:55:15 +02:00
Michael Zanetti
55b4c8a798 reduce keep alive timeout 2019-04-08 13:55:15 +02:00
Michael Zanetti
2f2787fb98 enable auto reconnect 2019-04-08 13:55:15 +02:00
Michael Zanetti
096a285212 switch from aws sdk to qmqtt 2019-04-08 13:55:15 +02:00
Michael Zanetti
637a30700b cleanups and dedupe mqtt packets 2019-04-08 13:55:15 +02:00
Simon Stürz
a69b32a572 Improve cloud transport and fix authentication required in Hello and handshake 2019-04-08 13:55:15 +02:00
Michael Zanetti
7b12d720f3 store newly received config 2019-04-08 13:55:15 +02:00
Michael Zanetti
a3faba7619 add copyright headers 2019-04-08 13:55:15 +02:00
Michael Zanetti
4ee50dd89f update to latest changes in lib 2019-04-08 13:55:15 +02:00
Michael Zanetti
a29a0483b2 add api to deploy certificates 2019-04-08 13:55:15 +02:00