beautypg.com

Commands & communication frames, Module set-up, Table 5-1: v2xe command set – PNI CompassPoint V2Xe User Manual

Page 13: 3 commands & communication frames, 4 module set-up

background image

PNI Sensor Corporation

DOC#1017814 r01

V2Xe User Manual

– May 2012

Page 11

FourCharCode

FourCharCode is a four-byte parameter.

ASCII Char 1

ASCII Char 2

ASCII Char 3

ASCII Char 4

7 0 7 0 7 0 7 0

5.3

Commands & Communication Frames

Table 5-1: V2Xe Command Set

Frame

ID

Command

Description

Set Up

0x01

kGetModInfo

Queries the

device’s type and firmware revision.

0x02

kGetModInfoResp

Response to kGetModInfo

0x06

kSetConfig

Sets internal configurations in V2Xe

0x07

kGetConfig

Queries V2Xe for the current internal configuration

0x08

kGetConfigResp

Response to kGetConfig

0x09

kSave

Saves the current internal configuration and any new
user calibration coefficients to non-volatile memory.

Calibration

0x0A

kStartCal

Commands the V2Xe to start user calibration

0x0B

kStopCal

Commands the V2Xe to stop user calibration

0x0C

kGetCalData

Queries for the calibration coefficients

0x0D

kGetCalDataResp

Provides the calibration coefficients

0x0E

kSetCalData

Allows the user to write the calibration coefficients.

Operation

0x03

kSetDataComponents

Sets the data components to be output.

0x04

kGetData

Queries the V2Xe for data

0x05

kGetDataResp

Response to kGetData

5.4

Module Set-Up

kGetModInfo (frame ID 0x01)

This frame queries the device's type and firmware revision number. The frame has no

payload.