write

open fun write(@NotNull name: @NotNull String, value: @NotNull Array<Byte>, @NotNull callback: @NotNull McuMgrCallback<McuMgrResponse>)

Write a value to a config variable (asynchronous).

Parameters

name

the name of the config variable.

value

the value to write.

callback

the asynchronous callback.


@NotNull
open fun write(@Nullable name: @Nullable String, value: @NotNull Array<Byte>): @NotNull McuMgrResponse

Write a value to a config variable (synchronous).

Return

The response.

Parameters

name

the name of the config variable.

value

the value to write.

Throws