21 Commits

Author SHA1 Message Date
Simon Stürz
4d170061fd Update license text and add SPDX identifier 2025-11-17 16:42:41 +01: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
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
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
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
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
14ea1bef4a Restructure network discovery and add discovery 2022-04-13 11:08:00 +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
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
c3bb9a14b0 Add ping utils 2021-06-28 13:51:25 +02:00