D2X configuration

The D2X configuration file is available as /nxpD2X/nxpD2X.conf

Example config

[Main]
VideoFunction=TX
VideoInOut=0
TelemetryDevice=/dev/ttymxc3
Interface=wave-raw
Channel=CCH
PowerOutput=12
ChannelNumber=165
Radio=a
Filter=0x88B60
RXAnt=3
MACAddr=04:e5:48:02:09:10
MCS=MK2MCS_R12QAM16
Destination=04:e5:48:02:09:11
EtherType=0x88B6
TTYBaud=57600 
VideoStreamUDP=0
VideoUDP_IP=192.168.42.129
VideoUDP_Port=5000
TelemetryStreamUDP=0
TelemetryUDP_IP=192.168.42.129
TelemetryUDP_Port=14550
MavLinkPosition=0
AutoStartVideo=0
AutoStartTelemetry=1

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.

VideoInOut

Defines the video source/output setting

TelemetryDevice

Defines the telemetry hardware port. Bidirectional serial. Baudrate used on this device is configured via TTYBaud.

Interface

Channel

PowerOutput

RF output power in 1/2 dBm.

ChannelNumber

Defines the frequency channel number.

Radio

Filter

RXAnt

MACAddr

Own MAC adress.

MCS

Modulation type and related data rate

Destination

MAC adress of the communication partner for all P2P connections. This is used for the video streaming as well as serial telemetry data.

EtherType

TTYBaud

Serial baud rate used on telemetry hardware port.

VideoStreamUDP

If VideoInOut = 2 then VideoStreamUDP needs to be set to 1 or 2.

VideoUDP_IP

VideoUDP_Port

TelemetryStreamUDP

TelemetryUDP_IP

TelemetryUDP_Port

MavLinkPosition

* Message is sent in byte format.

AutoStartVideo

AutoStartTelemetry

Last updated