Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
westendG opened this issue Aug 19, 2023 · 0 comments

Comments

@westendG
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant