info

open fun info(@NotNull callback: @NotNull McuMgrCallback<MemfaultDeviceInfoResponse>)

The command allows to get the device information required for Memfault OTA (asynchronous):

  • Software type
  • Hardware version
  • Current firmware version
  • Device Serial Number

Parameters

callback

the asynchronous callback.


@NotNull
open fun info(): @NotNull MemfaultDeviceInfoResponse

The command allows to get the device information required for Memfault OTA (synchronous):

  • Software type
  • Hardware version
  • Current firmware version
  • Device Serial Number

Return

The response.

Throws