30.06.2014 Views

MC52i AT Command Set

MC52i AT Command Set

MC52i AT Command Set

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>MC52i</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

<br />

15.44 Examples for Using Remote-S<strong>AT</strong><br />

15.44 Examples for Using Remote-S<strong>AT</strong><br />

To give you an idea of how to start and use Remote-S<strong>AT</strong>, you may follow the steps described below:<br />

// Start after switch on the module<br />

at<br />

OK<br />

// Switch on verbose error messages<br />

at+cmee=2<br />

OK<br />

// Enter the PIN code (if necessary due to SIM configuration)<br />

at+cpin=1234<br />

OK<br />

// Query the Remote-S<strong>AT</strong> activation status<br />

at^ssta?<br />

^SSTA: 1,0,1,"6FFFFFFF7F0300DF7F"<br />

OK<br />

// First '1' indicates that the interface is in OFF state, i.e. the Automatic Response (AR) mode is enabled. During<br />

this mode all S<strong>AT</strong> Proactive <strong>Command</strong>s are handled internally by the ME.<br />

// Tell the module that the TE is interested in handling S<strong>AT</strong>, i.e. switch to Explicit Response (ER) mode.<br />

at^ssta=1,0<br />

OK<br />

// This setting takes effect after next start of the ME only, so switch off first<br />

<strong>AT</strong>^SMSO<br />

^SMSO: MS OFF<br />

OK<br />

^SHUTDOWN<br />

// Switch on ME again and wait until system start indication (if not in autobaud mode, refer <strong>AT</strong>+IPR)<br />

^SYSSTART<br />

// Switch on verbose error messages<br />

at+cmee=2<br />

OK<br />

// Enter the PIN code (if necessary due to SIM configuration)<br />

at+cpin=1234<br />

OK<br />

// Receiving the first proactive command (if the mounted SIM carries a SIM Application)<br />

^SSTN:37<br />

// Requesting parameter details<br />

at^sstgi=37<br />

// These are the details:<br />

^SSTGI: 37,0,3,"S<strong>AT</strong> Special Menu",0,1,1,0<br />

^SSTGI: 37,1,"News",0,0<br />

^SSTGI: 37,2,"EMail",0,0<br />

^SSTGI: 37,3,"Banking",0,0<br />

OK<br />

// To query the status of the proactive command<br />

at^sstr=37,0<br />

<strong>MC52i</strong>_<strong>AT</strong>C_V01.201 Page 449 of 551 4/16/10<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!