D2X configuration
The D2X configuration file is available as /nxpD2X/nxpD2X.conf
Example config
description
default values in bold
VideoFunction
Defines if the board acts as video transmitter into the D2X network or as video receiver. The TX sends the video stream from HD camera connected to MIPI CSI port to RX point-2-point. The RX outputs recived video data on HDMI port. The communication partners are defined via the MAC destination addres.
TX
Board acts as video transmitter
RX
Board acts as video receiver
VideoInOut
Defines the video source/output setting
0
Std input/output of application
1
File fifo
2
TelemetryDevice
Defines the telemetry hardware port. Bidirectional serial. Baudrate used on this device is configured via TTYBaud.
/dev/ttymxc3
UART4 - D2X board
/dev/ttyGS0
USB-OTG port
/dev/ttyAMA0
serial port on RaspberryPi
Interface
wave-raw
Channel
CCH
PowerOutput
RF output power in 1/2 dBm.
0
0 mW - minimum value
24
15.8 mW
28
25 mW - maximum allowed EIRP on ISM band
46
200mW - maximum transmitter output power of uBlox Vera module
ChannelNumber
Defines the frequency channel number.
165
Radio
a
Filter
0x88B60
RXAnt
3
MACAddr
Own MAC adress.
04:e5:48:02:09:10
own MAC adress in HEX format
04:e5:48:02:xx:xx
xx=01 to FF
MCS
Modulation type and related data rate
MCS setting
modulation type
data rate
MKXMCS_R12BPSK
1/2 BPSK
3Mb/s
MKXMCS_R34BPSK
3/4 BPSK
4.5Mb/s
MKXMCS_R12QPSK
1/2 QPSK
6Mb/s
MKXMCS_R34QPSK
3/4 QPSK
9Mb/s
MKXMCS_R12QAM16
1/2 16QAM
12Mb/s
MKXMCS_R34QAM16
3/4 16QAM
18Mb/s
MKXMCS_R23QAM64
2/3 64QAM
24Mb/s
MKXMCS_R34QAM64
3/4 64QAM
27Mb/s
Destination
MAC adress of the communication partner for all P2P connections. This is used for the video streaming as well as serial telemetry data.
04:e5:48:02:09:11
MAC adress of communication partner in HEX format
04:e5:48:02:xx:xx
xx=01 to FF
EtherType
0x88B6
TTYBaud
Serial baud rate used on telemetry hardware port.
115200
115k2 baud
57600
57k6 baud
19200
19k2 baud
VideoStreamUDP
If VideoInOut = 2 then VideoStreamUDP needs to be set to 1 or 2.
0
no UDP stream output
1
UDP out only
2
UDP out AND output to std output
VideoUDP_IP
192.168.42.129
VideoUDP_Port
5000
TelemetryStreamUDP
0
no telemetry output to IP adress/port
1
sends/receives telemetry data to/from IP only
2
sends/receives telemetry data to/from telemetry device AND IP port
TelemetryUDP_IP
192.168.42.129
TelemetryUDP_Port
14550
MavLinkPosition
0
disable sending UTM_GLOBAL_POSITION broadcast via RF
1
enable sending UTM_GLOBAL_POSITION broadcast via RF*
* Message is sent in byte format.
AutoStartVideo
0
disable sending video stream
1
enables sending video stream
AutoStartTelemetry
1
enables telemetry stream
0
disables telemetry stream
Last updated