McuMgrBootloaderInfoResponse
Properties
Link copied to clipboard
The id of the active B0 slot.
Link copied to clipboard
Link copied to clipboard
Since version 2 of the SMP protocol, a more detailed return code is returned in the response.
Link copied to clipboard
MCUboot is in DirectXIP without revert mode.
Link copied to clipboard
MCUboot is in DirectXIP with revert mode.
Link copied to clipboard
MCUboot is in Firmware Loader mode.
Link copied to clipboard
MCUboot is in overwrite (upgrade-only) mode.
Link copied to clipboard
MCUboot is in RAM loader mode.
Link copied to clipboard
MCUboot is in single application mode.
Link copied to clipboard
MCUboot is in swap using scratch partition mode.
Link copied to clipboard
MCUboot is in swap without scratch mode.
Link copied to clipboard
Unknown mode of MCUboot.
Link copied to clipboard
The "no-downgrade" is a flag, indicating that mode has downgrade prevention enabled; downgrade prevention means that if uploaded image has lower version than running, it will not be taken for execution by MCUboot.
Link copied to clipboard
The active slot number is unknown.
Functions
Link copied to clipboard
@NotNull
Build a CoAP McuMgrResponse.
Link copied to clipboard
@NotNull
Build a McuMgrResponse.
Link copied to clipboard
If this response is from a CoAP transport scheme, get the CoAP response code.
Link copied to clipboard
open fun getExpectedLength(@NotNull scheme: @NotNull McuMgrScheme, bytes: @NotNull Array<Byte>): Int
This method parses the given bytes and reads the LENGTH field from the header.
Link copied to clipboard
Return the Group return code as Group - Return Code pair.
Link copied to clipboard
Get the McuMgrHeader for this response.
Link copied to clipboard
Link copied to clipboard
Get the response payload bytes.
Link copied to clipboard
Get the return code as an enum.
Link copied to clipboard
Return the Mcu Manager return code as an int.
Link copied to clipboard
Get the scheme used to initialize this response object.