Package-level declarations

Contains sendAndAwait and the ktx extension properties of the managers.

Functions

Link copied to clipboard
suspend fun <T : McuMgrResponse> McuManager.sendAndAwait(op: Int, commandId: Int, payload: Map<String, Any>?, timeout: Long, responseType: Class<T>): T

Sends a command to the device and suspends until the response is received.