Adapter — BLE adapter information

Get current status of the BLE adapter

Usage:

import bleio
bleio.adapter.enabled = True
print(bleio.adapter.address)
class bleio.Adapter

You cannot create an instance of bleio.Adapter. Use bleio.adapter to access the sole instance available.

adapter.enabled

State of the BLE adapter.

adapter.address

MAC address of the BLE adapter. (read-only)