Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Socket USBHostWANDongleSprint lwip-sys lwip
Dependents: SprintUSBModemWebsocketTest SprintUSBModemHTTPClientTest SprintUSBModemNTPClientTest SprintUSBModemSMSTest ... more
Fork of SprintUSBModem_bleedingedge by
PPPIPInterface Class Reference
Interface using PPP to connect to an IP-based network. More...
#include <PPPIPInterface.h>
Inherits LwIPInterface.
Friends | |
| u32_t | sio_write (sio_fd_t fd, u8_t *data, u32_t len) |
| Writes to the serial device. | |
| u32_t | sio_read (sio_fd_t fd, u8_t *data, u32_t len) |
| Reads from the serial device. | |
| void | sio_read_abort (sio_fd_t fd) |
| Aborts a blocking sio_read() call. | |
Detailed Description
Interface using PPP to connect to an IP-based network.
Definition at line 37 of file PPPIPInterface.h.
Friends And Related Function Documentation
| u32_t sio_read | ( | sio_fd_t | fd, |
| u8_t * | data, | ||
| u32_t | len | ||
| ) | [friend] |
Reads from the serial device.
- Parameters:
-
fd serial device handle data pointer to data buffer for receiving len maximum length (in bytes) of data to receive
- Returns:
- number of bytes actually received - may be 0 if aborted by sio_read_abort
- Note:
- This function will block until data can be received. The blocking can be cancelled by calling sio_read_abort().
Definition at line 408 of file PPPIPInterface.cpp.
| void sio_read_abort | ( | sio_fd_t | fd ) | [friend] |
Aborts a blocking sio_read() call.
- Parameters:
-
fd serial device handle
Definition at line 433 of file PPPIPInterface.cpp.
| u32_t sio_write | ( | sio_fd_t | fd, |
| u8_t * | data, | ||
| u32_t | len | ||
| ) | [friend] |
Writes to the serial device.
- Parameters:
-
fd serial device handle data pointer to data to send len length (in bytes) of data to send
- Returns:
- number of bytes actually sent
- Note:
- This function will block until all data can be sent.
Definition at line 380 of file PPPIPInterface.cpp.
Generated on Wed Jul 13 2022 06:25:50 by
1.7.2
