Current Time Service Client (CTS_C)

Current Time Service Client module. More...

Modules

 Defines
 
 Enumerations
 
 Structures
 
 Typedefs
 
 Functions
 

Detailed Description

Current Time Service Client module.

The Current Time Service Client contains the APIs and types, which can be used by the application to discover Current Time Service of peer and interact with it.

The application must provide an event handler to be register, then call cts_client_init(). After Current Time Service Client discovers peer Current Time Service, application can receive current time value notification from peer, and also call cts_c_cur_time_read() to get current time from peer. This module provides functions: cts_c_loc_time_info_read() and cts_c_ref_time_info_read() to read local time information and reference time informarion on peer.