2023-12-25 22:20:15 -04:00
|
|
|
/*
|
|
|
|
variant of SocketAPM using native sockets (not via lwip)
|
|
|
|
*/
|
2023-12-26 02:22:23 -04:00
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
|
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
2023-12-25 22:20:15 -04:00
|
|
|
#include "Socket_native.h"
|
|
|
|
|
|
|
|
#if AP_SOCKET_NATIVE_ENABLED
|
|
|
|
#undef AP_NETWORKING_BACKEND_PPP
|
|
|
|
#define IN_SOCKET_NATIVE_CPP
|
|
|
|
#define SOCKET_CLASS_NAME SocketAPM_native
|
|
|
|
#include "Socket.cpp"
|
|
|
|
#endif
|
2023-12-26 02:22:23 -04:00
|
|
|
|
|
|
|
#endif
|