nrf9160

Set command

The set command sets the current time and daylight saving time of the User Equipment (UE).

Syntax:

%CCLK=<time>,<daylight_saving_time>

The set command parameters and their defined values are the following:

<time>
String. Current time in the format "yy/MM/dd,hh:mm:ss±zz", where the characters, from left to right, indicate year, month, day, hour, minutes, seconds, and time zone. Time zone indicates the difference, expressed in quarters of an hour, between the local time and GMT (value range from −48 to +48 and 99 for "not set" or "unknown").
<daylight_saving_time>
0 – No adjustment of daylight saving time
1 – +1 h adjustment of daylight saving time
2 – +2 h adjustment of daylight saving time

The following command example sets the real-time clock:

AT%CCLK="02/05/07,14:08:17+00",2
OK