Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Identifier:

Name:

Description:


Packet data:


Data format:

4

GET_CONFIG

Get the current value of the configuration register of the sensor. The configuration word is read-only. The different parameters are set by their respective SET commands. E.g. SET_TRANSMIT_DATA for defining which data is transmitted from the sensor.

Configuration word. Each bit represents the state of one configuration parameter.

32-bit integer

Identifier:

Name:

Description:

Packet data:

Data format:

5

GET_STATUS

Get the current value of the status register of the LPMS device. The status word is read-only.

Status indicator. Each bit represents the state of one status parameter.

32-bit integer. A high bit (1) indicates the following status:

bit 10: Command Mode enabled
bit 21: Streaming Mode enabled
bit 32: Reserved
bit 43: Gyro calibration running
bit 54: Magnetometer calibration running
bit 5: Gyroscope initialization failed
bit 6: Gyroscope Accelerometer initialization failed
bit 7: Accelerometer Magnetometer initialization failed
bit 8: Pressure sensor initialization failed
bit 9: Gyroscope unresponsive
bit 10: Accelerometer unresponsive
bit 11: Magnetometer unresponsive
bit 12: Flash write failed
bit 13: Set baudrate failed

Mode Switching Commands

Identifier:

Name:

Description:

Response:

6

GOTO_COMMAND_MODE

Switch to command mode. In command mode the user can issue commands to the firmware to perform calibration, set parameters etc.

ACK (success) or NACK (error)

Identifier:

Name:

Description:

Response:

7

GOTO_STREAM_MODE

Switch to streaming mode. In this mode data is continuously streamed from the sensor,and all other commands cannot be performed until the sensor receives the GOTO_COMMAND_MODE command.

ACK (success) or NACK (error)

...