A version of LWIP, provided for backwards compatibility.
Dependents: AA_DemoBoard DemoBoard HelloServerDemo DemoBoard_RangeIndicator ... more
NetServer Class Reference
Network main class provides the basic network features. More...
#include <NetServer.h>
Public Member Functions | |
~NetServer () | |
Default destructor. | |
void | setIPAddr (const struct ip_addr &value) |
Set MBed IP Address. | |
struct ip_addr & | getIPAddr () |
Get MBed IP Address. | |
void | setNetmask (const struct ip_addr &value) |
Set Netmask. | |
struct ip_addr & | getNetmask () |
Get Netmask. | |
void | setGateway (const struct ip_addr &value) |
Set default Gateway. | |
struct ip_addr & | getGateway () |
Get default Gateway. | |
void | setDNS1 (const struct ip_addr &value) |
Set first Domain Name Server. | |
struct ip_addr & | getDNS1 () |
Get first Domain Name Server. | |
void | setDNS2 (const struct ip_addr &value) |
Set second Domain Name Server. | |
struct ip_addr & | getDNS2 () |
Get second Domain Name Server. | |
void | setHostname (const char *value) |
Set MBed Hostname. | |
const char * | getHostname () const |
Get MBed Hostname. | |
void | setUseDHCP (const bool &value) |
Define if DHCP sould be used. | |
const bool & | getUseDHCP () const |
Is the mbed board trying to use DHCP? | |
void | init () |
Initialise the network environment. | |
void | setUp () const |
Set the network interface up. | |
void | setDown () const |
Set the network interface down. | |
int | isUp () const |
Returns 1 if the network is up otherwise 0. | |
void | waitUntilReady () |
This function waits until the network interface is Up. | |
TCPCallbackListener * | bindTCPPort (u16_t, err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t)) const |
Bind Callbackfunctions to a TCPPort. | |
void | free (TCPItem *item) const |
Frees TCPItems because they cant do it directly. | |
NetServer () | |
Default constructor tryes to bring the network interface up with dhcp. | |
NetServer (struct ip_addr me_ip, struct ip_addr netmask, struct ip_addr gateway) | |
Constructor for fix ip setting. | |
void | setMAC (const struct eth_addr &value) |
Set a diffrent ethernet address. | |
struct eth_addr & | getMAC () |
Get the current ethernet address. | |
void | setIPAddr (const struct ip_addr &value) |
Set MBed IP Address. | |
struct ip_addr & | getIPAddr () |
Get MBed IP Address. | |
void | setNetmask (const struct ip_addr &value) |
Set Netmask. | |
struct ip_addr & | getNetmask () |
Get Netmask. | |
void | setGateway (const struct ip_addr &value) |
Set default Gateway. | |
struct ip_addr & | getGateway () |
Get default Gateway. | |
void | setDNS1 (const struct ip_addr &value) |
Set first Domain Name Server. | |
struct ip_addr & | getDNS1 () |
Get first Domain Name Server. | |
void | setDNS2 (const struct ip_addr &value) |
Set second Domain Name Server. | |
struct ip_addr & | getDNS2 () |
Get second Domain Name Server. | |
void | setHostname (char *value) |
Set MBed Hostname. | |
char * | getHostname () |
Get MBed Hostname. | |
void | setUseDHCP (const bool &value) |
Define if DHCP sould be used. | |
const bool & | getUseDHCP () |
Is the mbed board trying to use DHCP? | |
void | init () |
Initialise the network environment. | |
void | setUp () |
Set the network interface up. | |
void | setDown () |
Set the network interface down. | |
void | waitForDHCP () |
This function waits until the network interface is Up. | |
~NetServer () | |
Default destructor. | |
void | setIPAddr (const struct ip_addr &value) |
Set MBed IP Address. | |
struct ip_addr & | getIPAddr () |
Get MBed IP Address. | |
void | setNetmask (const struct ip_addr &value) |
Set Netmask. | |
struct ip_addr & | getNetmask () |
Get Netmask. | |
void | setGateway (const struct ip_addr &value) |
Set default Gateway. | |
struct ip_addr & | getGateway () |
Get default Gateway. | |
void | setDNS1 (const struct ip_addr &value) |
Set first Domain Name Server. | |
struct ip_addr & | getDNS1 () |
Get first Domain Name Server. | |
void | setDNS2 (const struct ip_addr &value) |
Set second Domain Name Server. | |
struct ip_addr & | getDNS2 () |
Get second Domain Name Server. | |
void | setHostname (char *value) |
Set MBed Hostname. | |
const char * | getHostname () const |
Get MBed Hostname. | |
void | setUseDHCP (const bool &value) |
Define if DHCP sould be used. | |
const bool & | getUseDHCP () const |
Is the mbed board trying to use DHCP? | |
void | init () |
Initialise the network environment. | |
void | setUp () const |
Set the network interface up. | |
void | setDown () const |
Set the network interface down. | |
void | waitUntilReady () |
This function waits until the network interface is Up. | |
TCPCallbackListener * | bindTCPPort (u16_t, err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t)) const |
Bind Callbackfunctions to a TCPPort. | |
void | free (TCPItem *item) const |
Frees TCPItems because they cant do it directly. | |
~NetServer () | |
Default destructor. | |
void | setIPAddr (const struct ip_addr &value) |
Set MBed IP Address. | |
struct ip_addr & | getIPAddr () |
Get MBed IP Address. | |
void | setNetmask (const struct ip_addr &value) |
Set Netmask. | |
struct ip_addr & | getNetmask () |
Get Netmask. | |
void | setGateway (const struct ip_addr &value) |
Set default Gateway. | |
struct ip_addr & | getGateway () |
Get default Gateway. | |
void | setDNS1 (const struct ip_addr &value) |
Set first Domain Name Server. | |
struct ip_addr & | getDNS1 () |
Get first Domain Name Server. | |
void | setDNS2 (const struct ip_addr &value) |
Set second Domain Name Server. | |
struct ip_addr & | getDNS2 () |
Get second Domain Name Server. | |
void | setHostname (char *value) |
Set MBed Hostname. | |
const char * | getHostname () const |
Get MBed Hostname. | |
void | setUseDHCP (const bool &value) |
Define if DHCP sould be used. | |
const bool & | getUseDHCP () const |
Is the mbed board trying to use DHCP? | |
void | init () |
Initialise the network environment. | |
void | setUp () const |
Set the network interface up. | |
void | setDown () const |
Set the network interface down. | |
void | waitUntilReady () |
This function waits until the network interface is Up. | |
TCPCallbackListener * | bindTCPPort (u16_t, err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t)) const |
Bind Callbackfunctions to a TCPPort. | |
void | free (TCPItem *item) const |
Frees TCPItems because they cant do it directly. | |
~NetServer () | |
Default destructor. | |
void | setMAC (const struct eth_addr &value) |
Set a diffrent ethernet address. | |
struct eth_addr & | getMAC () const |
Get the current ethernet address. | |
void | setIPAddr (const struct ip_addr &value) |
Set MBed IP Address. | |
struct ip_addr & | getIPAddr () |
Get MBed IP Address. | |
void | setNetmask (const struct ip_addr &value) |
Set Netmask. | |
struct ip_addr & | getNetmask () |
Get Netmask. | |
void | setGateway (const struct ip_addr &value) |
Set default Gateway. | |
struct ip_addr & | getGateway () |
Get default Gateway. | |
void | setDNS1 (const struct ip_addr &value) |
Set first Domain Name Server. | |
struct ip_addr & | getDNS1 () |
Get first Domain Name Server. | |
void | setDNS2 (const struct ip_addr &value) |
Set second Domain Name Server. | |
struct ip_addr & | getDNS2 () |
Get second Domain Name Server. | |
void | setHostname (char *value) |
Set MBed Hostname. | |
const char * | getHostname () const |
Get MBed Hostname. | |
void | setUseDHCP (const bool &value) |
Define if DHCP sould be used. | |
const bool & | getUseDHCP () const |
Is the mbed board trying to use DHCP? | |
void | init () |
Initialise the network environment. | |
void | setUp () const |
Set the network interface up. | |
void | setDown () const |
Set the network interface down. | |
void | waitUntilReady () |
This function waits until the network interface is Up. | |
TCPCallbackListener * | bindTCPPort (u16_t, err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t)) const |
Bind Callbackfunctions to a TCPPort. | |
void | free (TCPItem *item) const |
Frees TCPItems because they cant do it directly. | |
~NetServer () | |
Default destructor. | |
void | setIPAddr (const struct ip_addr &value) |
Set MBed IP Address. | |
struct ip_addr & | getIPAddr () |
Get MBed IP Address. | |
void | setNetmask (const struct ip_addr &value) |
Set Netmask. | |
struct ip_addr & | getNetmask () |
Get Netmask. | |
void | setGateway (const struct ip_addr &value) |
Set default Gateway. | |
struct ip_addr & | getGateway () |
Get default Gateway. | |
void | setDNS1 (const struct ip_addr &value) |
Set first Domain Name Server. | |
struct ip_addr & | getDNS1 () |
Get first Domain Name Server. | |
void | setDNS2 (const struct ip_addr &value) |
Set second Domain Name Server. | |
struct ip_addr & | getDNS2 () |
Get second Domain Name Server. | |
void | setHostname (const char *value) |
Set MBed Hostname. | |
const char * | getHostname () const |
Get MBed Hostname. | |
void | setUseDHCP (const bool &value) |
Define if DHCP sould be used. | |
const bool & | getUseDHCP () const |
Is the mbed board trying to use DHCP? | |
void | init () |
Initialise the network environment. | |
void | setUp () const |
Set the network interface up. | |
void | setDown () const |
Set the network interface down. | |
int | isUp () const |
Returns 1 if the network is up otherwise 0. | |
void | waitUntilReady () |
This function waits until the network interface is Up. | |
TCPCallbackListener * | bindTCPPort (u16_t, err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t)) const |
Bind Callbackfunctions to a TCPPort. | |
void | free (TCPItem *item) const |
Frees TCPItems because they cant do it directly. | |
Static Public Member Functions | |
static NetServer * | create () |
Returns you the NetServer instance. | |
static NetServer * | create (const struct ip_addr &ip, const struct ip_addr &netmask, const struct ip_addr &gateway) |
Returns you the NetServer instance. | |
static NetServer * | ready () |
Returns you the NetServer instance. | |
static NetServer * | get () |
Returns you the NetServer instance. | |
static void | poll () |
Polls one time on the NetServer and all registert Interfaces. | |
static NetServer * | create () |
Returns you the NetServer instance. | |
static NetServer * | create (const struct ip_addr &ip, const struct ip_addr &netmask, const struct ip_addr &gateway) |
Returns you the NetServer instance. | |
static NetServer * | ready () |
Returns you the NetServer instance. | |
static NetServer * | get () |
Returns you the NetServer instance. | |
static void | poll () |
Polls one time on the NetServer and all registert Interfaces. | |
static NetServer * | create () |
Returns you the NetServer instance. | |
static NetServer * | create (const struct ip_addr &ip, const struct ip_addr &netmask, const struct ip_addr &gateway) |
Returns you the NetServer instance. | |
static NetServer * | ready () |
Returns you the NetServer instance. | |
static NetServer * | get () |
Returns you the NetServer instance. | |
static void | poll () |
Polls one time on the NetServer and all registert Interfaces. | |
static NetServer * | create () |
Returns you the NetServer instance. | |
static NetServer * | create (const struct ip_addr &ip, const struct ip_addr &netmask, const struct ip_addr &gateway) |
Returns you the NetServer instance. | |
static NetServer * | ready () |
Returns you the NetServer instance. | |
static NetServer * | get () |
Returns you the NetServer instance. | |
static void | poll () |
Polls one time on the NetServer and all registert Interfaces. | |
static NetServer * | create () |
Returns you the NetServer instance. | |
static NetServer * | create (const struct ip_addr &ip, const struct ip_addr &netmask, const struct ip_addr &gateway) |
Returns you the NetServer instance. | |
static NetServer * | ready () |
Returns you the NetServer instance. | |
static NetServer * | get () |
Returns you the NetServer instance. | |
static void | poll () |
Polls one time on the NetServer and all registert Interfaces. | |
Protected Member Functions | |
NetServer () | |
Default constructor tryes to bring the network interface up with dhcp. | |
NetServer (struct ip_addr me_ip, struct ip_addr netmask, struct ip_addr gateway) | |
Constructor for fix ip setting. | |
NetServer () | |
Default constructor tryes to bring the network interface up with dhcp. | |
NetServer (struct ip_addr me_ip, struct ip_addr netmask, struct ip_addr gateway) | |
Constructor for fix ip setting. | |
NetServer () | |
Default constructor tryes to bring the network interface up with dhcp. | |
NetServer (struct ip_addr me_ip, struct ip_addr netmask, struct ip_addr gateway) | |
Constructor for fix ip setting. | |
NetServer () | |
Default constructor tryes to bring the network interface up with dhcp. | |
NetServer (struct ip_addr me_ip, struct ip_addr netmask, struct ip_addr gateway) | |
Constructor for fix ip setting. | |
NetServer () | |
Default constructor tryes to bring the network interface up with dhcp. | |
NetServer (struct ip_addr me_ip, struct ip_addr netmask, struct ip_addr gateway) | |
Constructor for fix ip setting. |
Detailed Description
Network main class provides the basic network features.
Definition at line 23 of file precomp/Core/NetServer.h.
Constructor & Destructor Documentation
~NetServer | ( | ) |
Default destructor.
Definition at line 39 of file netserver.cpp.
NetServer | ( | ) | [protected] |
Default constructor tryes to bring the network interface up with dhcp.
Definition at line 23 of file netserver.cpp.
NetServer | ( | struct ip_addr | me_ip, |
struct ip_addr | netmask, | ||
struct ip_addr | gateway | ||
) | [protected] |
Constructor for fix ip setting.
Definition at line 35 of file netserver.cpp.
NetServer | ( | ) |
Default constructor tryes to bring the network interface up with dhcp.
NetServer | ( | struct ip_addr | me_ip, |
struct ip_addr | netmask, | ||
struct ip_addr | gateway | ||
) |
Constructor for fix ip setting.
~NetServer | ( | ) |
Default destructor.
NetServer | ( | ) | [protected] |
Default constructor tryes to bring the network interface up with dhcp.
NetServer | ( | struct ip_addr | me_ip, |
struct ip_addr | netmask, | ||
struct ip_addr | gateway | ||
) | [protected] |
Constructor for fix ip setting.
~NetServer | ( | ) |
Default destructor.
NetServer | ( | ) | [protected] |
Default constructor tryes to bring the network interface up with dhcp.
NetServer | ( | struct ip_addr | me_ip, |
struct ip_addr | netmask, | ||
struct ip_addr | gateway | ||
) | [protected] |
Constructor for fix ip setting.
~NetServer | ( | ) |
Default destructor.
NetServer | ( | ) | [protected] |
Default constructor tryes to bring the network interface up with dhcp.
NetServer | ( | struct ip_addr | me_ip, |
struct ip_addr | netmask, | ||
struct ip_addr | gateway | ||
) | [protected] |
Constructor for fix ip setting.
~NetServer | ( | ) |
Default destructor.
NetServer | ( | ) | [protected] |
Default constructor tryes to bring the network interface up with dhcp.
NetServer | ( | struct ip_addr | me_ip, |
struct ip_addr | netmask, | ||
struct ip_addr | gateway | ||
) | [protected] |
Constructor for fix ip setting.
Member Function Documentation
TCPCallbackListener* bindTCPPort | ( | u16_t | , |
err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t) | |||
) | const |
Bind Callbackfunctions to a TCPPort.
It provides a clean lowlevel Interface to the TCPLayer.
TCPCallbackListener* bindTCPPort | ( | u16_t | , |
err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t) | |||
) | const |
Bind Callbackfunctions to a TCPPort.
It provides a clean lowlevel Interface to the TCPLayer.
TCPCallbackListener* bindTCPPort | ( | u16_t | , |
err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t) | |||
) | const |
Bind Callbackfunctions to a TCPPort.
It provides a clean lowlevel Interface to the TCPLayer.
TCPCallbackListener * bindTCPPort | ( | u16_t | port, |
err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t) | accept | ||
) | const |
Bind Callbackfunctions to a TCPPort.
It provides a clean lowlevel Interface to the TCPLayer.
Definition at line 95 of file tag/13/Core/NetServer.cpp.
TCPCallbackListener* bindTCPPort | ( | u16_t | , |
err_t(*)(TCPCallbackListener *, struct tcp_pcb *, err_t) | |||
) | const |
Bind Callbackfunctions to a TCPPort.
It provides a clean lowlevel Interface to the TCPLayer.
static NetServer* create | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. Configure the object for DHCP.
Definition at line 31 of file trunk/Core/NetServer.h.
static NetServer* create | ( | const struct ip_addr & | ip, |
const struct ip_addr & | netmask, | ||
const struct ip_addr & | gateway | ||
) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. You have to insert ipaddres, netmask and gateway.
Definition at line 44 of file trunk/Core/NetServer.h.
static NetServer* create | ( | const struct ip_addr & | ip, |
const struct ip_addr & | netmask, | ||
const struct ip_addr & | gateway | ||
) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. You have to insert ipaddres, netmask and gateway.
Definition at line 44 of file precomp/Core/NetServer.h.
static NetServer* create | ( | const struct ip_addr & | ip, |
const struct ip_addr & | netmask, | ||
const struct ip_addr & | gateway | ||
) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. You have to insert ipaddres, netmask and gateway.
Definition at line 43 of file tag/13-precomp/Core/NetServer.h.
static NetServer* create | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. Configure the object for DHCP.
Definition at line 30 of file tag/13-precomp/Core/NetServer.h.
static NetServer* create | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. Configure the object for DHCP.
Definition at line 30 of file tag/13/Core/NetServer.h.
static NetServer* create | ( | const struct ip_addr & | ip, |
const struct ip_addr & | netmask, | ||
const struct ip_addr & | gateway | ||
) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. You have to insert ipaddres, netmask and gateway.
Definition at line 43 of file tag/13/Core/NetServer.h.
static NetServer* create | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. Configure the object for DHCP.
Definition at line 29 of file tag/7/Core/NetServer.h.
static NetServer* create | ( | const struct ip_addr & | ip, |
const struct ip_addr & | netmask, | ||
const struct ip_addr & | gateway | ||
) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. You have to insert ipaddres, netmask and gateway.
Definition at line 42 of file tag/7/Core/NetServer.h.
static NetServer* create | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one. But it will not initialise it. Configure the object for DHCP.
Definition at line 31 of file precomp/Core/NetServer.h.
void free | ( | TCPItem * | item ) | const |
Frees TCPItems because they cant do it directly.
void free | ( | TCPItem * | item ) | const |
Frees TCPItems because they cant do it directly.
void free | ( | TCPItem * | item ) | const |
Frees TCPItems because they cant do it directly.
void free | ( | TCPItem * | item ) | const |
Frees TCPItems because they cant do it directly.
void free | ( | TCPItem * | item ) | const |
Frees TCPItems because they cant do it directly.
Definition at line 101 of file tag/13/Core/NetServer.cpp.
static NetServer* get | ( | ) | [static] |
Returns you the NetServer instance.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch quicker than NetServer::ready(). First call one time NetServer::ready() and then NetServer::get() and you are save.
Definition at line 77 of file trunk/Core/NetServer.h.
static NetServer* get | ( | ) | [static] |
Returns you the NetServer instance.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch quicker than NetServer::ready(). First call one time NetServer::ready() and then NetServer::get() and you are save.
Definition at line 77 of file precomp/Core/NetServer.h.
static NetServer* get | ( | ) | [static] |
Returns you the NetServer instance.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch quicker than NetServer::ready(). First call one time NetServer::ready() and then NetServer::get() and you are save.
Definition at line 76 of file tag/13-precomp/Core/NetServer.h.
static NetServer* get | ( | ) | [static] |
Returns you the NetServer instance.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch quicker than NetServer::ready(). First call one time NetServer::ready() and then NetServer::get() and you are save.
Definition at line 75 of file tag/7/Core/NetServer.h.
static NetServer* get | ( | ) | [static] |
Returns you the NetServer instance.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch quicker than NetServer::ready(). First call one time NetServer::ready() and then NetServer::get() and you are save.
Definition at line 76 of file tag/13/Core/NetServer.h.
struct ip_addr& getDNS1 | ( | ) | [read] |
Get first Domain Name Server.
Definition at line 134 of file tag/13/Core/NetServer.h.
struct ip_addr& getDNS1 | ( | ) | [read] |
Get first Domain Name Server.
Definition at line 76 of file netserver.h.
struct ip_addr& getDNS1 | ( | ) | [read] |
Get first Domain Name Server.
Definition at line 135 of file trunk/Core/NetServer.h.
struct ip_addr& getDNS1 | ( | ) | [read] |
Get first Domain Name Server.
Definition at line 134 of file tag/13-precomp/Core/NetServer.h.
struct ip_addr& getDNS1 | ( | ) | [read] |
Get first Domain Name Server.
Definition at line 135 of file precomp/Core/NetServer.h.
struct ip_addr& getDNS1 | ( | ) | [read] |
Get first Domain Name Server.
Definition at line 143 of file tag/7/Core/NetServer.h.
struct ip_addr& getDNS2 | ( | ) | [read] |
Get second Domain Name Server.
Definition at line 144 of file tag/13/Core/NetServer.h.
struct ip_addr& getDNS2 | ( | ) | [read] |
Get second Domain Name Server.
Definition at line 145 of file trunk/Core/NetServer.h.
struct ip_addr& getDNS2 | ( | ) | [read] |
Get second Domain Name Server.
Definition at line 86 of file netserver.h.
struct ip_addr& getDNS2 | ( | ) | [read] |
Get second Domain Name Server.
Definition at line 144 of file tag/13-precomp/Core/NetServer.h.
struct ip_addr& getDNS2 | ( | ) | [read] |
Get second Domain Name Server.
Definition at line 145 of file precomp/Core/NetServer.h.
struct ip_addr& getDNS2 | ( | ) | [read] |
Get second Domain Name Server.
Definition at line 153 of file tag/7/Core/NetServer.h.
struct ip_addr& getGateway | ( | ) | [read] |
Get default Gateway.
Definition at line 125 of file trunk/Core/NetServer.h.
struct ip_addr& getGateway | ( | ) | [read] |
Get default Gateway.
Definition at line 66 of file netserver.h.
struct ip_addr& getGateway | ( | ) | [read] |
Get default Gateway.
Definition at line 125 of file precomp/Core/NetServer.h.
struct ip_addr& getGateway | ( | ) | [read] |
Get default Gateway.
Definition at line 124 of file tag/13-precomp/Core/NetServer.h.
struct ip_addr& getGateway | ( | ) | [read] |
Get default Gateway.
Definition at line 133 of file tag/7/Core/NetServer.h.
struct ip_addr& getGateway | ( | ) | [read] |
Get default Gateway.
Definition at line 124 of file tag/13/Core/NetServer.h.
const char* getHostname | ( | ) | const |
Get MBed Hostname.
Definition at line 155 of file precomp/Core/NetServer.h.
const char* getHostname | ( | ) | const |
Get MBed Hostname.
Definition at line 154 of file tag/13/Core/NetServer.h.
const char* getHostname | ( | ) | const |
Get MBed Hostname.
Definition at line 155 of file trunk/Core/NetServer.h.
char* getHostname | ( | ) |
Get MBed Hostname.
Definition at line 96 of file netserver.h.
const char* getHostname | ( | ) | const |
Get MBed Hostname.
Definition at line 154 of file tag/13-precomp/Core/NetServer.h.
const char* getHostname | ( | ) | const |
Get MBed Hostname.
Definition at line 163 of file tag/7/Core/NetServer.h.
struct ip_addr& getIPAddr | ( | ) | [read] |
Get MBed IP Address.
Definition at line 46 of file netserver.h.
struct ip_addr& getIPAddr | ( | ) | [read] |
Get MBed IP Address.
Definition at line 105 of file trunk/Core/NetServer.h.
struct ip_addr& getIPAddr | ( | ) | [read] |
Get MBed IP Address.
Definition at line 104 of file tag/13-precomp/Core/NetServer.h.
struct ip_addr& getIPAddr | ( | ) | [read] |
Get MBed IP Address.
Definition at line 105 of file precomp/Core/NetServer.h.
struct ip_addr& getIPAddr | ( | ) | [read] |
Get MBed IP Address.
Definition at line 113 of file tag/7/Core/NetServer.h.
struct ip_addr& getIPAddr | ( | ) | [read] |
Get MBed IP Address.
Definition at line 104 of file tag/13/Core/NetServer.h.
struct eth_addr& getMAC | ( | ) | const [read] |
Get the current ethernet address.
Definition at line 104 of file tag/7/Core/NetServer.h.
struct eth_addr& getMAC | ( | ) | [read] |
Get the current ethernet address.
Definition at line 37 of file netserver.h.
struct ip_addr& getNetmask | ( | ) | [read] |
Get Netmask.
Definition at line 56 of file netserver.h.
struct ip_addr& getNetmask | ( | ) | [read] |
Get Netmask.
Definition at line 115 of file trunk/Core/NetServer.h.
struct ip_addr& getNetmask | ( | ) | [read] |
Get Netmask.
Definition at line 115 of file precomp/Core/NetServer.h.
struct ip_addr& getNetmask | ( | ) | [read] |
Get Netmask.
Definition at line 114 of file tag/13-precomp/Core/NetServer.h.
struct ip_addr& getNetmask | ( | ) | [read] |
Get Netmask.
Definition at line 123 of file tag/7/Core/NetServer.h.
struct ip_addr& getNetmask | ( | ) | [read] |
Get Netmask.
Definition at line 114 of file tag/13/Core/NetServer.h.
const bool& getUseDHCP | ( | ) | const |
Is the mbed board trying to use DHCP?
Definition at line 165 of file tag/13/Core/NetServer.h.
const bool& getUseDHCP | ( | ) | const |
Is the mbed board trying to use DHCP?
Definition at line 166 of file trunk/Core/NetServer.h.
const bool& getUseDHCP | ( | ) | const |
Is the mbed board trying to use DHCP?
Definition at line 166 of file precomp/Core/NetServer.h.
const bool& getUseDHCP | ( | ) |
Is the mbed board trying to use DHCP?
Definition at line 107 of file netserver.h.
const bool& getUseDHCP | ( | ) | const |
Is the mbed board trying to use DHCP?
Definition at line 165 of file tag/13-precomp/Core/NetServer.h.
const bool& getUseDHCP | ( | ) | const |
Is the mbed board trying to use DHCP?
Definition at line 174 of file tag/7/Core/NetServer.h.
void init | ( | ) |
Initialise the network environment.
Set up all services. Please call after configuration.
void init | ( | ) |
Initialise the network environment.
Set up all services. Please call after configuration.
Definition at line 47 of file netserver.cpp.
void init | ( | ) |
Initialise the network environment.
Set up all services. Please call after configuration.
void init | ( | ) |
Initialise the network environment.
Set up all services. Please call after configuration.
void init | ( | ) |
Initialise the network environment.
Set up all services. Please call after configuration.
void init | ( | ) |
Initialise the network environment.
Set up all services. Please call after configuration.
int isUp | ( | ) | const |
Returns 1 if the network is up otherwise 0.
int isUp | ( | ) | const |
Returns 1 if the network is up otherwise 0.
Definition at line 88 of file trunk/Core/NetServer.cpp.
static void poll | ( | ) | [static] |
Polls one time on the NetServer and all registert Interfaces.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch faster than NetServer::ready()->_poll(). First call one time NetServer::ready() and then NetServer::poll() and you are save.
Definition at line 89 of file trunk/Core/NetServer.h.
static void poll | ( | ) | [static] |
Polls one time on the NetServer and all registert Interfaces.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch faster than NetServer::ready()->_poll(). First call one time NetServer::ready() and then NetServer::poll() and you are save.
Definition at line 88 of file tag/13-precomp/Core/NetServer.h.
static void poll | ( | ) | [static] |
Polls one time on the NetServer and all registert Interfaces.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch faster than NetServer::ready()->_poll(). First call one time NetServer::ready() and then NetServer::poll() and you are save.
Definition at line 89 of file precomp/Core/NetServer.h.
static void poll | ( | ) | [static] |
Polls one time on the NetServer and all registert Interfaces.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch faster than NetServer::ready()->_poll(). First call one time NetServer::ready() and then NetServer::poll() and you are save.
Definition at line 87 of file tag/7/Core/NetServer.h.
static void poll | ( | ) | [static] |
Polls one time on the NetServer and all registert Interfaces.
Even if there is no one created. That means use with care and in combination with NetServer::ready(). It is mutch faster than NetServer::ready()->_poll(). First call one time NetServer::ready() and then NetServer::poll() and you are save.
Definition at line 88 of file tag/13/Core/NetServer.h.
static NetServer* ready | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one and it will initialise it. A new created object will ever use DHCP and the default MAC address and default hostname.
Definition at line 58 of file trunk/Core/NetServer.h.
static NetServer* ready | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one and it will initialise it. A new created object will ever use DHCP and the default MAC address and default hostname.
Definition at line 57 of file tag/13-precomp/Core/NetServer.h.
static NetServer* ready | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one and it will initialise it. A new created object will ever use DHCP and the default MAC address and default hostname.
Definition at line 58 of file precomp/Core/NetServer.h.
static NetServer* ready | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one and it will initialise it. A new created object will ever use DHCP and the default MAC address and default hostname.
Definition at line 56 of file tag/7/Core/NetServer.h.
static NetServer* ready | ( | ) | [static] |
Returns you the NetServer instance.
If there is no object it will create a new one and it will initialise it. A new created object will ever use DHCP and the default MAC address and default hostname.
Definition at line 57 of file tag/13/Core/NetServer.h.
void setDNS1 | ( | const struct ip_addr & | value ) |
Set first Domain Name Server.
Definition at line 71 of file netserver.h.
void setDNS1 | ( | const struct ip_addr & | value ) |
Set first Domain Name Server.
Definition at line 129 of file tag/13-precomp/Core/NetServer.h.
void setDNS1 | ( | const struct ip_addr & | value ) |
Set first Domain Name Server.
Definition at line 130 of file trunk/Core/NetServer.h.
void setDNS1 | ( | const struct ip_addr & | value ) |
Set first Domain Name Server.
Definition at line 130 of file precomp/Core/NetServer.h.
void setDNS1 | ( | const struct ip_addr & | value ) |
Set first Domain Name Server.
Definition at line 138 of file tag/7/Core/NetServer.h.
void setDNS1 | ( | const struct ip_addr & | value ) |
Set first Domain Name Server.
Definition at line 129 of file tag/13/Core/NetServer.h.
void setDNS2 | ( | const struct ip_addr & | value ) |
Set second Domain Name Server.
Definition at line 140 of file precomp/Core/NetServer.h.
void setDNS2 | ( | const struct ip_addr & | value ) |
Set second Domain Name Server.
Definition at line 139 of file tag/13/Core/NetServer.h.
void setDNS2 | ( | const struct ip_addr & | value ) |
Set second Domain Name Server.
Definition at line 140 of file trunk/Core/NetServer.h.
void setDNS2 | ( | const struct ip_addr & | value ) |
Set second Domain Name Server.
Definition at line 81 of file netserver.h.
void setDNS2 | ( | const struct ip_addr & | value ) |
Set second Domain Name Server.
Definition at line 148 of file tag/7/Core/NetServer.h.
void setDNS2 | ( | const struct ip_addr & | value ) |
Set second Domain Name Server.
Definition at line 139 of file tag/13-precomp/Core/NetServer.h.
void setDown | ( | ) | const |
Set the network interface down.
To disable the network interface temporary. To make the interface avalible again use setUp().
void setDown | ( | ) | const |
Set the network interface down.
To disable the network interface temporary. To make the interface avalible again use setUp().
void setDown | ( | ) | const |
Set the network interface down.
To disable the network interface temporary. To make the interface avalible again use setUp().
Definition at line 82 of file tag/13/Core/NetServer.cpp.
void setDown | ( | ) | const |
Set the network interface down.
To disable the network interface temporary. To make the interface avalible again use setUp().
void setDown | ( | ) |
Set the network interface down.
To disable the network interface temporary. To make the interface avalible again use setUp().
Definition at line 77 of file netserver.cpp.
void setDown | ( | ) | const |
Set the network interface down.
To disable the network interface temporary. To make the interface avalible again use setUp().
void setGateway | ( | const struct ip_addr & | value ) |
Set default Gateway.
Definition at line 120 of file trunk/Core/NetServer.h.
void setGateway | ( | const struct ip_addr & | value ) |
Set default Gateway.
Definition at line 120 of file precomp/Core/NetServer.h.
void setGateway | ( | const struct ip_addr & | value ) |
Set default Gateway.
Definition at line 61 of file netserver.h.
void setGateway | ( | const struct ip_addr & | value ) |
Set default Gateway.
Definition at line 119 of file tag/13-precomp/Core/NetServer.h.
void setGateway | ( | const struct ip_addr & | value ) |
Set default Gateway.
Definition at line 128 of file tag/7/Core/NetServer.h.
void setGateway | ( | const struct ip_addr & | value ) |
Set default Gateway.
Definition at line 119 of file tag/13/Core/NetServer.h.
void setHostname | ( | const char * | value ) |
Set MBed Hostname.
Definition at line 150 of file precomp/Core/NetServer.h.
void setHostname | ( | char * | value ) |
Set MBed Hostname.
Definition at line 158 of file tag/7/Core/NetServer.h.
void setHostname | ( | const char * | value ) |
Set MBed Hostname.
Definition at line 150 of file trunk/Core/NetServer.h.
void setHostname | ( | char * | value ) |
Set MBed Hostname.
Definition at line 91 of file netserver.h.
void setHostname | ( | char * | value ) |
Set MBed Hostname.
Definition at line 149 of file tag/13-precomp/Core/NetServer.h.
void setHostname | ( | char * | value ) |
Set MBed Hostname.
Definition at line 149 of file tag/13/Core/NetServer.h.
void setIPAddr | ( | const struct ip_addr & | value ) |
Set MBed IP Address.
Definition at line 42 of file netserver.h.
void setIPAddr | ( | const struct ip_addr & | value ) |
Set MBed IP Address.
Definition at line 100 of file tag/13-precomp/Core/NetServer.h.
void setIPAddr | ( | const struct ip_addr & | value ) |
Set MBed IP Address.
Definition at line 101 of file trunk/Core/NetServer.h.
void setIPAddr | ( | const struct ip_addr & | value ) |
Set MBed IP Address.
Definition at line 101 of file precomp/Core/NetServer.h.
void setIPAddr | ( | const struct ip_addr & | value ) |
Set MBed IP Address.
Definition at line 100 of file tag/13/Core/NetServer.h.
void setIPAddr | ( | const struct ip_addr & | value ) |
Set MBed IP Address.
Definition at line 109 of file tag/7/Core/NetServer.h.
void setMAC | ( | const struct eth_addr & | value ) |
Set a diffrent ethernet address.
Definition at line 32 of file netserver.h.
void setMAC | ( | const struct eth_addr & | value ) |
Set a diffrent ethernet address.
Definition at line 99 of file tag/7/Core/NetServer.h.
void setNetmask | ( | const struct ip_addr & | value ) |
Set Netmask.
Definition at line 109 of file tag/13/Core/NetServer.h.
void setNetmask | ( | const struct ip_addr & | value ) |
Set Netmask.
Definition at line 110 of file precomp/Core/NetServer.h.
void setNetmask | ( | const struct ip_addr & | value ) |
Set Netmask.
Definition at line 118 of file tag/7/Core/NetServer.h.
void setNetmask | ( | const struct ip_addr & | value ) |
Set Netmask.
Definition at line 110 of file trunk/Core/NetServer.h.
void setNetmask | ( | const struct ip_addr & | value ) |
Set Netmask.
Definition at line 51 of file netserver.h.
void setNetmask | ( | const struct ip_addr & | value ) |
Set Netmask.
Definition at line 109 of file tag/13-precomp/Core/NetServer.h.
void setUp | ( | ) | const |
void setUp | ( | ) | const |
void setUp | ( | ) |
Set the network interface up.
To enable the network interface after calling setDown() Automaticly called from init().
Definition at line 73 of file netserver.cpp.
void setUp | ( | ) | const |
void setUp | ( | ) | const |
void setUp | ( | ) | const |
Set the network interface up.
To enable the network interface after calling setDown() Automaticly called from init().
Definition at line 78 of file tag/13/Core/NetServer.cpp.
void setUseDHCP | ( | const bool & | value ) |
Define if DHCP sould be used.
- Parameters:
-
value Bool if true dhcp is used else a static ip setting is assumed.
Definition at line 160 of file tag/13-precomp/Core/NetServer.h.
void setUseDHCP | ( | const bool & | value ) |
Define if DHCP sould be used.
- Parameters:
-
value Bool if true dhcp is used else a static ip setting is assumed.
Definition at line 161 of file trunk/Core/NetServer.h.
void setUseDHCP | ( | const bool & | value ) |
Define if DHCP sould be used.
- Parameters:
-
value Bool if true dhcp is used else a static ip setting is assumed.
Definition at line 102 of file netserver.h.
void setUseDHCP | ( | const bool & | value ) |
Define if DHCP sould be used.
- Parameters:
-
value Bool if true dhcp is used else a static ip setting is assumed.
Definition at line 169 of file tag/7/Core/NetServer.h.
void setUseDHCP | ( | const bool & | value ) |
Define if DHCP sould be used.
- Parameters:
-
value Bool if true dhcp is used else a static ip setting is assumed.
Definition at line 161 of file precomp/Core/NetServer.h.
void setUseDHCP | ( | const bool & | value ) |
Define if DHCP sould be used.
- Parameters:
-
value Bool if true dhcp is used else a static ip setting is assumed.
Definition at line 160 of file tag/13/Core/NetServer.h.
void waitForDHCP | ( | ) |
This function waits until the network interface is Up.
To use to wait after init with DHCP. Helps continue work after the network interface is completly up.
Definition at line 81 of file netserver.cpp.
void waitUntilReady | ( | ) |
This function waits until the network interface is Up.
To use to wait after init with DHCP. Helps continue work after the network interface is completly up.
void waitUntilReady | ( | ) |
This function waits until the network interface is Up.
To use to wait after init with DHCP. Helps continue work after the network interface is completly up.
void waitUntilReady | ( | ) |
This function waits until the network interface is Up.
To use to wait after init with DHCP. Helps continue work after the network interface is completly up.
void waitUntilReady | ( | ) |
This function waits until the network interface is Up.
To use to wait after init with DHCP. Helps continue work after the network interface is completly up.
Definition at line 86 of file tag/13/Core/NetServer.cpp.
void waitUntilReady | ( | ) |
This function waits until the network interface is Up.
To use to wait after init with DHCP. Helps continue work after the network interface is completly up.
Generated on Tue Jul 12 2022 16:06:31 by 1.7.2