28.04.2015 Views

AT Commands Set

AT Commands Set

AT Commands 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.

SIM5215_SIM5216 <strong>AT</strong> Command Manual<br />

12.14 <strong>AT</strong>+CGSETV <strong>Set</strong> the value of specified GPIO<br />

Description<br />

The command is used to set the value of the specified GPIO to high or low.<br />

SIM PIN<br />

NO<br />

References<br />

Vendor<br />

Syntax<br />

Write Command<br />

<strong>AT</strong>+CGSETV=,<br />

[,]<br />

Responses<br />

OK<br />

ERROR<br />

Defined values<br />

<br />

2 – GPIO2<br />

3 – GPIO3<br />

5 – GPIO5<br />

<br />

0 – low<br />

1 – high<br />

<br />

0 – not save the setting<br />

1 – save the setting<br />

NOTE If the parameter of is omitted, it will save the value of specified GPIO.<br />

Examples<br />

<strong>AT</strong>+CGSETV=3,0,0<br />

OK<br />

12.15 <strong>AT</strong>+CGGETV Get the value of specified GPIO<br />

Description<br />

The command is used to get the value (high or low) of the specified GPIO.<br />

SIM PIN<br />

NO<br />

References<br />

Vendor<br />

Syntax<br />

SIM5215_SIM5216_<strong>AT</strong> Command Manual_V1.13 219<br />

1/13/2011

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

Saved successfully!

Ooh no, something went wrong!