bootloaderInfo
Reads the Bootloader info (asynchronous).
Parameters
Allows to query MCUmgr about bootloader used by device and various bootloader parameters. Use BOOTLOADER_INFO_QUERY_BOOTLOADER to get string representing bootloader name. For bootloader named "MCUboot" use BOOTLOADER_INFO_MCUBOOT_QUERY_MODE to get the bootloader mode. If query yields no answer, the response will contain an QUERY_YIELDS_NO_ANSWER error. Use BOOTLOADER_INFO_QUERY_ACTIVE_B0_SLOT to get the ID of an active B0 slot.
the asynchronous callback.
Reads the Bootloader info (synchronous).
Return
The response.
Parameters
Allows to query MCUmgr about bootloader used by device and various bootloader parameters. Use BOOTLOADER_INFO_QUERY_BOOTLOADER to get string representing bootloader name. For bootloader named "MCUboot" use BOOTLOADER_INFO_MCUBOOT_QUERY_MODE to get the bootloader mode. If query yields no answer, the response will contain an QUERY_YIELDS_NO_ANSWER error. Use BOOTLOADER_INFO_QUERY_ACTIVE_B0_SLOT to get the ID of an active B0 slot.
Throws
Transport error. See cause.