Skip to content

Commit

Permalink
Added InterfaceConfigType::PATH alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamshapiro0 committed Jul 3, 2024
1 parent cfe7b03 commit 0a05984
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions python/fusion_engine_client/messages/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class InterfaceConfigType(IntEnum):
OUTPUT_DIAGNOSTICS_MESSAGES = 1
BAUD_RATE = 2
REMOTE_ADDRESS = 3
PATH = 3 # Alias for REMOTE_ADDRESS
PORT = 4
ENABLED = 5
DIRECTION = 6
Expand Down
10 changes: 7 additions & 3 deletions src/point_one/fusion_engine/messages/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1552,19 +1552,23 @@ enum class InterfaceConfigType : uint8_t {
BAUD_RATE = 2,

/**
* Configure the network address for a client to connect to.
* Configure the network address for a client to connect to, or the path to a
* local file.
*
* For UNIX domain sockets, this string represents the path to the local
* socket file.
* For UNIX domain sockets and serial ports, this string represents the path
* to the local socket or device file.
*
* Valid for:
* - @ref TransportType::SERIAL
* - @ref TransportType::TCP
* - @ref TransportType::UDP
* - @ref TransportType::UNIX
*
* Payload format: `char[64]` containing a NULL terminated string.
*/
REMOTE_ADDRESS = 3,
/** Alias for `REMOTE_ADDRESS`. */
PATH = 3,

/**
* Configure the network port.
Expand Down

0 comments on commit 0a05984

Please sign in to comment.