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

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

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

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

17 GPS Related Commands<br />

17.1 <strong>AT</strong>+CGPS Start/stop GPS session<br />

Description<br />

The <strong>command</strong> is used to start or stop GPS session.<br />

NOTE 1. Output of NMEA sentences is automatic; no control via <strong>AT</strong> <strong>command</strong>s is provided. You<br />

can configure NMEA or UART port for output by using <strong>AT</strong>+CGPSSWITCH. At present<br />

only support standalone mode. If executing <strong>AT</strong>+CGPS=1, the GPS session will choose cold<br />

or hot start automatically.<br />

2. UE-based and UE-assisted mode depends on URL (<strong>AT</strong>+CGPSURL) and certificate<br />

(<strong>AT</strong>+CGPSSSL). When UE-based mode failing, it will switch standalone mode.<br />

3. UE-assisted mode is single fix. Standalone and UE-based mode is consecutive fix.<br />

SIM PIN References<br />

NO Vendor<br />

Syntax<br />

Test Command<br />

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

Write Command<br />

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

[,]<br />

Responses<br />

OK<br />

Responses<br />

OK<br />

If UE-assisted mode, when fixed will report indication:<br />

+CAGPSINFO:,,,,<br />

ERROR<br />

Defined values<br />

<br />

0 – stop GPS session<br />

1 – start GPS session<br />

<br />

Ignore - standalone mode<br />

1 – standalone mode<br />

2 – UE-based mode<br />

3 – UE-assisted mode<br />

<br />

Latitude of current position. Unit is in 10^8 degree<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 302<br />

5/15/2012

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

Saved successfully!

Ooh no, something went wrong!