Skip to content

Commit 5bfe6e0

Browse files
authored
fix spelling of the udpbcast protocol in connection strings (#680)
1 parent b517d0e commit 5bfe6e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

en/mavgen_python/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,11 @@ where:
194194
- `tcpin`: Listen for a TCP connection on the specified `address` and `port`.
195195
- `udpin`: Listen for a UDP connection on the specified `address` and `port`.
196196
- `udpout`: Initiate a UDP connection on the specified `address` and `port`.
197+
- `udpbcast`: Broadcast UDP address and port. This is the same as `udp` with `mavlink_connection()` parameters `input=False` and `broadcast=True`.
198+
199+
For legacy purposes we accept the following syntax and let the caller to specify direction:
197200
- `udp`: By default, same as `udpin`. Set `mavlink_connection` parameter `input=False` to make same as `udpout`.
198-
- `udpcast`: Broadcast UDP address and port. This is the same as `udp` with `mavlink_connection()` parameters `input=False` and `broadcast=True`.
201+
199202
- `address`: IP address, serial port name, or file name
200203
- `port`: IP port (only if address is an IP address)
201204

0 commit comments

Comments
 (0)