ZTBleManager

BLE Manager responsible for finding and connecting to peripherals. It can be subscribed to be notified about

  • onBluetoothStateChange (Bluetooth state changed)
  • onDeviceDiscovered (Device discovered)
  • onDeviceStateChange (Device connected / disconnected)
  • onDeviceConnectionFailed ()

Events