Interface RTC More...

Inheritance diagram for IRtc:

Public Member Functions

void SetSyncTime (int seconds)
 Method to set synchronism time period in seconds More...
 
void SetDiffTime (int seconds)
 Method to set maximum time in seconds allowed to RTC to be drifted from UTC valid time More...
 
IParamConfig GetConfigValues ()
 Method to get configuration parameters coming from RTC service More...
 
void AddNewDateSource (string sourceName, IRtcDateSource dateSource)
 Method to add new Date source More...
 
void DeleteSource (string sourceName)
 Method to delete RTC source More...
 
IDateAndTimeSync GetDateTime ()
 Return current datetime More...
 
IEnumerable< IRtcDateSourceGetDateSources ()
 Returns the date sources in the device More...
 

Detailed Description

Member Function Documentation

void AddNewDateSource ( string  sourceName,
IRtcDateSource  dateSource 
)
Parameters
sourceNamesource name that will be used for the operation
dateSourcedate source that will be added to the available sources
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
void DeleteSource ( string  sourceName)
Parameters
sourceNamesource name that will be used for the operation
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
IParamConfig GetConfigValues ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
IEnumerable<IRtcDateSource> GetDateSources ( )
Returns
Enumerable with IRtcDateSource
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
IDateAndTimeSync GetDateTime ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
void SetDiffTime ( int  seconds)
Parameters
secondsTime provided in seconds
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error
void SetSyncTime ( int  seconds)
Parameters
secondsTime provided in seconds
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error