Skip to content

Error execution  #16

@tXambe

Description

@tXambe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions