Commit Graph

15 Commits (1f35ddbff5ccb020401bf770071cc32daaaf7ccf)

Author SHA1 Message Date
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