71 Commits

Author SHA1 Message Date
jenkins
f2ed3e1054 Merge PR #721: Update license text and add SPDX identifier 2025-12-02 10:38:45 +01:00
Simon Stürz
cdabfb54a5 Update all guh references to nymea 2025-11-17 16:42:46 +01:00
Simon Stürz
4d170061fd Update license text and add SPDX identifier 2025-11-17 16:42:41 +01:00
Simon Stürz
889a52959f network monitor: sync mode and register type 2025-11-15 15:53:21 +01:00
Simon Stürz
1a4037f232 ping.cpp: resolve DNS failures and cleanup 2025-11-15 15:53:21 +01:00
jenkins
0d85868465 Merge PR #702: Fix some typos in the code base 2025-09-23 14:12:43 +02:00
Simon Stürz
aa59ddd714 Make testes not parallel 2025-09-11 10:09:52 +02:00
Simon Stürz
f5c4bd16ac Add Qt6 support
Add Qt6 debian packaging
2025-09-11 10:09:24 +02:00
Simon Stürz
4e27699915 Fix some typos 2025-07-02 14:58:49 +02:00
Simon Stürz
633ee99d0b NetworkDiscovery: Fix localhost lookup and prevent usage of IPv6 on host lookup 2025-04-14 14:01:22 +02:00
Simon Stürz
341a07cd85 Update ping and monitor handling 2024-12-19 20:40:53 +01:00
Simon Stürz
abb656016d Update monitor 2024-12-19 20:40:53 +01:00
Simon Stürz
9b4b2d9b20 Update network device info and make host address the primary idetifier instead of the MAC address
Introduce monitor mode for network device info
Update network device monitor
introduce networkdevice interface
2024-12-19 20:40:21 +01:00
Simon Stürz
27a06e280e arp: Fix discovery resolving multiple/wrong mac addresses for one ip address 2023-06-23 16:49:01 +02:00
Simon Stürz
1ac8802035 NetworkDeviceMonitor: Fix initial reachable state using internal caches 2023-02-01 23:47:32 +01:00
Simon Stürz
6a08de4763 Ping: Clean up replies properly if they get deleted before finished 2022-12-12 11:12:11 +01:00
Simon Stürz
da6d7b8efe Speed up ping, inform about unfinished ping replies and abort on timeout 2022-12-05 08:55:48 +01:00
jenkins
d0e4811849 Merge PR #581: Improve warning information in thing manager 2022-10-25 02:37:11 +02:00
Simon Stürz
a3b3eecde8 Update debug prints and improve information given by warnings 2022-10-13 12:07:20 +02:00
Simon Stürz
5471a5da34 Network device discovery: create reply for each discovery request 2022-10-03 11:28:18 +02:00
Simon Stürz
4ef0b68027 Add connected property to MqttChannel 2022-08-05 15:53:47 +02:00
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