Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

pppos.h File Reference

pppos.h File Reference

Network Point to Point Protocol over Serial header file. More...

Go to the source code of this file.

Functions

err_t pppos_input_tcpip (ppp_pcb *ppp, u8_t *s, int l)
 Pass received raw characters to PPPoS to be decoded through stacks TCPIP thread.
void pppos_input (ppp_pcb *ppp, u8_t *data, int len)
 Pass received raw characters to PPPoS to be decoded.

Detailed Description

Network Point to Point Protocol over Serial header file.

Definition in file pppos.h.


Function Documentation

void pppos_input ( ppp_pcb *  ppp,
u8_t *  s,
int  l 
)

Pass received raw characters to PPPoS to be decoded.

Parameters:
pppPPP descriptor index, returned by pppos_create()
sreceived data
llength of received data

Definition at line 472 of file pppos.cpp.

err_t pppos_input_tcpip ( ppp_pcb *  ppp,
u8_t *  s,
int  l 
)

Pass received raw characters to PPPoS to be decoded through stacks TCPIP thread.

This is one of the only functions that may be called outside of the TCPIP thread!

Parameters:
pppPPP descriptor index, returned by pppos_create()
sreceived data
llength of received data

Definition at line 417 of file pppos.cpp.