User Manual

With flow control serial port UART0, 1.8v voltage domain, default baud rate 115200bps,
the highest theoretical value can support 19.5mbps. COMUART is used for flight control,
directly controlled by CP, with lower delay.
3.1.4.2 GPIOs
Six GPIOs are reserved in the module, which can realize the functions of handshake,
interaction and interrupt indicator.
3.2 USB Interface programming
USB Virtual VCOM and NCM support Linux and Windows only
The Host recognizes
the USB port
Host VCOM port
USB
interface
Recommend function
ttyUSB0
COM1
1
AT command communication
port
ttyUSB0
COM1
2
AT command communication
port
ttyUSB0
COM1
3
AT command communication
port
ttyUSB0
COM1
4
AT command communication
port
ttyUSB0
NCM
5
virtual network card
3.3 IP address assignment
The YUNOFDM module and the host IP address are configured as follows:
client)
server
Interface
IP
Interface
IP
Upper USB net card
Usb0
192.168.42.xx
Usb0
192.168.43.xx
Module rndis net card
Rndis0
192.168.42.129
Rndis0
192.168.43.129
Module LMI net card
Lmi40
192.168.0.2
Lmi40
192.168.0.1
Module LMI net card
Lmi41
192.168.0.4
Lmi40
192.168.0.3
Module eth net card
Eth0
192.168.2.129
Eth0
192.168.1.1
When the host computer is the android operating system, the configuration command of
the reference network card is as follows:
Client side:
The host computer Usb network card device establishment process:
ifconfig usb0 192.168.42.58 up
ip route add default via 192.168.42.129 dev usb0
Module rndis network card establishment process
busybox ifconfig rndis0 192.168.42.129 up
iptables -t nat -A POSTROUTING -o lmi40 -j MASQUERADE
echo "1" > /proc/sys/net/ipv4/ip_forward
Server side:









