Commands & communication frames, Table 7-2: tcm command set, Nd 7.3 – PNI TCM User Manual
Page 44: 3 commands & communication frames
PNI Sensor Corporation
DOC#1014688 r06
TCM User Manual
– July 2013
Page 39
Unsigned 8-Bit Integer (UInt8)
UInt8-based parameters are unsigned 8-bit numbers.
byte
7
0
Boolean
Boolean is a 1-byte parameter that MUST have the value 0 (FALSE) or 1 (TRUE).
byte
7
0
7.3
Commands & Communication Frames
Table 7-2, below, provides the TCM’s command set.
Table 7-2: TCM Command Set
Frame
ID
d
Command
Description
1
kGetModInfo
Queries the
device’s type and firmware revision.
2
kGetModInfoResp
Response to kGetModInfo
3
kSetDataComponents
Sets the data components to be output.
4
kGetData
Queries the TCM for data
5
kGetDataResp
Response to kGetData
6
kSetConfig
Sets internal configurations in TCM
7
kGetConfig
Queries TCM for the current internal
configuration
8
kGetConfigResp
Response to kGetConfig
9
kSave
Saves the current internal configuration and any
new user calibration coefficients to non-volatile
memory.
10
kStartCal
Commands the TCM to start user calibration
11
kStopCal
Commands the TCM to stop user calibration
12
kSetFIRFilters
Sets the FIR filter settings for the magnetometer
& accelerometer sensors.
13
kGetFIRFilters
Queries for the FIR filter settings for the
magnetometer & accelerometer sensors.
14
kGetFIRFiltersResp
Contains the FIR filter settings for the
magnetometer & accelerometer sensors.
15
kPowerDown
Powers down the module
16
kSaveDone
Response to kSave