Class BLEDevice


  • public class BLEDevice
    extends Device
    • Field Detail

      • signalCharacteristicWriteValue

        @Nullable
        protected byte[] signalCharacteristicWriteValue
      • signalCharacteristicWriteQueue

        @Nullable
        protected java.util.Queue<byte[]> signalCharacteristicWriteQueue
      • payloadSharingData

        protected final java.util.List<PayloadData> payloadSharingData
    • Method Detail

      • timeIntervalSinceConnected

        @NonNull
        public TimeInterval timeIntervalSinceConnected()
      • timeIntervalSinceLastUpdate

        @NonNull
        public TimeInterval timeIntervalSinceLastUpdate()
      • description

        @NonNull
        public java.lang.String description()
      • pseudoDeviceAddress

        public void pseudoDeviceAddress​(@Nullable
                                        PseudoDeviceAddress pseudoDeviceAddress)
      • peripheral

        @Nullable
        public android.bluetooth.BluetoothDevice peripheral()
      • peripheral

        public void peripheral​(@Nullable
                               android.bluetooth.BluetoothDevice peripheral)
      • ignore

        public boolean ignore()
      • payloadData

        @Nullable
        public PayloadData payloadData()
      • payloadData

        public void payloadData​(@Nullable
                                PayloadData payloadData)
      • timeIntervalSinceLastPayloadDataUpdate

        @NonNull
        public TimeInterval timeIntervalSinceLastPayloadDataUpdate()
      • immediateSendData

        public void immediateSendData​(@Nullable
                                      Data immediateSendData)
      • immediateSendData

        @Nullable
        public Data immediateSendData()
      • rssi

        @Nullable
        public RSSI rssi()
      • rssi

        public void rssi​(@Nullable
                         RSSI rssi)
      • legacyPayloadCharacteristic

        public void legacyPayloadCharacteristic​(@Nullable
                                                android.bluetooth.BluetoothGattCharacteristic characteristic)
      • legacyPayloadCharacteristic

        @Nullable
        public android.bluetooth.BluetoothGattCharacteristic legacyPayloadCharacteristic()
      • txPower

        public void txPower​(@Nullable
                            BLE_TxPower txPower)
      • calibration

        @Nullable
        public Calibration calibration()
      • receiveOnly

        public boolean receiveOnly()
      • receiveOnly

        public void receiveOnly​(boolean receiveOnly)
      • invalidateCharacteristics

        public void invalidateCharacteristics()
      • signalCharacteristic

        @Nullable
        public android.bluetooth.BluetoothGattCharacteristic signalCharacteristic()
      • signalCharacteristic

        public void signalCharacteristic​(@Nullable
                                         android.bluetooth.BluetoothGattCharacteristic characteristic)
      • payloadCharacteristic

        @Nullable
        public android.bluetooth.BluetoothGattCharacteristic payloadCharacteristic()
      • payloadCharacteristic

        public void payloadCharacteristic​(@Nullable
                                          android.bluetooth.BluetoothGattCharacteristic characteristic)
      • supportsModelCharacteristic

        public boolean supportsModelCharacteristic()
      • modelCharacteristic

        @Nullable
        public android.bluetooth.BluetoothGattCharacteristic modelCharacteristic()
      • modelCharacteristic

        public void modelCharacteristic​(@Nullable
                                        android.bluetooth.BluetoothGattCharacteristic modelCharacteristic)
      • supportsDeviceNameCharacteristic

        public boolean supportsDeviceNameCharacteristic()
      • deviceNameCharacteristic

        @Nullable
        public android.bluetooth.BluetoothGattCharacteristic deviceNameCharacteristic()
      • deviceNameCharacteristic

        public void deviceNameCharacteristic​(@Nullable
                                             android.bluetooth.BluetoothGattCharacteristic deviceNameCharacteristic)
      • deviceName

        @Nullable
        public java.lang.String deviceName()
      • deviceName

        public void deviceName​(@Nullable
                               java.lang.String deviceName)
      • model

        @Nullable
        public java.lang.String model()
      • model

        public void model​(@Nullable
                          java.lang.String model)
      • registerDiscovery

        public void registerDiscovery()
      • registerWritePayload

        public void registerWritePayload()
      • timeIntervalSinceLastWritePayload

        @NonNull
        public TimeInterval timeIntervalSinceLastWritePayload()
      • registerWriteRssi

        public void registerWriteRssi()
      • timeIntervalSinceLastWriteRssi

        @NonNull
        public TimeInterval timeIntervalSinceLastWriteRssi()
      • registerWritePayloadSharing

        public void registerWritePayloadSharing()
      • timeIntervalSinceLastWritePayloadSharing

        @NonNull
        public TimeInterval timeIntervalSinceLastWritePayloadSharing()
      • timeIntervalUntilIgnoreExpires

        @NonNull
        public TimeInterval timeIntervalUntilIgnoreExpires()
      • protocolIsOpenTrace

        public boolean protocolIsOpenTrace()
      • protocolIsHerald

        public boolean protocolIsHerald()
      • scanRecord

        public void scanRecord​(@Nullable
                               android.bluetooth.le.ScanRecord scanRecord)
      • scanRecord

        @Nullable
        public android.bluetooth.le.ScanRecord scanRecord()
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object