API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Data Structures

struct  tsmart_xbee_wifi_addr_t
 XBee wifi address. More...
 
struct  tsmart_xbee_wifi_ip_t
 IP address structure. More...
 
struct  tsmart_xbee_wifi_mask_t
 IP address mask structure. More...
 
struct  tsmart_xbee_wifi_ipv4_data_received_t
 IPv4 data frame structure received. More...
 
struct  tsmart_xbee_wifi_ipv4_data_to_send_t
 IPv4 data frame structure to send. More...
 
struct  tsmart_xbee_wifi_802_data_received_t
 802.15.4 data frame structure received. More...
 
struct  tsmart_xbee_wifi_802_data_to_send_t
 802.15.4 data frame structure to send. More...
 
struct  tsmart_xbee_wifi_config_t
 XBee wifi configuration structure. More...
 
struct  tsmart_xbee_wifi_config_device_t
 Configuration for XBee wifi. More...
 
struct  tsmart_xbee_wifi_t
 XBee Wifi handler structure. More...
 

Enumerations

enum  { TSMART_XBEE_WIFI_FC_NONE = USART_HardwareFlowControl_None, TSMART_XBEE_WIFI_FC_RTS = USART_HardwareFlowControl_RTS, TSMART_XBEE_WIFI_FC_CTS = USART_HardwareFlowControl_CTS, TSMART_XBEE_WIFI_FC_RTS_CTS = USART_HardwareFlowControl_RTS_CTS }
 Flow control labels. More...
 
enum  tsmart_xbee_wifi_ai_t {
  TSMART_XBEE_WIFI_AI_1 = 0x00, TSMART_XBEE_WIFI_AI_2 = 0x01, TSMART_XBEE_WIFI_AI_3 = 0x13, TSMART_XBEE_WIFI_AI_4 = 0x22,
  TSMART_XBEE_WIFI_AI_5 = 0x23, TSMART_XBEE_WIFI_AI_6 = 0x27, TSMART_XBEE_WIFI_AI_7 = 0x41, TSMART_XBEE_WIFI_AI_8 = 0x42,
  TSMART_XBEE_WIFI_AI_9 = 0xFF, TSMART_XBEE_WIFI_AI_10 = -1
}
 Label to report about the association indications. More...
 
enum  tsmart_xbee_wifi_status_message_t {
  TSMART_XBEE_WIFI_HARDWARE_RESET = 0x00, TSMART_XBEE_WIFI_WATCHDOG_TIMER_RESET = 0x01, TSMART_XBEE_WIFI_JOINED_NETWORK = 0x02, TSMART_XBEE_WIFI_NO_LONGER_JOINED_TO_ACCESS_POINT = 0x03,
  TSMART_XBEE_WIFI_IP_CONFIG_ERROR = 0x04, TSMART_XBEE_WIFI_SEND_OR_JOIN_ISSUED_WITHOUT_CONNECTING = 0x82, TSMART_XBEE_WIFI_ACCESS_POINT_NOT_FOUND = 0x83, TSMART_XBEE_WIFI_PSK_NOT_CONFIGURED = 0x84,
  TSMART_XBEE_WIFI_SSID_NOT_FOUND = 0x87, TSMART_XBEE_WIFI_FAILED_TO_JOIN = 0x88, TSMART_XBEE_WIFI_INVALID_CHANNEL = 0x8A, TSMART_XBEE_WIFI_FAILED_TO_JOIN_ACCESS_POINT = 0x8E,
  TSMART_XBEE_WIFI_FAIL = -1
}
 Label to report about status messages. More...
 
enum  tsmart_xbee_wifi_flow_control_t { TSMART_XBEE_WIFI_FLOW_CONTROL_DISABLE, TSMART_XBEE_WIFI_FLOW_CONTROL_CTS, TSMART_XBEE_WIFI_FLOW_CONTROL_RTS, TSMART_XBEE_WIFI_FLOW_CONTROL_RTS_CTS }
 Enum to select flow control mode. More...
 
enum  tsmart_xbee_wifi_flag_t { TSMART_XBEE_WIFI_DISABLE, TSMART_XBEE_WIFI_ENABLE }
 Standard label for XBee device. More...
 
enum  tsmart_xbee_wifi_report_t { TSMART_XBEE_WIFI_PACKET_LOST, TSMART_XBEE_WIFI_OK }
 Label to report about loss packets. More...
 
enum  tsmart_xbee_wifi_protocol_t { TSMART_XBEE_WIFI_UDP, TSMART_XBEE_WIFI_TCP }
 Label to select protocol. More...
 
enum  tsmart_xbee_wifi_network_type_t { TSMART_XBEE_WIFI_IBSS_JOINER, TSMART_XBEE_WIFI_IBSS_CREATOR, TSMART_XBEE_WIFI_INFRAESTRUCTURE }
 Label to select wireless network types. More...
 
enum  encriptation_type_t { TSMART_XBEE_WIFI_NONE, TSMART_XBEE_WIFI_WEP, TSMART_XBEE_WIFI_WPA, TSMART_XBEE_WIFI_WPA2 }
 Label to report about loss packets. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum

Flow control labels.

Enumerator
TSMART_XBEE_WIFI_FC_NONE 

Disable flow control

TSMART_XBEE_WIFI_FC_RTS 

Enable RTS flow control

TSMART_XBEE_WIFI_FC_CTS 

Enable CTS flow control

TSMART_XBEE_WIFI_FC_RTS_CTS 

Enable complete flow control RTS&CTS

Label to report about loss packets.

Enumerator
TSMART_XBEE_WIFI_NONE 

No security

TSMART_XBEE_WIFI_WEP 

Wired Equivalency Protocol

TSMART_XBEE_WIFI_WPA 

Wi-Fi Protected Access

TSMART_XBEE_WIFI_WPA2 

WPA with AES-based encryption

Label to report about the association indications.

Enumerator
TSMART_XBEE_WIFI_AI_1 

Successfully joined an access point, established IP addresses and IP listening sockets.

TSMART_XBEE_WIFI_AI_2 

Wifi initialization in progress. This status should only be seen for a few milliseconds.

TSMART_XBEE_WIFI_AI_3 

Disconnecting from access point.

TSMART_XBEE_WIFI_AI_4 

Selected SSID not found.

TSMART_XBEE_WIFI_AI_5 

SSID not configured (An active scan can occur in this state).

TSMART_XBEE_WIFI_AI_6 

SSID was found, but join failed.

TSMART_XBEE_WIFI_AI_7 

Module joined a network and is waiting for IP configuration to complete, which usually means it is waiting for a DHCP provided address.

TSMART_XBEE_WIFI_AI_8 

Module is joined, IP is configured, and listening sockets are being set up.

TSMART_XBEE_WIFI_AI_9 

Module is currently scanning for the configured SSID.

TSMART_XBEE_WIFI_AI_10 

Wrong answer.

Standard label for XBee device.

Enumerator
TSMART_XBEE_WIFI_DISABLE 

Label to select disable option

TSMART_XBEE_WIFI_ENABLE 

Label to select enable option

Enum to select flow control mode.

Enumerator
TSMART_XBEE_WIFI_FLOW_CONTROL_DISABLE 

Label to select option disable

TSMART_XBEE_WIFI_FLOW_CONTROL_CTS 

Label to select option CTS enable

TSMART_XBEE_WIFI_FLOW_CONTROL_RTS 

Label to select option RTS enable

TSMART_XBEE_WIFI_FLOW_CONTROL_RTS_CTS 

Label to select option CTS and RTS enables

Label to select wireless network types.

Enumerator
TSMART_XBEE_WIFI_IBSS_JOINER 

Joiner to available to hoc wireless network

TSMART_XBEE_WIFI_IBSS_CREATOR 

Creator of the ad-hoc wireless network

TSMART_XBEE_WIFI_INFRAESTRUCTURE 

Infrastructure wireless network

Label to select protocol.

Enumerator
TSMART_XBEE_WIFI_UDP 

UDP protocol

TSMART_XBEE_WIFI_TCP 

TCP protocol

Label to report about loss packets.

Enumerator
TSMART_XBEE_WIFI_PACKET_LOST 

There were lost packets.

TSMART_XBEE_WIFI_OK 

There weren't lost packets, every thing it's OK.

Label to report about status messages.

Enumerator
TSMART_XBEE_WIFI_HARDWARE_RESET 

Hardware reset

TSMART_XBEE_WIFI_WATCHDOG_TIMER_RESET 

Watchdog timer reset

TSMART_XBEE_WIFI_JOINED_NETWORK 

Joined wireless network

TSMART_XBEE_WIFI_NO_LONGER_JOINED_TO_ACCESS_POINT 

No longer joined to access point

TSMART_XBEE_WIFI_IP_CONFIG_ERROR 

IP configuration error

TSMART_XBEE_WIFI_SEND_OR_JOIN_ISSUED_WITHOUT_CONNECTING 

Send or join command issued without first connecting from access point

TSMART_XBEE_WIFI_ACCESS_POINT_NOT_FOUND 

Access point not found

TSMART_XBEE_WIFI_PSK_NOT_CONFIGURED 

PSK not configured

TSMART_XBEE_WIFI_SSID_NOT_FOUND 

SSID not found

TSMART_XBEE_WIFI_FAILED_TO_JOIN 

Failed to join with security enabled

TSMART_XBEE_WIFI_INVALID_CHANNEL 

Invalid channel

TSMART_XBEE_WIFI_FAILED_TO_JOIN_ACCESS_POINT 

Failed to join access point

TSMART_XBEE_WIFI_FAIL 

Wrong answer