From c9351236e62a6c61f888c442cbf9c4343492e65d Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 26 Jun 2024 17:28:55 -0700 Subject: [PATCH] blacklist hantek oscilliscope --- meshtastic/util.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meshtastic/util.py b/meshtastic/util.py index ef12344..c95aef0 100644 --- a/meshtastic/util.py +++ b/meshtastic/util.py @@ -25,14 +25,16 @@ from meshtastic.supported_device import supported_devices from meshtastic.version import get_active_version """Some devices such as a seger jlink or st-link we never want to accidentally open -0x1915 NordicSemi (PPK2) + 1915 NordicSemi (PPK2) + 0925 Lakeview Research Saleae Logic (logic analyzer) +04b4:602a Cypress Semiconductor Corp. Hantek DSO-6022BL (oscilloscope) """ -blacklistVids = dict.fromkeys([0x1366, 0x0483, 0x1915]) +blacklistVids = dict.fromkeys([0x1366, 0x0483, 0x1915, 0x0925]) """Some devices are highly likely to be meshtastic. 0x239a RAK4631 0x303a Heltec tracker""" -whitelistVids = dict.fromkeys([0x239a, 0x303a]) +whitelistVids = dict.fromkeys([0x239a, 0x303a, 0x04b4]) def quoteBooleans(a_string):