BlueSpy icon indicating copy to clipboard operation
BlueSpy copied to clipboard

Error execution

Open tXambe opened this issue 7 months ago • 0 comments

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

tXambe avatar Jul 11 '24 12:07 tXambe