Go to the documentation of this file.
12 namespace fusion_engine {
125 return "Clear Faults";
131 return "Fatal Error";
137 return "Enable GNSS";
140 return "Region Blackout";
143 return "Quectel Test";
146 return "Integrity Status";
149 return "Unrecognized";
158 stream <<
to_string(type) <<
" (" << (int)type <<
")";
190 return "Acceleration";
196 return "Unrecognized";
205 stream <<
to_string(type) <<
" (" << (int)type <<
")";
229 static constexpr uint8_t MESSAGE_VERSION = 0;
234 uint8_t reserved[15] = {0};
237 uint32_t payload_length_bytes = 0;
MessageType
Identifiers for the defined output message types.
Library portability helper definitions.
@ CRASH
Force the device to crash (intended for factory test purposes only).
@ ALTITUDE
Simulate a maximum altitude limit.
@ FATAL_ERROR
Force the device to exhibit a fatal error (intended for factory test purposes only).
@ SPEED
Simulate a maximum speed limit.
@ NONE
Clear the current COCOM limit.
@ ENABLE_GNSS
Enable/disable use of GNSS measurements (intended for dead reckoning performance testing).
Enable/disable a specified system fault (MessageType::FAULT_CONTROL, version 1.0).
The base class for all message payloads.
@ INTEGRITY_STATUS
Simulate a specified integrity status failure (intended for factory test purposes only).
@ REGION_BLACKOUT
Simulate a region blackout (intended for factory test purposes only).
GNSS signal and frequency type definitions.
P1_CONSTEXPR_FUNC const char * to_string(ConfigType type)
Get a human-friendly string name for the specified ConfigType.
@ QUECTEL_TEST
Enable/disable Quectel test features (intended for factory test purposes only).
p1_ostream & operator<<(p1_ostream &stream, ConfigType type)
ConfigType stream operator.
@ ACCELERATION
Simulate a maximum acceleration limit.
#define P1_CONSTEXPR_FUNC
@ CLEAR_ALL
Clear existing faults.
@ COCOM
Simulate a COCOM limit (intended for factory test purposes only).
Point One FusionEngine output message common definitions.
FaultType
Available fault types/control inputs.
CoComType
The type of COCOM limit to be applied.
@ FAULT_CONTROL
FaultControlMessage