Chapter 3: AT Commands Reference

System Date and Time Access Commands

+CCLK, Read/Set System Date and Time

This command reads and sets the G24-L current date, time and time zone.

 

 

 

 

Command Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

Set

+CCLK=<time>

OK

The Set command sets the date, time

 

 

or:

and time zone of the system clock.

 

 

+CME ERROR: <err>

Note: Set Command sets user defined

 

 

 

system clock values and saves

 

 

 

them in the NVM memory.

 

 

 

These saved values are kept

 

 

 

after power-cycle as well.

 

 

 

 

Read

+CCLK?

+CCLK: <time>

The Read command returns the current

 

 

OK

date, time and time zone setting.

 

 

or:

By default, <time> will represent the

 

 

network updated time.

 

 

+CME ERROR: <err>

 

 

If the user has used the Set command

 

 

 

once, then <time> will represent the

 

 

 

Set command setting.

 

 

 

Note: If network operator does not

 

 

 

support System Clock Update

 

 

 

Message, the initial date, time

 

 

 

and time zone, displayed by

 

 

 

CCLK Read Command could

 

 

 

be invalid (user's responsibility

 

 

 

to set date, time and time zone

 

 

 

by CCLK Set Command).

 

 

 

Note: See Execute Command for

 

 

 

how-to enable back network

 

 

 

update time.

 

 

 

 

Test

+CCLK=?

+CCLK (list of

The Test command returns valid

 

 

supported <time>s)

parameters for the +CCLK Set

 

 

OK

command.

 

 

or:

 

 

 

+CME ERROR: <err>

 

 

 

 

 

Execute

+CCLK

OK

The Execute command causes system

 

 

or:

clock to be overridden by network

 

 

+CME ERROR: <err>

System Clock value immediately.

 

 

 

Note: CCLK Read command will

 

 

 

represent the network update

 

 

 

time after CCLK Execute

 

 

 

command . This value will be

 

 

 

represented after power-cycle

 

 

 

as well.

 

 

 

 

 

 

 

 

April 15, 2008

G24-L AT Commands Reference Manual

3-73

Page 137
Image 137
PIONEERPOS G24-LC manual System Date and Time Access Commands, +CCLK, Read/Set System Date and Time, +Cclk?, +Cclk=?