Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

UPTIM?

Description

This command can be used to get the time since the module is switched on (up time). The output is a simple decimal value that is the uptime in seconds.

Parameters

This command does not require any arguments.

Return Value

ERR_OK(0) Always.

Example

UPTIM?

Could print out:

12545

Remarks

UPTIM? uses the RTC but a battery is not required. UPTIM? keeps running when the module is sleeping. It just counts from the point where the module was powered up.