beautypg.com

Table 5-2: configuration identifiers – PNI CompassPoint V2Xe User Manual

Page 14

background image

V2Xe User Manual

– May 2012

Page 12

kGetModInfoResp (frame ID 0x02)

The response to kGetModInfo is given below. The payload contains the device type

identifier followed by the firmware revision number.

kSetConfig (frame ID 0x06)

This frame sets internal configurations in the V2Xe. The first byte of the payload is

the configuration ID followed by a format-specific value. These configurations can

only be set one at time. To save these in non-volatile memory, the kSave command

must be issued.

Example: To configure the declination, the payload would look like:

Table 5-2: Configuration Identifiers

Parameter

Config. ID

Format

Values / Range

Default

kDeclination

0x01

Float32

-

180˚ to +180˚

0

kTrueNorth

0x02

Boolean

True or False

False

kCalSampleFreq

0x03

UInt8

1 to 8 (Hz)

8

kSampleFreq

0x04

UInt8

0 to 8 (Hz)

0

kPeriod

0x05

UInt8

1 to 8

5

kBigEndian

0x06

Boolean

True or False

True

kDampingSize

0x07

UInt8

1 to 8

1

Configuration parameters and settings for kSetConfig:

0x01

Declination

Degrees (Float32)

10.0

Declination ID

Payload

Config ID

ID Specific

Value

UInt8

Payload

Type

FourCharCode

Revision

FourCharCode

Payload