read

open fun read(@NotNull name: @NotNull String, @NotNull callback: @NotNull McuMgrCallback<McuMgrSettingsReadResponse>)

Read a config variable (asynchronous).

Parameters

name

the name of the config variable.

callback

the asynchronous callback.


open fun read(@NotNull name: @NotNull String, @Nullable maxSize: @Nullable Integer, @NotNull callback: @NotNull McuMgrCallback<McuMgrSettingsReadResponse>)

Read a config variable (asynchronous).

Parameters

name

the name of the config variable.

maxSize

optional maximum size of data to return.

callback

the asynchronous callback.


@NotNull
open fun read(@NotNull name: @NotNull String): @NotNull McuMgrSettingsReadResponse

Read a config variable (synchronous).

Return

The response.

Parameters

name

the name of the config variable.

Throws


@NotNull
open fun read(@NotNull name: @NotNull String, @Nullable maxSize: @Nullable Integer): @NotNull McuMgrSettingsReadResponse

Read a config variable (synchronous).

Return

The response.

Parameters

name

the name of the config variable.

maxSize

optional maximum size of data to return.

Throws