Chapter 4 – General Commands

Clock Management +CCLK

Description: This command is used to set or get the current date and time of the MS real-time clock. String format for date/time is: “yy/MM/dd,hh:mm:ss”.

Valid years are 98 (for 1998) to 97 (for 2097). The seconds field is not mandatory. Default date/time is “98/01/01,00:00:00” (January, 1998 / midnight).

Syntax:

Command syntax: AT+CCLK=<date and time string>

 

Command

Possible Responses

 

 

 

 

AT+CCLK=”00/06/09,17:33:00”

OK or ERROR

 

Note: set date to June , 2000,

Note: Date/Time stored – ERROR returned when RTC

 

and time to 5:33pm

not enabled

 

AT+CCLK=”00/13/13,12:00:00”

+CME ERROR 3

 

Note: Incorrect month entered

 

 

AT+CCLK?

+CCLK: “00/06/09,17:34:23”

 

Note: Get current date and time

Note: current date is June 9, 2000 current time is 5:34:23

 

 

pm – network time if available, otherwise calculated

 

 

based on previous network time if available, otherwise

 

 

ERROR.

Ring Melody Playback +CRMP

Description: This command causes a melody to be played. The specified melody will playback in an endless loop until stopped with another +CRMP command. All melodies are manufacturer defined. Up to ten manufacturer-defined melodies can be available for individual playback. Note: Looped melodies must be stopped by a +CRMP command with the <index> field set to 0 (example: +CRMP=0,,,0).

When the +CRMP command is performed, the <volume> parameter overwrites the <sound level> value of the +CRSL command.

Values:

<call type>

 

 

0:

Incoming voice call

 

1:

Incoming data call

 

2:

Incoming fax call

 

3:

Incoming short message (SMS)

 

<volume>

 

 

0:

Min volume (mute)

 

1:

Default volume

 

4:

Max volume

 

<type>

 

 

0:

Manufacturer Defined (default)

 

<index>

 

 

0:

Stop Melody Playback

 

1-10

Melody ID for voice/data/fax call type (default:1)

Syntax:

Command syntax: AT+CRMP=<call type>[,<volume>,<type>,<index>]

 

Command

Possible Responses

 

AT+CRMP=0,2,0,2 Note: Play voice call

OK Note: Melody Playback.

 

melody index 2 with volume level 2.

 

 

AT+CRMP=0,,,0

OK

 

Note: Stop the melody.

Note: The melody is stopped.

 

AT+CRMP=?

+CRMP: (0-3),(0-4),(0-0),(0-10)

 

Note: supported parameters

OK

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

31

Page 31
Image 31
Multi-Tech Systems CDMA Wireless Modem manual Clock Management +CCLK, Ring Melody Playback +CRMP