Z T Ble Connection
class ZTBleConnection(device: ZTDevice, rxBleConnection: RxBleConnection)
Content copied to clipboard
ZTBleConnection
Author
Alexandre Lemoult <a.lemoult@zhortech.com>
Constructors
ZTBleConnection
Link copied to clipboard
Types
ConnectionPriority
Link copied to clipboard
Functions
discoverServices
Link copied to clipboard
monitorCharacteristicIndicate
Link copied to clipboard
fun monitorCharacteristicIndicate(characteristic: ZTCharacteristic): Observable<Observable<ByteArray>>
Content copied to clipboard
monitorCharacteristicNotify
Link copied to clipboard
fun monitorCharacteristicNotify(characteristic: ZTCharacteristic): Observable<Observable<ByteArray>>
Content copied to clipboard
readCharacteristic
Link copied to clipboard
fun readCharacteristic(characteristic: ZTCharacteristic): Single<ByteArray>
Content copied to clipboard
requestConnectionPriority
Link copied to clipboard
fun requestConnectionPriority(connectionPriority: ZTBleConnection.ConnectionPriority): Completable
Content copied to clipboard
writeCharacteristic
Link copied to clipboard
fun writeCharacteristic(characteristic: ZTCharacteristic, data: ByteArray): Single<ByteArray>
Content copied to clipboard
Properties
services
Link copied to clipboard