114 Commits

Author SHA1 Message Date
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
00fc81405b NetworkDiscovery: Fix possible crash on monitor cleanup
DateTime: Improve performance by using static current QDateTime method
2025-04-14 12:02:15 +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
jenkins
f50a7b9a88 Merge PR #683: Network device discovery reachable to early 2024-10-01 16:53:58 +02:00
Simon Stürz
dae11725f8 NetworkDeviceDiscovery: Fix reachable changed before the network address is known 2024-10-01 14:58:02 +02:00
Simon Stürz
87ed98b72f modbus RTU: add platform configuration 2024-08-07 11:09:19 +02:00
jenkins
89615140eb Merge PR #657: Add support for Bluetooth pairing during thing setup 2023-11-29 14:13:39 +01:00
Michael Zanetti
cc26006a83 Add support for Bluetooth pairing during thing setup 2023-11-26 13:41:54 +01:00
Michael Zanetti
b868035bf5 Allow discovering on bluetooth adapter plugged in at runtime 2023-11-20 20:40:40 +01:00
Simon Stürz
abc4c128b1 NetworkDeviceDiscovery: Update warning regarding multiple IPs for one MAC address. 2023-10-17 10:19:34 +02:00
Simon Stürz
c161e4df09 NetworkDeviceDiscovery: perform reachability verification ping 2023-05-05 11:04:32 +02:00
jenkins
44209a24c1 Merge PR #623: NetworkDeviceMonitor: Fix initial reachable state using internal caches 2023-02-21 17:43:38 +01:00
jenkins
6dcdc89c90 Merge PR #622: Manually check for Bluetooth before instantiating QtBluetooth 2023-02-21 17:43:37 +01:00
Michael Zanetti
25e3975618 Manually check for Bluetooth before instantiating QtBluetooth 2023-02-02 11:37:22 +01:00
Simon Stürz
1ac8802035 NetworkDeviceMonitor: Fix initial reachable state using internal caches 2023-02-01 23:47:32 +01:00
Simon Stürz
adf85cc15c network device monitor: clean up pending ping replies properly during shutdown 2023-01-12 15:56:03 +01:00
Simon Stürz
285abcdd36 NetworkDeviceDiscovery: Skip duplicated discovery if there are multiple network interfaces connected to the same network 2022-12-05 09:14:05 +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
8271e527eb NetworkDeviceDiscovery: wait for pending MAC address manufacturer lookups before finishing a discovery 2022-11-10 00:35:43 +01:00
Simon Stürz
52722d6cd9 Network device discovery: fix potential crash on unregister non existing monitor 2022-10-25 01:28:33 +02:00
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
f3b9441861 Merge PR #549: Add support for Z-Wave 2022-08-26 12:57:56 +02:00
jenkins
ed7926f84e Merge PR #545: Add connected property to MqttChannel 2022-08-26 12:57:51 +02:00
Michael Zanetti
a8b02a4869 Add support for Z-Wave 2022-08-26 00:28:56 +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
jenkins
dbcbbfcf97 Merge PR #515: Allow modbus RTU plugins to request a connection reset 2022-05-03 23:27:13 +02:00
jenkins
2b32bca5cf Merge PR #513: Add a timeout to ModbusRtuReplies 2022-05-03 23:27:10 +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
b2cc7ac769 Add a timeout to ModbusRtuReply
QModbusReply seems to never finish in some rare cases:
For instance if a request is sent and before the reply arrives, the
modbus adapter is unplugged. This change should keep upper logic
working which relies on requests finishing eventually.

Also fixes the issue that we emit finished() multiple times if
QModbusClient retries multiple times and emits error() for each
attempt. We're only interested in a single result anyways.
2022-04-08 14:33:07 +02:00
Michael Zanetti
93f733311f Fix modbus RTU warning prints 2022-04-08 13:56:46 +02:00
Michael Zanetti
9b7e5e469d Allow modbus RTU plugins to request a connection reset 2022-04-06 23:28:54 +02:00
Michael Zanetti
47add31e63 Add configuration for the tunnel proxy server 2022-02-08 11:00:09 +01:00