-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathip2uart.conf
More file actions
43 lines (35 loc) · 1.31 KB
/
ip2uart.conf
File metadata and controls
43 lines (35 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Sample configuration for ip2uart
# The file uses simple key=value pairs. Lines beginning with # are comments.
# UART parameters.
uart_device=/dev/ttyS2
uart_baud=420000
uart_databits=8 # 5..8
uart_parity=none # none | even | odd
uart_stopbits=1 # 1 | 2
uart_flow=none # none | rtscts
# ip2uart operates in UDP peer mode.
# UDP peer settings.
udp_bind_addr=0.0.0.0
udp_bind_port=14550
# Leave blank to auto-learn the peer from inbound packets.
udp_peer_addr=
udp_peer_port=14550
# UDP coalescing thresholds.
udp_coalesce_bytes=1200 # flush once this many bytes accumulate
udp_coalesce_idle_ms=5 # or if idle for this many milliseconds
udp_max_datagram=1200 # safety cap
# Stats are printed once per second when ip2uart is launched with -v.
# Telemetry protocol selection (default: off).
# off : Disable telemetry detection and parsing.
# crsf : Force CRSF parsing.
# msp : Force MSP parsing.
# mavlink : Force MAVLink parsing.
telemetry_proto=off
# Advanced telemetry settings.
# Enable coalescing for telemetry packets sent over UDP (0=off, 1=on).
telemetry_coalesce=0
# MSP polling rate in Hz (requests per second) when MSP is active (default: 5).
telemetry_msp_rate=5
# Scratch buffer sizes (bytes) for ring buffers and inbound reads.
rx_buf=65536
tx_buf=65536