changeMode
abstract fun changeMode(@NotNull name: @NotNull String, @Nullable callback: @Nullable McuMgrTransport.ModeChangeCallback): Boolean
Changes the transport mode. The change is transport-specific and may not be supported by all transport schemes. An example may be to connect to the same device using a different Device Address.
Return
true if the mode change was initiated successfully, false otherwise.
Parameters
name
the mode name.
callback
An optional callback to receive the result of the mode change.