Common Enumeration Definitions
Enumerations Index
| enum class | Response : uint8_t { ... } |
|
Command response status indicators. More... | |
| enum class | SolutionType : uint8_t { ... } |
|
Navigation solution type definitions. More... | |
Operators Index
| p1_ostream & | operator<< (p1_ostream &stream, MessageType type) |
|
MessageType stream operator. More... | |
| p1_ostream & | operator<< (p1_ostream &stream, Response val) |
| p1_ostream & | operator<< (p1_ostream &stream, SolutionType type) |
|
SolutionType stream operator. More... | |
Functions Index
| P1_CONSTEXPR_FUNC const char * | to_string (MessageType type) |
|
Get a human-friendly string name for the specified MessageType. More... | |
| P1_CONSTEXPR_FUNC const char * | to_string (Response val) |
|
Get a human-friendly string name for the specified Response. More... | |
| P1_CONSTEXPR_FUNC const char * | to_string (SolutionType type) |
|
Get a human-friendly string name for the specified SolutionType. More... | |
GNSS Constellation (System) Definitions Index
| P1_CONSTEXPR_FUNC const char * | to_string (SatelliteType type) |
|
Get a human-friendly string name for the specified SatelliteType (GNSS constellation). More... | |
| p1_ostream & | operator<< (p1_ostream &stream, SatelliteType type) |
|
SatelliteType stream operator. More... | |
| P1_CONSTEXPR_FUNC const char * | to_string (FrequencyBand type) |
|
Get a human-friendly string name for the specified FrequencyBand. More... | |
| p1_ostream & | operator<< (p1_ostream &stream, FrequencyBand type) |
|
FrequencyBand stream operator. More... | |
Enumerations
Response
| strong |
Command response status indicators.
- Enumeration values
-
OK (= 0) UNSUPPORTED_CMD_VERSION A version specified in the command or subcommand could not be handled (= 1) UNSUPPORTED_FEATURE The command interacts with a feature that is not present on the target device (e.g., Setting the baud rate on a device without a serial port) (= 2) VALUE_ERROR One or more values in the command were not in acceptable ranges (e.g., An undefined enum value, or an invalid baud rate) (= 3) INSUFFICIENT_SPACE The command would require adding too many elements to an internal storage (= 4) EXECUTION_FAILURE There was a runtime failure executing the command (= 5) INCONSISTENT_PAYLOAD_LENGTH The header payload_size_bytes is in conflict with the size of the message based on its type and type specific length fields (= 6) DATA_CORRUPTED Requested data was corrupted and not available (= 7) NO_DATA_STORED The requested data isn't available (= 8) UNAVAILABLE The device is in a state where it can't process the command (= 9) UNSUPPORTED_INTERFACE An interface specified in the command is invalid, or unsupported on the target device (= 10)
Definition at line 406 of file defs.h.
SolutionType
| strong |
Navigation solution type definitions.
- Enumeration values
Definition at line 503 of file defs.h.
Operators
operator<<()
| inline |
MessageType stream operator.
operator<<()
| inline |
Response stream operator.
operator<<()
| inline |
SolutionType stream operator.
Functions
to_string()
|
Get a human-friendly string name for the specified MessageType.
- Parameters
-
type The desired message type.
- Returns
The corresponding string name.
Definition at line 125 of file defs.h.
to_string()
|
Get a human-friendly string name for the specified Response.
- Parameters
-
val The enum to get the string name for.
- Returns
The corresponding string name.
Definition at line 464 of file defs.h.
to_string()
|
Get a human-friendly string name for the specified SolutionType.
- Parameters
-
type The desired message type.
- Returns
The corresponding string name.
Definition at line 539 of file defs.h.
GNSS Constellation (System) Definitions
operator<<
| inline |
SatelliteType stream operator.
Definition at line 91 of file signal_defs.h.
operator<<
| inline |
FrequencyBand stream operator.
Definition at line 271 of file signal_defs.h.
to_string
|
Get a human-friendly string name for the specified SatelliteType (GNSS constellation).
- Parameters
-
type The desired satellite type.
- Returns
The corresponding string name.
Definition at line 50 of file signal_defs.h.
to_string
|
Get a human-friendly string name for the specified FrequencyBand.
- Parameters
-
type The desired frequency band.
- Returns
The corresponding string name.
Definition at line 245 of file signal_defs.h.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.