58 Commits

Author SHA1 Message Date
Simon Stürz
b7f5a260ac Update internal reply clean up order. Fix #588 2022-10-25 01:24:10 +02:00
Simon Stürz
5272ab8b9c Add information instructions to bug report request message. 2022-10-03 11:28:18 +02:00
Simon Stürz
5471a5da34 Network device discovery: create reply for each discovery request 2022-10-03 11:28:18 +02:00
jenkins
ed7926f84e Merge PR #545: Add connected property to MqttChannel 2022-08-26 12:57:51 +02:00
Simon Stürz
4ef0b68027 Add connected property to MqttChannel 2022-08-05 15:53:47 +02:00
Simon Stürz
d79f756ff1 NetworkDiscovery: Lookup the mac address vendor also if the cache has stored an empty mac vendor 2022-07-14 11:50:34 +02:00
Simon Stürz
ae11ec32ea NetworkDiscovery: emit hostAddressDiscovered only if a new IP has been added to the discovery result #541 2022-07-14 08:12:47 +02:00
Simon Stürz
0d20cf7816 Hold reference count of monitor objects
Make host lookup optional
Cleanup pending ping on monitor unregister
2022-06-20 16:58:05 +02:00
Simon Stürz
d1db6a3774 Fix network device cache housekeeping and sync the settings 2022-06-20 13:16:42 +02:00
Michael Zanetti
568bbc6972 Smaller fixes in the NetworkDiscovery
Fixes a theoretical memory leak (m_cacheSettings wasn't delete)
which isn't really an issue in practice but valgrind complains on it.

Fixes a typo: m_reties -> m_retries
2022-06-20 13:16:42 +02:00
Simon Stürz
2dbd8c47ba Add ping retry feature and provide it to the monitor 2022-06-20 13:16:42 +02:00
Simon Stürz
fe317cfaae Inform about cache loading 2022-06-03 12:35:36 +02:00
Simon Stürz
289998af32 Align cache updated signal with method wording 2022-06-02 14:09:23 +02:00
Simon Stürz
08d4599f01 Provide access to the network device discovery cache 2022-06-02 14:07:35 +02:00
Simon Stürz
17fc204122 Fix discovery behaviour if the resouce is not available 2022-05-03 14:30:01 +02:00
Simon Stürz
66d62b87de Update debug categories and use qInfo, fix vietual destructor for the monitor 2022-04-25 17:07:48 +02:00
Simon Stürz
76b7bc1267 Fix ping crash if the host address is not valid 2022-04-25 15:27:35 +02:00
Simon Stürz
61bbd3cbdf Unfriend the discovery class from the monitor 2022-04-25 08:17:37 +02:00
Simon Stürz
c59185672f Add mac address class and unit tests
Finish updated network discovery
Improve ARP and monitor handling
Introduce network device info cache housekeeping
2022-04-13 11:08:29 +02:00
Simon Stürz
14ea1bef4a Restructure network discovery and add discovery 2022-04-13 11:08:00 +02:00
Michael Zanetti
47add31e63 Add configuration for the tunnel proxy server 2022-02-08 11:00:09 +01:00
Michael Zanetti
f8f2cf8fc2 Add more flexible createChannel API to the MQTT provider resource 2021-05-28 16:31:00 +02:00
Michael Zanetti
ca041bbd02 Convert recurring UPnP message to a debug print 2020-06-25 23:29:54 +02:00
Michael Zanetti
7eee989e12 Fix UPnP discovery if wifi comes up late 2020-05-27 00:08:08 +02:00
Michael Zanetti
3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +01:00
Michael Zanetti
8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti
a21dde0289 Generate a version.h file instead of passing it via DEFINES 2020-01-15 12:39:35 +01:00
Michael Zanetti
b5919a534d Update MQTT api a bit to be more flexible 2019-09-25 15:15:44 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00
Michael Zanetti
4b9668e01e Improve UPnP debug output for easier debugging 2019-06-24 20:52:12 +02:00
Michael Zanetti
253972cb9a Abstract ZeroConf into a platform plugin 2019-05-23 05:35:03 +02:00
Michael Zanetti
3944e94699 Initial work on an integrated system update mechanism 2019-05-02 12:14:16 +02:00
Michael Zanetti
b23d7c820e Clean up avahi debug messages 2019-04-12 11:59:28 +02:00
Michael Zanetti
e7f7deadc3 Workaround zeroconf breaking because of broken multicast hardware 2019-04-12 02:52:05 +02:00
Michael Zanetti
cb38dc0853 add license headers 2019-04-08 13:55:15 +02:00
Michael Zanetti
7b483bb087 don't leak policies 2019-04-08 13:55:15 +02:00
Michael Zanetti
5bf1fb5bc4 add API to request a client connected to the internal mqtt broker to mqttprovier 2019-04-08 13:55:15 +02:00
Michael Zanetti
5847d6831d add support for an MQTT hardware resource 2019-04-08 13:55:15 +02:00
Simon Stürz
b2f17b868e Update empty hardware resource debug line 2019-04-08 13:55:15 +02:00
Simon Stürz
e82efc7021 Add basic structure of first plugin tutorial and continue with docs 2019-04-08 13:55:15 +02:00
Simon Stürz
50bd22cedd Add plugin wizard tutorial and improve style sheet 2019-04-08 13:55:15 +02:00
Michael Zanetti
42857d75af mark avahi service entry as IPv6 as appropriate 2019-04-08 13:55:15 +02:00
Michael Zanetti
bfdc45472d add timeouts to each network request 2019-04-08 13:55:15 +02:00
Michael Zanetti
80b444a62a fix upnp server t0 be more standard compliant 2019-04-08 13:55:15 +02:00
Michael Zanetti
306d8edbda only register avahi services on the appropriate interfaces 2019-04-08 13:55:15 +02:00
Simon Stürz
71cc5452fc Register IPv4 only services and fix manufacturer string 2019-04-08 13:55:15 +02:00
Michael Zanetti
4e7238578c monitor network devices and reconfigure upnp server 2019-04-08 13:55:15 +02:00
Michael Zanetti
67a535619f fix typos as reported by Krazy2 2019-04-08 13:55:15 +02:00
Simon Stürz
1f58300352 Add API documentation 2019-04-08 13:55:15 +02:00
Michael Zanetti
79cc563eb0 docs guh -> nymea 2019-04-08 13:55:15 +02:00