Interface: tos.lib.ftsp.GlobalTime
interface GlobalTime<typedef precision_tag>Commands
command error_t getGlobalTime(uint32_t *time)
command uint32_t getLocalTime()
command error_t global2Local(uint32_t *time)
command error_t local2Global(uint32_t *time)
Commands - Details
getGlobalTime
command error_t getGlobalTime(uint32_t *time)
- Returns:
-
SUCCESS if this mote is synchronized, FAIL otherwise.
getLocalTime
command uint32_t getLocalTime()
global2Local
command error_t global2Local(uint32_t *time)
local2Global
command error_t local2Global(uint32_t *time)
- Returns:
-
SUCCESS if this mote is synchronized, FAIL otherwise.