14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: Using the <strong>Commands</strong><br />

Changing the Character Set<br />

Example<br />

When an SMS messages with the following text: "Motorola H24 OEM Module", is saved inside<br />

the H24 at entry 128, you can read it using several character sets.<br />

When the "IRA" character set is used, the following is received by the terminal:<br />

<strong>AT</strong>+CSCS?<br />

//Read the current character set<br />

+CSCS: "IRA"<br />

//Currently using IRA character set<br />

OK<br />

<strong>AT</strong>+CMGR=128 //Read SMS entry 128<br />

+CMGR: "STO UNSENT",""<br />

Motorola H24 OEM Module //The content of SMS entry 128<br />

OK<br />

When the "USC2" character set is used, the following is received by the terminal:<br />

<strong>AT</strong>+CSCS?<br />

//Read the current character set<br />

+CSCS: "UCS2"<br />

//Currently using UCS2 character set<br />

OK<br />

<strong>AT</strong>+CMGR=128<br />

+CMGR: "STO UNSENT",""<br />

004D006F0074006F0072006F006C006100200067003200300020004F0045004D<br />

0020004D006F00640075006C0065 //The content of SM entry 128<br />

OK<br />

The following is an IRA translation of the SM contents:<br />

004D<br />

M<br />

006F<br />

o<br />

0074 t<br />

006F<br />

o<br />

0072 r<br />

006F<br />

o<br />

006C<br />

l<br />

0061 a<br />

0020 [space]<br />

0067 g<br />

0032 2<br />

0030 0<br />

0020 [space]<br />

004F<br />

O<br />

0045 E<br />

004D<br />

M<br />

0020 [space]<br />

004D<br />

M<br />

006F<br />

o<br />

0064 d<br />

0075 u<br />

006C<br />

l<br />

0065 e<br />

As this SMS was originally written in ENGLISH, meaning IRA letters, each digit quadruplet<br />

starts with double zeros (00). When other languages are used, the quadruplets have different<br />

values.<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 4-19

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

Saved successfully!

Ooh no, something went wrong!