Companion
object Companion
Functions
Link copied to clipboard
suspend fun create(context: Context, scope: CoroutineScope, vararg config: ServerBleGattServiceConfig, mock: MockServerDevice? = null, options: ServerConnectionOption = ServerConnectionOption()): ServerBleGatt
Declares and starts server based on config. It can be either real BLE server or mocked variant which run locally on a device.