class BLEConnectFactory : NIMMSTADeviceConnectionFactory
Establishes the connection to a NIMMSTADevice and returns an UARTService in order to communicate.
Author
NIMMSTA Team
Copyright
Daniel Gruber
context |
val context: Context |
createConnectionAsync |
Established the connection to the device and returns an UARTServiceInterface. Does error handling if something fails. fun createConnectionAsync(: SearchScanResult, : CancellationToken?): Task<UARTServiceInterface> |
TAG |
val TAG: String |
shared |
fun shared(: Context): BLEConnectFactory |