BleMockGatt
class BleMockGatt(mockEngine: MockEngine, serverDevice: MockServerDevice, clientDevice: ClientDevice, val autoConnect: Boolean, val closeOnDisconnect: Boolean, bufferSize: Int, mutexWrapper: MutexWrapper) : GattClientAPI
A class for communication with MockEngine. It allows for connecting to mock servers registered locally on a device.
Constructors
Link copied to clipboard
constructor(mockEngine: MockEngine, serverDevice: MockServerDevice, clientDevice: ClientDevice, autoConnect: Boolean, closeOnDisconnect: Boolean, bufferSize: Int, mutexWrapper: MutexWrapper)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun disableCharacteristicNotification(characteristic: IBluetoothGattCharacteristic): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun enableCharacteristicNotification(characteristic: IBluetoothGattCharacteristic): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun writeCharacteristic(characteristic: IBluetoothGattCharacteristic, value: DataByteArray, writeType: BleWriteType): Boolean
Link copied to clipboard
open override fun writeDescriptor(descriptor: IBluetoothGattDescriptor, value: DataByteArray): Boolean