read

open fun read(@Nullable module: @Nullable String, @NotNull callback: @NotNull McuMgrCallback<McuMgrStatResponse>)

Read a statistic module (asynchronous).

Parameters

module

the name of the module to read.

callback

the asynchronous callback.


@NotNull
open fun read(@Nullable module: @Nullable String): @NotNull McuMgrStatResponse

Read a statistic module (synchronous).

Return

The response.

Parameters

module

the name of the module to read.

Throws