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)
callback
the asynchronous callback.
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)
Throws
Transport error. See cause.