22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

<br />

0 – TA buffer of unsolicited result codes defined within <strong>this</strong> <strong>command</strong> is flushed to the TE<br />

when 1 to 3 is entered (OK response shall be given before flushing the codes).<br />

1 – TA buffer of unsolicited result codes defined within <strong>this</strong> <strong>command</strong> is cleared when<br />

1 to 3 is entered.<br />

Examples<br />

<strong>AT</strong>+CNMI<br />

+CNMI: 0,0,0,0,0<br />

OK<br />

<strong>AT</strong>+CNMI=<br />

+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)<br />

OK<br />

<strong>AT</strong>+CNMI=2,1 (unsolicited result codes after received messages.)<br />

OK<br />

6.10 <strong>AT</strong>+CMGL List SMS messages from preferred store<br />

Description<br />

The <strong>command</strong> returns messages with status value from message storage to the TE.<br />

If the status of the message is 'received unread', the status in the storage changes to 'received read'.<br />

SIM PIN References<br />

YES 3GPP TS 27.005<br />

Syntax<br />

Test Command<br />

<strong>AT</strong>+CMGL=<br />

Write Command<br />

<strong>AT</strong>+CMGL=<br />

Responses<br />

+CMGL: (list of supported s)<br />

OK<br />

Responses<br />

If text mode (<strong>AT</strong>+CMGF=1), <strong>command</strong> successful and SMS-S<br />

UBMITs and/or SMS-DELIVERs:<br />

+CMGL:,,/,[],[][,/,] [<br />

+CMGL:,,/,[],[][,/,][...]]<br />

OK<br />

If text mode (<strong>AT</strong>+CMGF=1), <strong>command</strong> successful and SMS-<br />

ST<strong>AT</strong>US-REPORTs:<br />

+CMGL:,,,,[],[],,,

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

Saved successfully!

Ooh no, something went wrong!