Matheus-Garbelini / esp32_bluetooth_classic_sniffer

Active Bluetooth BR/EDR Sniffer/Injector as cheap as any ESP32 board can get. Works with Scapy ;-)
GNU General Public License v2.0
504 stars 56 forks source link

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 0: invalid start byte #13

Open westendG opened 1 year ago

westendG commented 1 year ago

I can't run the project I get an error please help:

sudo ./BTSnifferBREDR.py --port=/dev/ttyUSB0 --live-terminal Using options: Serial Port: /dev/ttyUSB0 Serial Baud: 921600 BT Host Program: ./host_stack/spp_counter Host BDAddress: e0:d4:e8:19:c7:68 Target BDAddress: None [!] Reset Done! EN pin toggled HIGH->LOW->HIGH [!] Waiting 0.8s... Traceback (most recent call last): File "./BTSnifferBREDR.py", line 262, in sniffer() File "/home/user/Desktop/esp32_bluetooth_classic_sniffer/runtime/install/lib/python3.8/site-packages/click/core.py", line 1157, in call return self.main(args, kwargs) File "/home/user/Desktop/esp32_bluetooth_classic_sniffer/runtime/install/lib/python3.8/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/home/user/Desktop/esp32_bluetooth_classic_sniffer/runtime/install/lib/python3.8/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) File "/home/user/Desktop/esp32_bluetooth_classic_sniffer/runtime/install/lib/python3.8/site-packages/click/core.py", line 783, in invoke return __callback(args, **kwargs) File "./BTSnifferBREDR.py", line 245, in sniffer Sniffer.start() File "./BTSnifferBREDR.py", line 118, in start self.driver = ESP32BTDriver(self.serial_port, self.serial_baud) File "/home/user/Desktop/esp32_bluetooth_classic_sniffer/src/ESP32BTDriver.py", line 87, in init self.get_version() File "/home/user/Desktop/esp32_bluetooth_classic_sniffer/src/ESP32BTDriver.py", line 142, in get_version self.version = version_string.decode('utf-8').split('\n')[0] UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 0: invalid start byte