writeDateTime

suspend fun writeDateTime(date: Date? = null, timeZone: TimeZone? = null): McuMgrOsResponse

Sets the date and time on the device.

Parameters

date

The date to set, or null to use the current time.

timeZone

The time zone, or null to use the default one.