bluez_peripheral.flags module

class bluez_peripheral.flags.AdvertisingIncludes(value)[source]

Bases: Flag

The fields to include in advertisements.

APPEARANCE = 2

Device appearance number should be included.

LOCAL_NAME = 4

The local name of this device should be included.

NONE = 0
TX_POWER = 1

Transmission power should be included.

class bluez_peripheral.flags.AdvertisingPacketType(value)[source]

Bases: Enum

Represents the type of packet used to perform a service.

BROADCAST = 0

The relevant service(s) will be broadcast and do not require pairing.

PERIPHERAL = 1

The relevant service(s) are associated with a peripheral role.