ACKme Logo WiConnect Host Library- API Reference Guide
 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Settings Methods

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::getSignalStrength (NetworkSignalStrength *signalStrengthPtr)
 Get signal strength to WiFi network.
 
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...
 

Detailed Description

API getters/setters for module network settings.

Function Documentation

const char* wiconnect::NetworkInterface::getIpAddress ( char *  buffer = NULL)

Return the current IP address of the module if possible, else return 0.0.0.0.

Note
This method is only supported in blocking mode.
Parameters
[in]bufferOptional, 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.

Returns
Result of method. See WiconnectResult