adafruit / Adafruit_BLESniffer_Python

Python API for Adafruit's Bluefruit LE Sniffer
Other
101 stars 51 forks source link

Fix missed keyboard interrupt on device selection #3

Closed pizthewiz closed 8 years ago

pizthewiz commented 9 years ago

The selectDevice method catches all exceptions, including a keyboard interrupt and returns control, leaving the processing in limbo and missing the keyboard interrupt. Often this leaves the serial port open on a successive keyboard interrupt.