appInfo

open fun appInfo(@Nullable format: @Nullable String, @NotNull callback: @NotNull McuMgrCallback<McuMgrAppInfoResponse>)

Reads OS/Application Info (asynchronous).

Parameters

format

Format specifier of returned response, fields are appended in their natural ascending index order, not the order of characters that are received by the command. Format specifiers:

  • s Kernel name
  • n Node name
  • r Kernel release
  • v Kernel version
  • b Build date and time
  • m Machine
  • p Processor
  • i Hardware platform
  • o Operating system
  • a All fields (shorthand for all above options)
If this option is not provided, the s Kernel name option will be used.
callback

the asynchronous callback.


@NotNull
open fun appInfo(@Nullable format: @Nullable String): @NotNull McuMgrAppInfoResponse

Reads OS/Application Info (synchronous).

Return

The response.

Parameters

format

Format specifier of returned response, fields are appended in their natural ascending index order, not the order of characters that are received by the command. Format specifiers:

  • s Kernel name
  • n Node name
  • r Kernel release
  • v Kernel version
  • b Build date and time
  • m Machine
  • p Processor
  • i Hardware platform
  • o Operating system
  • a All fields (shorthand for all above options)
If this option is not provided, the s Kernel name option will be used.

Throws