beautypg.com

Kgetmodinfo (frame id 1, Kgetmodinforesp (frame id 2, 1 kgetmodinfo (frame id 1 – PNI TCM User Manual

Page 45: 2 kgetmodinforesp (frame id 2

background image

PNI Sensor Corporation

DOC#1014688 r06

TCM User Manual

– July 2013

Page 40

17

kUserCalSampleCount

Sent from the TCM after taking a calibration
sample point

18

kCalScore

Contains the calibration score

19

kSetConfigDone

Response to kSetConfig

20

kSetFIRFiltersDone

Response to kSetFIRFilters

21

kStartContinuousMode

Commands the TCM to output data at a fixed
interval

22

kStopContinuousMode

Stops data output when in Continuous Mode

23

kPowerUpDone

Confirms the TCM has received a signal to
power up

24

kSetAcqParams

Sets the sensor acquisition parameters

25

kGetAcqParams

Queries for the sensor acquisition parameters

26

kSetAcqParamsDone

Response to kSetAcqParams

27

kGetAcqParamsResp

Response to kGetAcqParams

28

kPowerDownDone

Response to kPowerDown

29

kFactoryMagCoeff

Resets magnetometer calibration coefficients to
original factory-established values

30

kFactoryMagCoeffDone

Response to kFactoryMagCoeff

31

kTakeUserCalSample

Commands the TCM to take a sample during
user calibration

36

kFactoryIAccelCoeff

Resets accelerometer calibration coefficients to
original factory-established values

37

kFactoryAccelCoeffDone

Respond to kFactoryAccelCoeff

46

kSetSyncMode

Sets whether the TCM is in normal or Sync
Mode

47

kSetSyncModeResp

Response to kSetSyncMode

49

kSyncRead

Queries the module for data in Sync Mode

7.3.1

kGetModInfo (frame ID 1

d

)

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

payload.

7.3.2

kGetModInfoResp (frame ID 2

d

)

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

identifier followed by the firmware revision number.

Note that the Type and Revision can be decoded from the binary format to character
format using the ASCII standard. For example, the hex string “00 0D 02 54 43 4D 35 31

Type

UInt32

Revision

UInt32

Payload