RTC
DPYRTCTOOL                                         Linux Programmer's Manual                                         DPYRTCTOOL

DESCRIPTION
	dpyrtctool : Tool used to read and get information from Real Time Clock Service. Moreover, it is used to configure several parameters of RTC.

SYNOPSIS
	dpyrtctool [-h/ --help]
	dpyrtctool [-tv / --toolversion]
	dpyrtctool [-sst/ --setsynctime] <time>
	dpyrtctool [-sdt/ --setdifftime] <time>
	dpyrtctool [-gcv / --getconfvalues]
	dpyrtctool [-gt / --gettime]
	dpyrtctool [-rs / --remsrc] <name>
	dpyrtctool [-as / --addsrc] <name> <type> <priority> <uri> <local_time>
	dpyrtctool [-gs / --getsources]

OPTIONS
	-h / --help : Print help command information.
	-tv / --toolversion : Print tool version.
	-sst / --setsynctime <time> : Set synchronism time period in seconds. (range: 10 - 300)
	-sdt / --setdifftime <time> : Set maximum time in seconds allowed to RTC to be drifted from UTC valid time. (range: 1 - 30)
	Description:
		<time> : Time value provided in seconds.
	-gcv / --getconfvalues : Get RTC configuration parameters.
	-gt / --gettime : Get current RTC date and time
	-rs / --remsrc : Remove Date Source by name.
	Description:
		<name> : Name of the source.	
	-as / --addsrc <name> <type> <priority> <uri> <local_time>: Add Date Source.
	Description:
		<name> : Name of the source.
		<type> : Type of date source. Possible values are:
		    GNSS (Gnss device)                                                                                   
            MODEM (Modem device)                                                                                 
            SNTP  (SNTP Server)                                                                                   
            FILE  (File containing a line with date time info in ISO 8601:2000 standard date format [%FT%TZ] Check SEE ALSO instructions below)   
		<priority> : Priority of date source. Possible values are positive integer value. (range: 1 - 100)
			NOTE : Lower number indicates higher priority.
		<uri> : URL/IP address or file absolute path where date source is located (127.0.0.1 for localhost).
		<local_time> : Indicates if date and time are local or UTC. Possible values are:
			true : local time
			false : UTC time
	-gs / --getsources : Get RTC sources.
	
EXAMPLES
	dpyrtctool -sst 35
	dpyrtctool --setdifftime 15
	dpyrtctool -gcv
	dpyrtctool --addsrc my_sntp SNTP 15 127.0.0.1 false
	
FILES
	JSON Configuration file : /mntSFS/gmvCNF/rtc_conf.json

BUGS

SEE ALSO
    For File Date Time Sources: 
        - Date and time formats : https://www.w3.org/TR/NOTE-datetime
        - Data elements and interchange formats ISO8601:2000(E). Check chapter 5.4.1 - Complete Representation at: http://www.pvv.org/~nsaa/8601v2000.pdf 

AUTHORS
	Deepsy Team