This step seems bold, but is saves us so much hassle. Even better, we have a reliable codebase, with all the dependencies (and their versions) we need in order to build the project. If a library got an update, we can replace it inplace if the code is still compatible.
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
/*
|
|
wl_types.h - Library for Arduino Wifi shield.
|
|
Copyright (c) 2011-2014 Arduino. All right reserved.
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/*
|
|
* wl_types.h
|
|
*
|
|
* Created on: Jul 30, 2010
|
|
* Author: dlafauci
|
|
*/
|
|
|
|
|
|
#ifndef _WL_TYPES_H_
|
|
#define _WL_TYPES_H_
|
|
|
|
#include <inttypes.h>
|
|
|
|
typedef enum {
|
|
WL_FAILURE = -1,
|
|
WL_SUCCESS = 1,
|
|
} wl_error_code_t;
|
|
|
|
/* Authentication modes */
|
|
enum wl_auth_mode {
|
|
AUTH_MODE_INVALID,
|
|
AUTH_MODE_AUTO,
|
|
AUTH_MODE_OPEN_SYSTEM,
|
|
AUTH_MODE_SHARED_KEY,
|
|
AUTH_MODE_WPA,
|
|
AUTH_MODE_WPA2,
|
|
AUTH_MODE_WPA_PSK,
|
|
AUTH_MODE_WPA2_PSK
|
|
};
|
|
|
|
#endif //_WL_TYPES_H_
|