51 #define MIN(x,y) ((x) < (y) ? (x) : (y))
59 #define MAX(x,y) ((x) > (y) ? (x) : (y))
66 #define ALIGN_n(x, n) ((((uint32_t)x) + ((n)-1)) & ~((n)-1))
72 #define ALIGN_8(x) ALIGN_n(x, 8)
78 #define ALIGN_4(x) ALIGN_n(x, 4)
84 #define ARRAY_COUNT(x) (sizeof (x) / sizeof *(x))
92 #define WICONNECT_FAILED(result, func) ((int)(result = (func)) < (int)wiconnect::WICONNECT_SUCCESS)
99 #define WICONNECT_SUCCEEDED(result, func) ((result = (func)) == wiconnect::WICONNECT_SUCCESS)
106 #define WICONNECT_MAX_CMD_SIZE 128
111 #define WICONNECT_MAX_VERSION_SIZE 96
116 #define WICONNECT_MAX_SOCKETS 8
121 #define WICONNECT_MAX_HOST_SIZE 64
126 #define WICONNECT_MAX_FILENAME_SIZE 96
131 #define WICONNECT_WAIT_FOREVER 0xFFFFFFFF
136 #define WICONNECT_NO_WAIT 0
141 #define WICONNECT_FIRMWARE_UPDATE_TIMEOUT 90000
147 #define SOCKET_ANY_PORT (uint16_t)0
152 #define SOCKET_INVALID_HANDLE ((uint8_t)0xFF)
269 NETWORK_SECURITY_OPEN,
270 NETWORK_SECURITY_WEP_PSK,
271 NETWORK_SECURITY_WPA_AES_PSK,
272 NETWORK_SECURITY_WPA_TKIP_PSK,
273 NETWORK_SECURITY_WPA2_AES_PSK,
274 NETWORK_SECURITY_WPA2_MIXED_PSK,
275 NETWORK_SECURITY_WPA2_TKIP_PSK,
276 NETWORK_SECURITY_UNKNOWN
415 class ScanResultList;
416 class WiconnectSocket;
417 class WiconnectSerial;
421 class SocketIrqHandlerMap;
Miscellaneous fixed length file.
uint8_t len
The length in bytes of the SSID raw data.
The specified security type is not supported by the network.
Conntected to network and have IP address.
NetworkSecurity
Network security type.
int8_t(* PinToGpioMapper)(Pin pin)
Function pointer for mapping from a host pin to a WiConnect Module GPIO.
Currently executing another command.
const char * contextType
A POST Request 'context-type' value.
WiconnectResult
API Result code.
Haven't attempted to join.
Network MAC Address type.
HttpSocketType
HTTP Socket sub-type.
Joining was aborted (via command)
Library processing current command.
Not connected to network.
char SsidStrBuffer[129]
Buffer to hold a SSID string.
Connected to network but don't have IP address.
char MacAddressStrBuffer[18]
Buffer to hold a MAC address string.
HTTP HEAD Request socket type.
The network with the configured SSID was not found.
PinName Pin
Pin name on HOST.
The SSID has not be configured.
Command / parameter not supported.
The network requires a password and none has been set.
Background processing monitor is not available (i.e in use)
Library not processing any commands.
HTTP POST Request socket type.
HttpSocketType type
The type of HTTP connection.
Module returned error code.
FileFlags
File flags type.
NetworkSignalStrength
Network RSSI signal level.
File on internal module flash.
NetworkJoinResult
Network connection status.
HTTP GET Request socket type.
Failed to parse module response.
const char * certName
TLS certificate filename on module flash file system.
The pinToGpioMapper hasn't been set.
Successfully joined the network.
Command successfully completed.
NetworkStatus
Network connection status.
Failed to join the network.
WiConnect command help file.
char IpStrBuffer[18]
Buffer to hold an IP address string.
Struct for hold HTTP socket configuration.
Currently attempting to join.
No mapping found for given pin.
bool openOnly
Only open the connection, don't issue the request yet.
The file is not open for reading.
Internal upgrade application.