Class BluetoothMeshProxyScanner

java.lang.Object
com.welie.blessed.BluetoothCentralManagerCallback
org.openremote.agent.protocol.bluetooth.mesh.BluetoothMeshProxyScanner

public class BluetoothMeshProxyScanner extends com.welie.blessed.BluetoothCentralManagerCallback
  • Field Details

    • LOG

      public static final Logger LOG
    • MESH_PROXY_UUID

      public static final UUID MESH_PROXY_UUID
      Mesh provisioning service UUID
  • Constructor Details

  • Method Details

    • start

      public void start(NetworkKey networkKey, String address, int duration, BluetoothMeshProxyScannerCallback callback)
    • stop

      public void stop()
    • onConnectedPeripheral

      public void onConnectedPeripheral(com.welie.blessed.BluetoothPeripheral peripheral)
      Overrides:
      onConnectedPeripheral in class com.welie.blessed.BluetoothCentralManagerCallback
    • onConnectionFailed

      public void onConnectionFailed(com.welie.blessed.BluetoothPeripheral peripheral, com.welie.blessed.BluetoothCommandStatus status)
      Overrides:
      onConnectionFailed in class com.welie.blessed.BluetoothCentralManagerCallback
    • onDisconnectedPeripheral

      public void onDisconnectedPeripheral(com.welie.blessed.BluetoothPeripheral peripheral, com.welie.blessed.BluetoothCommandStatus status)
      Overrides:
      onDisconnectedPeripheral in class com.welie.blessed.BluetoothCentralManagerCallback
    • onDiscoveredPeripheral

      public void onDiscoveredPeripheral(com.welie.blessed.BluetoothPeripheral peripheral, com.welie.blessed.ScanResult scanResult)
      Overrides:
      onDiscoveredPeripheral in class com.welie.blessed.BluetoothCentralManagerCallback
    • onScanFailed

      public void onScanFailed(int errorCode)
      Overrides:
      onScanFailed in class com.welie.blessed.BluetoothCentralManagerCallback