|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
NuttX Driver to multiplex mavlink and RTPS on a single serial port. More...
#include <lib/cdev/CDev.hpp>#include <px4_platform_common/sem.hpp>#include <px4_platform_common/log.h>#include <sys/ioctl.h>#include <unistd.h>#include <cstdint>#include <string.h>Go to the source code of this file.
Classes | |
| struct | StaticData |
| class | ReadBuffer |
| class | DevCommon |
| class | Mavlink2Dev |
| class | RtpsDev |
Functions | |
| __EXPORT int | protocol_splitter_main (int argc, char *argv[]) |
NuttX Driver to multiplex mavlink and RTPS on a single serial port.
Makes sure the two protocols can be read & written simultanously by 2 processes. It will create two devices: /dev/mavlink /dev/rtps
Definition in file protocol_splitter.cpp.
| int protocol_splitter_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 542 of file protocol_splitter.cpp.
References RtpsDev::RtpsDev().