OnCell G2150I AT Command Set

General Commands

AT+CCLK?

Note: Get current date and time

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

OK

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

Defined values: <date and time string>

String format for date/time is: “yy/MM/dd,hh:mm:ss”.

Valid years are 00 (for 2000) to 99 (for 2099). The seconds field is not mandatory. Default date/time is “00/01/01,00:00:00” (January 1st, 2000 / midnight).

Alarm Management: +CALA

Description: This command is used to set alarms date/time in the ME. The maximum number of

alarms is 16. Note: The date/time should be already set with AT+CCLK command before using AT+CALA.

Command syntax: AT+CALA=<date and time string> (set alarm) AT+CALA=““,<index> (delete alarm)

Command

Possible responses

AT+CALA=“00/06/09, 07:30”

OK

Note: set an alarm for June 9th, 2000 at 7:30 am

Note: Alarm stored

AT+ CALA=“99/03/05, 13:00:00”

+CME ERROR 3

Note: set an alarm for March 5th, 1999 at 1:00

Note: Invalid alarm (date/time expired)

pm

 

AT+ CALA?

+CALA: “00/06/08, 15:25:00”, 1

Note: list all alarms

+CALA: “00/06/09, 07:30:00”, 2

+CALA: “00/06/10, 23:59:00”, 3

 

Note: three alarms are set (index 1, 2, 3)

 

+CALA: “00/06/08, 15:25:00”, 1

 

Note: an alarm occurs (index 1)

AT+CALA=“,3

OK

Note: delete alarm index 3

Note: Alarm index 3 deleted

AT+CALA?

+CALA: “00/06/09, 07:30:00”, 2

Note: list all alarms

Note: Only one alarm (index 2 )

Defined values: <date and time string>

String format for alarms: “yy/MM/dd,hh:mm:ss” (see +CCLK).

Note: Seconds are taken into account. <index> offset in the alarm list, range 1 to 16.

Generic SIM Access: +CSIM

Description: This command allows direct control of the SIM by a distant application on the TE. The <command> is sent without any modification to the SIM. In the same manner the SIM <response> is sent back by the ME as it is. The user shall then take care of processing SIM information within the frame specified by GSM as specified in GSM 11.11(or 3GPP TS 51.011). If operation mode is not allowed by the ME, +CME ERROR: <error> is returned. Between two successive +CSIM commands, there is no locking of the interface between the SIM and the GSM application. Since in this situation some command types and parameters can modify the wrong SIM files, some operations, described below, are not allowed for CSIM command. However, it is possible to process them with the CRSM command.

Command syntax: AT+CSIM=<length>,<command>

3-8

Page 20
Image 20
Moxa Technologies G2150I manual Alarm Management +CALA, Generic SIM Access +CSIM, At+Cclk?, At+ Cala?, AT+CALA=,3 AT+CALA?