readDatetime

open fun readDatetime(@NotNull callback: @NotNull McuMgrCallback<McuMgrReadDateTimeResponse>)

Read the date and time on the device (asynchronous).

Parameters

callback

the asynchronous callback.


@NotNull
open fun readDatetime(): @NotNull McuMgrReadDateTimeResponse

Read the date and time on the device (synchronous).

Return

The response.

Throws