Address – BLE address

Encapsulates the address of a BLE device.

class bleio.Address(address)

Create a new Address object encapsulating the address value. The value itself can be one of:

  • a str value in the format of ‘XXXXXXXXXXXX’ or ‘XX:XX:XX:XX:XX:XX’ (12 hex digits)
  • a bytes or bytearray containing 6 bytes
  • another Address object
Parameters:address – The address to encapsulate
type

The address type. One of: