Commands & communication frames, 3 commands & communication frames – PNI TCM 5 User Manual
Page 32
PNI Sensor Corporation
Doc #1007537 r12
TCM3 & TCM5 User Manual- Sept 2011
Page 32
Boolean
Boolean is a 1-byte parameter that MUST have the value 0 (false) or 1 (true).
byte
7
0
4.3.3 Commands & Communication Frames
Overview:
Frame
ID
Command
Description
1
kGetModInfo
Queries the modules type and firmware revision number.
2
kModInfoResp
Response to kGetModInfo
3
kSetDataComponents
Sets the data components to be output.
4
kGetData
Queries the module for data
5
kDataResp
Response to kGetData
6
kSetConfig
Sets internal configurations in the module
7
kGetConfig
Queries the module for the current internal configuration value
8
kConfigResp
Response to kGetConfig
9
kSave
Commands the module to save internal and user calibration
10
kStartCal
Commands the module to start user calibration
11
kStopCal
Commands the module to stop user calibration
12
kSetParam
Sets the FIR filter settings for the magnetometer & accelerometer
sensors.
13
kGetParam
Queries for the FIR filter settings for the magnetometer &
accelerometer sensors.
14
kParamResp
Contains the FIR filter settings for the magnetometer &
accelerometer sensors.
15
kPowerDown
Used to completely power-down the module
16
kSaveDone
Response to kSave
17
kUserCalSampCount
Sent from the module after taking a calibration sample point
18
kUserCalScore
Contains the calibration score
19
kSetConfigDone
Response to kSetConfig
20
kSetParamDone
Response to kSetParam
21
kStartIntervalMode
Commands the module to output data at a fixed interval
22
kStopIntervalMode
Commands the module to stop data output at a fixed interval
23
kPowerUp
Sent after wake up from power down mode
24
kSetAcqParams
Sets the sensor acquisition parameters
25
kGetAcqParams
Queries for the sensor acquisition parameters
26
kAcqParamsDone
Response to kSetAcqParams
27
kAcqParamsResp
Response to kGetAcqParams
28
kPowerDownDone
Response to kPowerDown
29
kFactoryUserCal
Clears user calibration coefficients
30
kFactorUserCalDone
Response to kFactoryUserCal
31
kTakeUserCalSample
Commands the unit to take a sample during user calibration