Skip to content

OSError: [Errno 19] No such device #50

@1PingSun

Description

@1PingSun

When I try to run the adv_airpods.py script, there is an error below:

Traceback (most recent call last):
  File "/home/kali/playgroud/apple_bleee/adv_airpods.py", line 26, in <module>
    toggle_device(dev_id, True)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/home/kali/playgroud/apple_bleee/utils/bluetooth_utils.py", line 97, in toggle_device
    fcntl.ioctl(hci_sock.fileno(),
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
                bluez.HCIDEVUP if enable else bluez.HCIDEVDOWN,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                request[0])
                ^^^^^^^^^^^
OSError: [Errno 19] No such device

Is there anyone have the same problem? How to fix it?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions