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.
Ether Class Reference
A wrapper class for EthernetNetIf to create an instance from a config file. More...
#include <Ether.h>
Public Member Functions | |
| Ether (bool verbose=false) | |
| creates Ether instance | |
| Ether (IpAddr ip, IpAddr subnet, IpAddr gateway, IpAddr dns, bool verbose=false) | |
| creates Ether instance | |
| void | setup () |
| sets up Ethernet interface | |
| bool | isActive () |
| returns Ethernet status | |
| char * | getIpAddress () |
| returns its IP address in bytes | |
Static Public Member Functions | |
| static Ether | create (IpAddr ip, IpAddr subnet, IpAddr gateway, IpAddr dns, bool verbose=false) |
| creates Ether instance | |
| static Ether | create (char *filename=0, bool verbose=false) |
| creates Ether instance | |
Detailed Description
A wrapper class for EthernetNetIf to create an instance from a config file.
Definition at line 29 of file Ether.h.
Constructor & Destructor Documentation
| Ether | ( | bool | verbose = false ) |
| Ether | ( | IpAddr | ip, |
| IpAddr | subnet, | ||
| IpAddr | gateway, | ||
| IpAddr | dns, | ||
| bool | verbose = false |
||
| ) |
Member Function Documentation
| static Ether create | ( | IpAddr | ip, |
| IpAddr | subnet, | ||
| IpAddr | gateway, | ||
| IpAddr | dns, | ||
| bool | verbose = false |
||
| ) | [static] |
| static Ether create | ( | char * | filename = 0, |
| bool | verbose = false |
||
| ) | [static] |
| char* getIpAddress | ( | ) |
| bool isActive | ( | ) |
Generated on Wed Jul 20 2022 21:57:16 by
1.7.2