![]() |
WiConnect Host Library- API Reference Guide | ||
API getters/setters for module network settings. More...
Functions | |
WiconnectResult | wiconnect::NetworkInterface::setDhcpEnabled (bool enabled) |
Set DHCP enabled. More... | |
WiconnectResult | wiconnect::NetworkInterface::getDhcpEnabled (bool *enabledPtr) |
Get if DHCP enabled. | |
WiconnectResult | wiconnect::NetworkInterface::setIpSettings (uint32_t ip, uint32_t netmask, uint32_t gateway) |
Set static IP settings. | |
WiconnectResult | wiconnect::NetworkInterface::setIpSettings (const char *ip, const char *netmask, const char *gateway) |
Set static IP settings (with string parameters) | |
WiconnectResult | wiconnect::NetworkInterface::getIpSettings (uint32_t *ip, uint32_t *netmask, uint32_t *gateway) |
Get network IP settings. | |
WiconnectResult | wiconnect::NetworkInterface::setDnsAddress (uint32_t dnsAddress) |
Set static DNS Address. | |
WiconnectResult | wiconnect::NetworkInterface::getDnsAddress (uint32_t *dnsAddress) |
Get the static DNS address. | |
const char * | wiconnect::NetworkInterface::getIpAddress (char *buffer=NULL) |
Return the current IP address of the module if possible, else return 0.0.0.0. More... | |
API getters/setters for module network settings.
const char* wiconnect::NetworkInterface::getIpAddress | ( | char * | buffer = NULL | ) |
Return the current IP address of the module if possible, else return 0.0.0.0.
[in] | buffer | Optional, buffer to IP address string. If omitted, the IP address string is stored in a local static buffer (this is non-reentrant!) |
WiconnectResult wiconnect::NetworkInterface::setDhcpEnabled | ( | bool | enabled | ) |
Set DHCP enabled.