Attribute – BLE Attribute

Definitions associated with all BLE attributes: characteristics, descriptors, etc. Attribute is, notionally, a superclass of Characteristic and Descriptor, but is not defined as a Python superclass of those classes.

class _bleio.Attribute

You cannot create an instance of Attribute.

NO_ACCESS

security mode: access not allowed

OPEN

security_mode: no security (link is not encrypted)

ENCRYPT_NO_MITM

security_mode: unauthenticated encryption, without man-in-the-middle protection

ENCRYPT_WITH_MITM

security_mode: authenticated encryption, with man-in-the-middle protection

LESC_ENCRYPT_WITH_MITM

security_mode: LESC encryption, with man-in-the-middle protection

SIGNED_NO_MITM

security_mode: unauthenticated data signing, without man-in-the-middle protection

SIGNED_WITH_MITM

security_mode: authenticated data signing, without man-in-the-middle protection