3 #include "AP_Networking_Config.h"
5 #ifdef AP_NETWORKING_BACKEND_PPP
6 #include "AP_Networking_Backend.h"
8 class AP_Networking_PPP
: public AP_Networking_Backend
11 using AP_Networking_Backend::AP_Networking_Backend
;
13 /* Do not allow copies */
14 CLASS_NO_COPY(AP_Networking_PPP
);
21 AP_HAL::UARTDriver
*uart
;
23 struct ppp_pcb_s
*ppp
;
26 static void ppp_status_callback(struct ppp_pcb_s
*pcb
, int code
, void *ctx
);
27 static uint32_t ppp_output_cb(struct ppp_pcb_s
*pcb
, const void *data
, uint32_t len
, void *ctx
);
30 #endif // AP_NETWORKING_BACKEND_PPP