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.
Read a config variable (synchronous).
Return
The response.
Parameters
name
the name of the config variable.
Throws
Transport error. See cause.
@NotNull
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
Transport error. See cause.