|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <Ethernet.h>
Public Member Functions | |
| int | begin (uint8_t *, unsigned long, unsigned long) |
| DHCP form: returns 1 on success, 0 on failure, like Ethernet 2.x — which zeroes the address before asking, so a failure leaves 0.0.0.0. | |
| void | begin (uint8_t *, IPAddress ip, IPAddress, IPAddress, IPAddress mask) |
| Static form. | |
| void | setLocalIP (const IPAddress ip) |
| void | setSubnetMask (const IPAddress mask) |
| IPAddress | localIP () const |
| IPAddress | subnetMask () const |
| int | maintain () |
| void | reset () |
Public Attributes | |
| IPAddress | local_ip |
| IPAddress | subnet_mask |
| int | set_local_ip_calls = 0 |
| int | set_subnet_calls = 0 |
| bool | dhcp_should_succeed = false |
| IPAddress | dhcp_assigned |
| int | maintain_calls = 0 |
| int | static_begin_calls = 0 |
| IPAddress | static_ip |
| IPAddress | static_subnet |
| int | dhcp_begin_calls = 0 |
Definition at line 45 of file Ethernet.h.
|
inline |
Static form.
Definition at line 75 of file Ethernet.h.
References local_ip, static_begin_calls, static_ip, static_subnet, and subnet_mask.
|
inline |
DHCP form: returns 1 on success, 0 on failure, like Ethernet 2.x — which zeroes the address before asking, so a failure leaves 0.0.0.0.
Definition at line 66 of file Ethernet.h.
References dhcp_assigned, dhcp_begin_calls, dhcp_should_succeed, IPAddress, and local_ip.
|
inline |
Definition at line 91 of file Ethernet.h.
References local_ip.
|
inline |
Definition at line 97 of file Ethernet.h.
References maintain_calls.
|
inline |
Definition at line 101 of file Ethernet.h.
References dhcp_assigned, dhcp_begin_calls, dhcp_should_succeed, IPAddress, local_ip, maintain_calls, set_local_ip_calls, set_subnet_calls, static_begin_calls, static_ip, static_subnet, and subnet_mask.
|
inline |
Definition at line 83 of file Ethernet.h.
References local_ip, and set_local_ip_calls.
|
inline |
Definition at line 87 of file Ethernet.h.
References set_subnet_calls, and subnet_mask.
|
inline |
Definition at line 94 of file Ethernet.h.
References subnet_mask.
| IPAddress EthernetClass::dhcp_assigned |
Definition at line 54 of file Ethernet.h.
| int EthernetClass::dhcp_begin_calls = 0 |
Definition at line 62 of file Ethernet.h.
| bool EthernetClass::dhcp_should_succeed = false |
Definition at line 53 of file Ethernet.h.
| IPAddress EthernetClass::local_ip |
Definition at line 47 of file Ethernet.h.
Referenced by begin(), begin(), localIP(), reset(), and setLocalIP().
| int EthernetClass::maintain_calls = 0 |
Definition at line 55 of file Ethernet.h.
Referenced by maintain(), and reset().
| int EthernetClass::set_local_ip_calls = 0 |
Definition at line 49 of file Ethernet.h.
Referenced by reset(), and setLocalIP().
| int EthernetClass::set_subnet_calls = 0 |
Definition at line 50 of file Ethernet.h.
Referenced by reset(), and setSubnetMask().
| int EthernetClass::static_begin_calls = 0 |
Definition at line 58 of file Ethernet.h.
| IPAddress EthernetClass::static_ip |
Definition at line 59 of file Ethernet.h.
| IPAddress EthernetClass::static_subnet |
Definition at line 60 of file Ethernet.h.
| IPAddress EthernetClass::subnet_mask |
Definition at line 48 of file Ethernet.h.
Referenced by begin(), reset(), setSubnetMask(), and subnetMask().