Base class for IP Based Networking Libraries
Dependencies: DnsQuery
Dependents: TempTower BSDInterfaceTests HelloBSDInterface ESP8266InterfaceTests ... more
CellularInterface Class Reference
CellularInterface class. More...
#include <CellularInterface.h>
Public Member Functions | |
virtual int | connect (const char *apn=0, const char *username=0, const char *password=0)=0 |
Start the interface. | |
virtual int | disconnect ()=0 |
Stop the interface. | |
virtual const char * | get_mac_address ()=0 |
Get the local MAC address. |
Detailed Description
CellularInterface class.
Common interface that is shared between ethernet hardware
Definition at line 26 of file CellularInterface.h.
Member Function Documentation
virtual int connect | ( | const char * | apn = 0 , |
const char * | username = 0 , |
||
const char * | password = 0 |
||
) | [pure virtual] |
Start the interface.
- Parameters:
-
apn Optional name of the network to connect to username Optional username for your APN password Optional password for your APN
- Returns:
- 0 on success, negative error code on failure
virtual int disconnect | ( | ) | [pure virtual] |
Stop the interface.
- Returns:
- 0 on success, negative error code on failure
virtual const char* get_mac_address | ( | ) | [pure virtual] |
Get the local MAC address.
- Returns:
- Null-terminated representation of the local MAC address
Generated on Tue Jul 12 2022 14:52:52 by 1.7.2