beautypg.com

Ksetconfig (frame id 6, 6 ksetconfig (frame id 6 – PNI TCM User Manual

Page 48

background image

PNI Sensor Corporation

DOC#1014688 r06

TCM User Manual

– July 2013

Page 43

Example:

If heading and pitch are set to be output per the kSetDataComponents

command, the payload would look like:

7.3.6

kSetConfig (frame ID 6

d

)

This frame sets internal configurations in the TCM. 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:

1

Declination

Angle (Float32)

10.0

Declination ID

Payload

Config ID

ID Specific

Value

UInt8

Payload

2

Heading ID

ID Count

Payload

Heading

(Float32)

Pitch ID

Pitch Output

(Float32)

5

359.9

24

10.5