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 Nov 6, 2024
1 parent beb2a16 commit 31e0934
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 @@ -1571,19 +1571,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 31e0934

Please sign in to comment.