GE863-QUAD / PY Software User Guide

GE863-QUAD / PY Software User Guide GE863-QUAD / PY Software User Guide

03.01.2015 Views

GE863-QUAD / PY Software User Guide 1vv0300746 Rev. 1 - 23/10/06 3.4.3 Writing a New SMS to storage A new SMS can be written in the selected storage (in the current SW version only "SM" is supported) and then can be sent to the desired destination. To write the new SMS: • send command AT+CMGW="" where: : destination address • wait for prompt ">" • send SMS text (MAX 160 characters) • end command with CTRL-Z character (0x1A hexadecimal) or abort command with ESC character (0x1B hexadecimal) • wait for response: Response Reason Action +CMGW: Message has been successfully proceed ahead written in position number OK ERROR some error occurred Enable the extended error codes report (see par.2.5.2.1) and retry. +CMS ERROR: 330 SMSC address unknown Insert SMSC address (see par. 3.4.1.3) +CMS ERROR: 322 Memory Full memory is full, hence delete some records and retry. NOTE: if command is aborted with ESC character, then only the OK result code is returned. Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 72 of 117

GE863-QUAD / PY Software User Guide 1vv0300746 Rev. 1 - 23/10/06 For example: 1- Let's assume you want to write a new SMS to the storage and the destination address is the number +39338123456789. We suppose you already have set up the device for text SMS mode as described on the previous paragraphs: command: AT+CMGW="+39338123456789" response: > now you can insert the message text in IRA format (note that the IRA format and ASCII format coincide for the alphabet characters but not for the other). …. here will be inserted the SMS message text…. conclude text with the character CTRL-Z response: +CMGW: 3 OK In this case, the new SMS was successfully written to the location index 3 of the selected write memory (always "SM" SIM Card memory). Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 73 of 117

<strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong><br />

1vv0300746 Rev. 1 - 23/10/06<br />

3.4.3 Writing a New SMS to storage<br />

A new SMS can be written in the selected storage (in the current SW version only "SM" is<br />

supported) and then can be sent to the desired destination.<br />

To write the new SMS:<br />

• send command AT+CMGW=""<br />

where:<br />

: destination address<br />

• wait for prompt ">"<br />

• send SMS text (MAX 160 characters)<br />

• end command with CTRL-Z character (0x1A hexadecimal) or abort command with ESC character<br />

(0x1B hexadecimal)<br />

• wait for response:<br />

Response Reason Action<br />

+CMGW: <br />

Message has been successfully proceed ahead<br />

written in position number<br />

OK<br />

<br />

ERROR some error occurred Enable the extended error<br />

codes report (see par.2.5.2.1)<br />

and retry.<br />

+CMS ERROR: 330 SMSC address unknown Insert SMSC address (see par.<br />

3.4.1.3)<br />

+CMS ERROR: 322 Memory Full memory is full, hence delete<br />

some records and retry.<br />

NOTE: if command is aborted with ESC character, then only the OK result code is returned.<br />

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 72 of 117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!