Digi XBee(R) ANSI C Host Library
wifi.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2013 Digi International Inc.,
3  * All rights not expressly granted are reserved.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
7  * You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
10  * =======================================================================
11  */
12 
20 #include "xbee/platform.h"
21 
22 #if !XBEE_WIFI_ENABLED
23  #error "XBEE_WIFI_ENABLED must be defined as non-zero to use this header."
24 #endif
25 
29 #define XBEE_WIFI_ENCRYPTION_OPEN 0x00
30 #define XBEE_WIFI_ENCRYPTION_WPA 0x01
31 #define XBEE_WIFI_ENCRYPTION_WPA2 0x02
32 #define XBEE_WIFI_ENCRYPTION_WEP 0x03
33 
35 
40 const char *xbee_wifi_encryption_name(uint8_t type);
41 
Common header for Hardware Abstraction Layer.
const char * xbee_wifi_encryption_name(uint8_t type)
Return a human-readable description of the Wi-Fi network's encryption.
Definition: xbee_wifi.c:24
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39