Skip to content

Commit

Permalink
AP_Networking: fixed docs for network port types
Browse files Browse the repository at this point in the history
and document broadcast and multicast
  • Loading branch information
tridge committed Dec 3, 2023
1 parent 7f94ae6 commit 63f9046
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/AP_Networking/AP_Networking_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo AP_Networking::Port::var_info[] = {
// @Param: TYPE
// @DisplayName: Port type
// @Description: Port type for network serial port. For the two client types a valid destination IP address must be set. For the two server types either 0.0.0.0 or a local address can be used.
// @Values: 0:Disabled, 1:UDP client, 2:TCP client, 3:TCP server
// @Description: Port type for network serial port. For the two client types a valid destination IP address must be set. For the two server types either 0.0.0.0 or a local address can be used. The UDP client type will use broadcast if the IP is set to 255.255.255.255 and will use UDP multicast if the IP is in the multicast address range.
// @Values: 0:Disabled, 1:UDP client, 2:UDP server, 3:TCP client, 4:TCP server
// @RebootRequired: True
// @User: Advanced
AP_GROUPINFO_FLAGS("TYPE", 1, AP_Networking::Port, type, 0, AP_PARAM_FLAG_ENABLE),
Expand All @@ -41,7 +41,7 @@ const AP_Param::GroupInfo AP_Networking::Port::var_info[] = {
// @DisplayName: protocol
// @Description: protocol
// @User: Advanced
// @CopyFieldsFrom: SERIAL0_PROTOCOL
// @CopyFieldsFrom: SERIAL1_PROTOCOL
AP_GROUPINFO("PROTOCOL", 2, AP_Networking::Port, state.protocol, 0),

// @Group: IP
Expand Down

0 comments on commit 63f9046

Please sign in to comment.