WifiHQ

- Main Page
- Classes
- Files

- File List

All Classes Files Functions Pages
Classes | Macros | Variables
WiFlyHQ.h File Reference

The WiFly class definition. More...

`#include <Arduino.h>`
`#include <Stream.h>`
`#include <avr/pgmspace.h>`
`#include <IPAddress.h>`

Go to the source code of this file.

## Classes
class | WFDebug
class | WiFly

## Macros
#define | WIFLY_PROTOCOL_UDP 0x01
#define | WIFLY_PROTOCOL_TCP 0x02
#define | WIFLY_PROTOCOL_SECURE 0x04
#define | WIFLY_PROTOCOL_TCP_CLIENT 0x08
#define | WIFLY_PROTOCOL_HTTP 0x10 /* HTTP Client mode */
#define | WIFLY_PROTOCOL_RAW 0x20
#define | WIFLY_PROTOCOL_SMTP 0x40
#define | WIFLY_FLAG_TCP_KEEP 0x01 /* Keep TCP connection alive when wifi lost */
#define | WIFLY_FLAG_TCP_NODELAY 0x02
#define | WIFLY_FLAG_TCP_RETRY 0x04
#define | WIFLY_FLAG_UDP_RETRY 0x08
#define | WIFLY_FLAG_DNS_CACHING 0x10
#define | WIFLY_FLAG_ARP_CACHING 0x20
#define | WIFLY_FLAG_UDP_AUTO_PAIR 0x40
#define | WIFLY_FLAG_ADD_TIMESTAMP 0x80
#define | WIFLY_UART_MODE_NOECHO 0x01
#define | WIFLY_UART_MODE_DATA_TRIGGER 0x02
#define | WIFLY_UART_MODE_SLEEP_RX_BREAK 0x08
#define | WIFLY_UART_MODE_RX_BUFFER 0x10
#define | WIFLY_DHCP_MODE_OFF 0x00 /* No DHCP, static IP mode */
#define | WIFLY_DHCP_MODE_ON 0x01 /* get IP, Gateway, and DNS from AP */
#define | WIFLY_DHCP_MODE_AUTOIP 0x02 /* Used with Adhoc networks */
#define | WIFLY_DHCP_MODE_CACHE 0x03 /* Use previous DHCP address based on lease */
#define | WIFLY_DHCP_MODE_SERVER 0x04 /* Server DHCP IP addresses? */
#define | WIFLY_WLAN_JOIN_MANUAL 0x00 /* Don't auto-join a network */
#define | WIFLY_WLAN_JOIN_AUTO 0x01 /* Auto-join network set in SSID, passkey, and channel. */
#define | WIFLY_WLAN_JOIN_ANY 0x02 /* Ignore SSID and join strongest network using passkey. */
#define | WIFLY_WLAN_JOIN_ADHOC 0x04 /* Create an Adhoc network using SSID, Channel, IP and NetMask */
#define | WIFLY_DEFAULT_TIMEOUT 500 /* 500 milliseconds */
#define | WIFLY_MODE_WPA 0
#define | WIFLY_MODE_WEP 1

## Variables
WFDebug | __attribute__ []

## Detailed Description

The WiFly class definition.

## Variable Documentation

static { ... } __attribute__

Initial value:
{
{ 1000000, WIFLY_RATE_1MBPS },
{ 2000000, WIFLY_RATE_2MBPS },
{ 5500000, WIFLY_RATE_5_5MBPS },
{ 6000000, WIFLY_RATE_6MBPS },
{ 9000000, WIFLY_RATE_9MBPS },
{ 11000000, WIFLY_RATE_11MBPS },
{ 12000000, WIFLY_RATE_12MBPS },
{ 18000000, WIFLY_RATE_18MBPS },
{ 24000000, WIFLY_RATE_24MBPS },
{ 36000000, WIFLY_RATE_36MBPS },
{ 48000000, WIFLY_RATE_48MBPS },
{ 54000000, WIFLY_RATE_54MBPS }
}