Skip to content

//app/com.bluerpc.worker/BLEConnection

BLEConnection

[androidJvm]\ class BLEConnection(ctx: Context)

Constructors

BLEConnection [androidJvm]
constructor(ctx: Context)

Functions

Name Summary
connect [androidJvm]
fun connect(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
disconnect [androidJvm]
fun disconnect(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
getConnectionProperties [androidJvm]
fun getConnectionProperties(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
getDevices [androidJvm]
fun getDevices(responseObserver: StreamObserver<<Error class: unknown class>>)
listServices [androidJvm]
fun listServices(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
notification [androidJvm]
fun notification(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
readCharacteristic [androidJvm]
fun readCharacteristic(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
readDescriptor [androidJvm]
fun readDescriptor(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
writeCharacteristic [androidJvm]
fun writeCharacteristic(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)
writeDescriptor [androidJvm]
fun writeDescriptor(request: <Error class: unknown class>, responseObserver: StreamObserver<<Error class: unknown class>>)

Properties

Name Summary
disconnectObservers [androidJvm]
var disconnectObservers: MutableList<StreamObserver<<Error class: unknown class>>>
notificationObservers [androidJvm]
var notificationObservers: MutableList<StreamObserver<<Error class: unknown class>>>