list

open fun list(@NotNull callback: @NotNull McuMgrCallback<McuMgrImageStateResponse>)

List the images on a device (asynchronous).

The response payload can be mapped to a McuMgrImageStateResponse.

Parameters

callback

the asynchronous callback.


@NotNull
open fun list(): @NotNull McuMgrImageStateResponse

List the images on a device (synchronous).

The response payload can be mapped to a McuMgrImageStateResponse.

Return

The response.

Throws