Rtc.

Public Member Functions

void setSyncTime (int seconds) throws RtcNotAvailableException, RtcLowLevelException
 Method to set synchronism time period in seconds. More...
 
void setDiffTime (int seconds) throws RtcNotAvailableException, RtcLowLevelException
 Method to set maximum time in seconds allowed to RTC to be drifted from UTC valid time. More...
 
ParamConfig getConfigValues () throws RtcNotAvailableException, RtcLowLevelException
 Method to get configuration parameters coming from RTC service. More...
 
Instant getDateTime () throws RtcNotAvailableException, RtcLowLevelException
 Method to get date and time coming from RTC service. More...
 
void addNewDateSource (String sourceName, RtcDateSource dateSource) throws RtcNotAvailableException, RtcLowLevelException
 Method to get date and time coming from RTC service. More...
 
void deleteDateSource (String sourceName) throws RtcNotAvailableException, RtcLowLevelException
 Method to get date and time coming from RTC service. More...
 

Member Function Documentation

void addNewDateSource ( String  sourceName,
RtcDateSource  dateSource 
) throws RtcNotAvailableException, RtcLowLevelException
Exceptions
RtcNotAvailableException
RtcLowLevelException
Parameters
sourceNamesource name that will be used for the operation
dateSourcedate source that will be added to the available sources
void deleteDateSource ( String  sourceName) throws RtcNotAvailableException, RtcLowLevelException
Exceptions
RtcNotAvailableException
RtcLowLevelException
Parameters
sourceNamesource name that will be used for the operation
Exceptions
RtcNotAvailableException
RtcLowLevelException
Instant getDateTime ( ) throws RtcNotAvailableException, RtcLowLevelException
Exceptions
RtcNotAvailableException
RtcLowLevelException
void setDiffTime ( int  seconds) throws RtcNotAvailableException, RtcLowLevelException
Exceptions
RtcNotAvailableException
RtcLowLevelException
Parameters
secondsTime provided in seconds
void setSyncTime ( int  seconds) throws RtcNotAvailableException, RtcLowLevelException
Exceptions
RtcNotAvailableException
RtcLowLevelException
Parameters
secondsTime provided in seconds