Skip to content

BleakDBusError: [org.bluez.Error.Failed] Operation failed with ATT error: 0x80 (Unknown code) #22

@noxmyn

Description

@noxmyn

I was able to connect to the device via MAC address, the speed change, start and stop commands work, but every time an error window appears:

File ~/python_test/test1/.venv/lib/python3.12/site-packages/bleak/backends/bluezdbus/utils.py:20, in assert_reply(reply)
13 """Checks that a D-Bus message is a valid reply.
14
15 Raises:
16 BleakDBusError: if the message type is MessageType.ERROR
17 AssertionError: if the message type is not MessageType.METHOD_RETURN
18 """
19 if reply.message_type == MessageType.ERROR:
---> 20 raise BleakDBusError(reply.error_name, reply.body)
21 assert reply.message_type == MessageType.METHOD_RETURN

BleakDBusError: [org.bluez.Error.Failed] Operation failed with ATT error: 0x80 (Unknown code)

When I run the statistics command, I still get an error.

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