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

Error execution #16

Open
tXambe opened this issue Jul 11, 2024 · 0 comments
Open

Error execution #16

tXambe opened this issue Jul 11, 2024 · 0 comments

Comments

@tXambe
Copy link

tXambe commented Jul 11, 2024

Hello,

when I run

sudo python BlueSpy.py -a BC:2D:EF:5E:7B:FE

I have the follow error:

Bluetooth audio recording tool by Tarlogic
[I] Avoiding authentication with BC:2D:EF:5E:7B:FF...
[I] Generating shared key...
Traceback (most recent call last):
  File "/opt/PNTST/BLUETOOTH/BlueSpy/BlueSpy.py", line 94, in <module>
    main()
  File "/opt/PNTST/BLUETOOTH/BlueSpy/BlueSpy.py", line 67, in main
    paired = pair(target, verbose=args.verbose)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/PNTST/BLUETOOTH/BlueSpy/core.py", line 90, in pair
    raise e
  File "/opt/PNTST/BLUETOOTH/BlueSpy/core.py", line 79, in pair
    run_and_check(
  File "/opt/PNTST/BLUETOOTH/BlueSpy/system.py", line 35, in run_and_check
    raise CommandValidationException(cmdline, out)
system.CommandValidationException: ('Error while executing command "sudo btmgmt pair -c 3 -t 0 bc:2d:ef:5e:7b:ff"', 'Pairing with BC:2D:EF:5E:7B:FF (BR/EDR)\n\x1b[0;91mPairing failed with status 0x11 (Invalid Index)\n\x1b[0m')

With bluetoothctl I can make the pair without any problems

I greeting and thanks

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