Simon Stürz
6bb36a773b
Make sure the ping replies get cleaned up from queues
2022-06-29 12:47:55 +02:00
Simon Stürz
c398f7ab2f
Fix ping requestId and sequence number endiness from and to the network
2022-06-29 12:25:09 +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
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
jenkins
f33d674d3c
Merge PR #529 : Provide access to the network device discovery cache
2022-06-16 00:20:52 +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
Michael Zanetti
f6da6d47a9
Properly use pkgconfig to find nymea-mqtt
2022-05-31 17:19:33 +02:00
Simon Stürz
1d04da6205
Make sure the ping timer exists to prevent crash if not available
2022-04-26 16:45:07 +02:00
Simon Stürz
f3760ff84a
Fix networkdevicemonitor virtual destructor
2022-04-26 11:17:12 +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
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
Simon Stürz
64d347d921
Fix crash for long taking mac address loockup
2022-03-21 12:49:51 +01:00
Jenkins nymea
02390650ba
Merge PR #432 : Network device discovery
2021-07-06 17:18:25 +02:00
Simon Stürz
1adbcb72ba
Set raw socket capabilities into postinstall script for allowing users to use network device discovery within nymead
2021-06-30 13:54:51 +02:00
Simon Stürz
b3fb5b44d7
Make use of system data location for searching the mac address database
2021-06-28 13:51:25 +02:00
Simon Stürz
19e21b9dd4
Add network device discovery result sorting by ip address
2021-06-28 13:51:25 +02:00
Simon Stürz
cbb7a2a7f1
Add ARP cache loading and rename to networkdeviceinfo
2021-06-28 13:51:25 +02:00
Simon Stürz
cbeac35059
Add arp socket traffic debug category
2021-06-28 13:51:25 +02:00
Simon Stürz
4065a471b7
Fix host lookup after successfull ping
2021-06-28 13:51:25 +02:00
Simon Stürz
aaa09162a5
Add nymea-data package and install mac-addresses.db
2021-06-28 13:51:25 +02:00
Simon Stürz
9b65f6a41e
Allow plugins to loock up mac address manufactureres
2021-06-28 13:51:25 +02:00
Simon Stürz
60de7e5c45
Add mac address database and build tool
2021-06-28 13:51:25 +02:00
Simon Stürz
08aae83a00
Add network device discovery to the hardware manager
2021-06-28 13:51:25 +02:00
Simon Stürz
7b4a13be75
Add ARP socket
2021-06-28 13:51:25 +02:00
Simon Stürz
c3bb9a14b0
Add ping utils
2021-06-28 13:51:25 +02:00
Michael Zanetti
f8f2cf8fc2
Add more flexible createChannel API to the MQTT provider resource
2021-05-28 16:31:00 +02:00
Michael Zanetti
de5e1afc0a
Use PKGCONFIG for the mqtt include
2021-04-18 20:33:24 +02:00
Michael Zanetti
dcae305625
Add an API keys provider plugin mechanism
2020-10-20 19:44:47 +02:00
Michael Zanetti
17eb0fc697
Add a helper function to more easily access ZeroConf txt records
2020-05-18 11:37:20 +02:00
Michael Zanetti
8f5536ba1a
Update copyright
2020-01-23 20:07:26 +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
5ed3e73974
Fix some typos
2019-06-21 21:22:01 +02:00
Michael Zanetti
5a03cb840b
Restructure a bit
2019-06-04 13:23:33 +02:00
Michael Zanetti
f884a6c194
fix zeroconf platform api ID mess
2019-05-27 21:51:49 +02:00
Michael Zanetti
253972cb9a
Abstract ZeroConf into a platform plugin
2019-05-23 05:35:03 +02:00
Michael Zanetti
cb38dc0853
add license headers
2019-04-08 13:55:15 +02:00
Michael Zanetti
5df41cba4a
add api doc
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
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
Michael Zanetti
b8a86b095d
copyright headers guh -> nymea
2019-04-08 13:55:15 +02:00
Michael Zanetti
803ee32089
libguh.h -> libnymea.h
2019-04-08 13:55:15 +02:00
Michael Zanetti
eb316a7a0c
libguh -> libnymea
2019-04-08 13:55:15 +02:00