Messages for controlling device output (e.g., define TCP server parameters, configure message output rates).
|
strong |
An identifier for the contents of a output interface configuration submessage.
See also InterfaceConfigSubmessage.
Enumerator | |
---|---|
INVALID | |
OUTPUT_DIAGNOSTICS_MESSAGES | Enable/disable output of diagnostic data on this interface. Valid for:
Payload format: |
BAUD_RATE | Configure the serial baud rate (in bits/second). Valid for: Payload format: |
REMOTE_ADDRESS | Configure the network address for a client to connect to. For UNIX domain sockets, this string represents the path to the local socket file. Valid for: Payload format: |
PORT | Configure the network port. Valid for: Payload format: |
ENABLED | Enable/disable the interface. Valid for all TransportType values. Payload format: |
DIRECTION | Set the interface direction (client/server). Valid for: Payload format: TransportDirection |
SOCKET_TYPE | Set the UNIX domain socket type (streaming/datagram/sequenced). Valid for: Payload format: SocketType |
Definition at line 1533 of file configuration.h.
|
strong |
The output rate for a message type on an interface.
Enumerator | |
---|---|
OFF | Disable output of this message. |
ON_CHANGE | Output this message each time a new value is available. |
MAX_RATE | Alias for MessageRate::ON_CHANGE. |
INTERVAL_10_MS | Output this message every 10 milliseconds. Not supported for all messages or platforms. |
INTERVAL_20_MS | Output this message every 20 milliseconds. Not supported for all messages or platforms. |
INTERVAL_40_MS | Output this message every 40 milliseconds. Not supported for all messages or platforms. |
INTERVAL_50_MS | Output this message every 50 milliseconds. Not supported for all messages or platforms. |
INTERVAL_100_MS | Output this message every 100 milliseconds. Not supported for all messages or platforms. |
INTERVAL_200_MS | Output this message every 200 milliseconds. Not supported for all messages or platforms. |
INTERVAL_500_MS | Output this message every 500 milliseconds. Not supported for all messages or platforms. |
INTERVAL_1_S | Output this message every second. Not supported for all messages or platforms. |
INTERVAL_2_S | Output this message every 2 seconds. Not supported for all messages or platforms. |
INTERVAL_5_S | Output this message every 5 seconds. Not supported for all messages or platforms. |
INTERVAL_10_S | Output this message every 10 seconds. Not supported for all messages or platforms. |
INTERVAL_30_S | Output this message every 30 seconds. Not supported for all messages or platforms. |
INTERVAL_60_S | Output this message every 60 seconds. Not supported for all messages or platforms. |
DEFAULT | Restore this message's rate back to its default value. |
Definition at line 2094 of file configuration.h.
|
strong |
Integer ID for NMEA messages.
Definition at line 1996 of file configuration.h.
|
strong |
The framing protocol of a message.
Enumerator | |
---|---|
INVALID | |
FUSION_ENGINE | |
NMEA | |
RTCM | |
ALL | This is used for requesting the configuration for all protocols. |
Definition at line 1671 of file configuration.h.
|
strong |
The socket type specifying how data is transmitted for UNIX domain sockets.
Definition at line 1882 of file configuration.h.
|
strong |
The direction (client/server) for an individual interface.
Enumerator | |
---|---|
INVALID | |
SERVER | A server listening for one or more incoming remote connections. |
CLIENT | A client connecting to a specified remote server. |
Definition at line 1839 of file configuration.h.
|
strong |
Type of I/O interface transport.
Enumerator | |
---|---|
INVALID | |
SERIAL | A serial data interface (e.g. an RS232 connection). |
FILE | A interface that writes to a file. |
TCP | A TCP client or server. A TCP client will connect to a specified TCP server address and port. A TCP server will listen for incoming client connections, and may communicate with multiple clients at a time. Responses to commands will be sent only to the the issuing client. All other configured output messages will be sent to all clients. See also TransportDirection. |
UDP | A UDP client or server. UDP connections are stateless, unlike TCP. A UDP interface will listen for incoming messages on a specified port. It may optionally be configured to sent output to a specific hostname or IP address, including broadcast or multicast addresses. If an address is not specified, the interface will not send any output automatically, but it will respond to incoming commands, sending responses back to the remote client's address and port. |
WEBSOCKET | A WebSocket client or server. WebSocket connections are similar to TCP connections, and use TCP as their underlying transport, but use the WebSocket protocol to send and receive data. See also TransportDirection. |
UNIX | A UNIX domain socket client or server. UNIX domain socket connections may be configured as either client that connects to an existing server, or a server that listens for one or more incoming client connections. UNIX domain sockets may operate in one of three possible modes:
For a UNIX domain socket, you must specify:
|
CURRENT | Set/get the configuration for the interface on which the command was received. |
ALL | Set/get the configuration for the all I/O interfaces. |
Definition at line 1722 of file configuration.h.
|
inline |
InterfaceConfigType stream operator.
Definition at line 1662 of file configuration.h.
|
inline |
InterfaceID stream operator.
Definition at line 1987 of file configuration.h.
|
inline |
MessageRate stream operator.
Definition at line 2228 of file configuration.h.
|
inline |
NmeaMessageType stream operator.
Definition at line 2085 of file configuration.h.
|
inline |
ProtocolType stream operator.
Definition at line 1713 of file configuration.h.
|
inline |
SocketType stream operator.
Definition at line 1927 of file configuration.h.
|
inline |
TransportDirection stream operator.
Definition at line 1872 of file configuration.h.
|
inline |
TransportType stream operator.
Definition at line 1830 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | InterfaceConfigType | type | ) |
Get a human-friendly string name for the specified ConfigType.
type | The desired configuration parameter type. |
Definition at line 1627 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | MessageRate | value | ) |
Get a human-friendly string name for the specified MessageRate.
value | The enum to get the string name for. |
Definition at line 2185 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | NmeaMessageType | value | ) |
Get a human-friendly string name for the specified NmeaMessageType.
value | The enum to get the string name for. |
Definition at line 2042 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | ProtocolType | val | ) |
Get a human-friendly string name for the specified ProtocolType.
val | The enum to get the string name for. |
Definition at line 1692 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | SocketType | val | ) |
Get a human-friendly string name for the specified SocketType.
val | The enum to get the string name for. |
Definition at line 1909 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | TransportDirection | val | ) |
Get a human-friendly string name for the specified TransportDirection.
val | The enum to get the string name for. |
Definition at line 1856 of file configuration.h.
P1_CONSTEXPR_FUNC const char* point_one::fusion_engine::messages::to_string | ( | TransportType | val | ) |
Get a human-friendly string name for the specified TransportType.
val | The enum to get the string name for. |
Definition at line 1802 of file configuration.h.