Skip to contents

Get or set an Axivity device's real-time clock

Usage

axivity_get_time(device_id)

axivity_set_time(device_id, time)

Arguments

device_id

Integer device ID, as returned by axivity_discover().

time

A POSIXct (or coercible) date/time to set on the device.

Value

axivity_get_time() returns a POSIXct.