Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion killerbee/kbutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,13 @@ def devlist(vendor: Optional[Any]=None, product: Optional[Any]=None, gps: Option
#TODO maybe move support for freakduino into goodfetccspi subtype==?
devlist.append([serialdev, "Dartmouth Freakduino", ""])
else:
gfccspi,subtype = isgoodfetccspi(serialdev)
try:
gfccspi,subtype = isgoodfetccspi(serialdev)
except Exception:
# A non-GoodFET serial port (CP210x, J-Link, VCOM, ...) can raise while
# probing; skip it instead of aborting the whole enumeration, so
# zbid/zbdump still find the other devices, USB sniffers included.
gfccspi,subtype = (False, None)
if gfccspi and subtype == 0:
devlist.append([serialdev, "GoodFET TelosB/Tmote", ""])
elif gfccspi and subtype == 1:
Expand Down