Position determination start session result +wpdss – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 92

Advertising
background image

Chapter 13 – Position Determination (GPS) AT Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

92

Position Determination Start Session Result +WPDSS

Description: This unsolicited command returns the position determination data.

Values:

<lat> & <lon>
32-bit integer

<time>
64-bit integer

<fix>

2: 2D fix
3: 3D fix

<mask>

bit 0: altitude valid
bit 1: heading valid
bit 2: velocity valid (e.g. 6 means heading and velocity valid)

<altitude>
16 bit integer

<altitude uncertainty>
byte

<heading>
16 bit unsigned integer

<heading uncertainty>
byte

<velocity horizontal>
16 bit unsigned integer

<velocity vertical>
8 bit signed integer

<velocity uncertainty>
byte


Syntax:

Response Syntax: +WPDSS: <lat>,<lon>,<time>,<uncertainty>,<fix>,<mask>,<alt>,<alt_u>,
<heading>,<ang_u>,<vh>,<vv>,<v_u>

Command

Possible Responses

AT+WPDSS=”P”
Note: Ask for position only.

OK
+WPDSS:#,#,#,#,2
Note: Unsolicited result with position only.

AT+WPDSS=”PV”
Note: Ask for position and velocity.

OK
+WPDSS:#,#,#,#,2,6,#,#,#,#,#
Note: Unsolicited result with heading and velocity.

AT+WPDSS=”PH”
Note: Ask for position and height.

OK
+WPDSS:#,#,#,#,3,3,#,#,#,#,#
Note: Unsolicited result with altitude and heading.

Advertising