Download libraries/WiFi/src/utility/wl_definitions.h from Beifengdo/Arduino-Development: direct link, hf CLI and curl.
- Browser
- Download file 2.23 kB
-
https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/libraries/WiFi/src/utility/wl_definitions.h
- Command line
-
hf download hf://datasets/Beifengdo/Arduino-Development/libraries/WiFi/src/utility/wl_definitions.h
-
curl -L -o wl_definitions.h https://huggingface.co/datasets/Beifengdo/Arduino-Development/resolve/main/libraries/WiFi/src/utility/wl_definitions.h
2.23 kB
| /* | |
| wl_definitions.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_definitions.h | |
| * | |
| * Created on: Mar 6, 2011 | |
| * Author: dlafauci | |
| */ | |
| // Maximum size of a SSID | |
| // Length of passphrase. Valid lengths are 8-63. | |
| // Length of key in bytes. Valid values are 5 and 13. | |
| // Size of a MAC-address or BSSID | |
| // Size of a MAC-address or BSSID | |
| // Maximum size of a SSID list | |
| // Maxmium number of socket | |
| // Socket not available constant | |
| // Default state value for Wifi state field | |
| //Maximum number of attempts to establish wifi connection | |
| typedef enum { | |
| WL_NO_SHIELD = 255, | |
| WL_IDLE_STATUS = 0, | |
| WL_NO_SSID_AVAIL, | |
| WL_SCAN_COMPLETED, | |
| WL_CONNECTED, | |
| WL_CONNECT_FAILED, | |
| WL_CONNECTION_LOST, | |
| WL_DISCONNECTED | |
| } wl_status_t; | |
| /* Encryption modes */ | |
| enum wl_enc_type { /* Values map to 802.11 encryption suites... */ | |
| ENC_TYPE_WEP = 5, | |
| ENC_TYPE_TKIP = 2, | |
| ENC_TYPE_CCMP = 4, | |
| /* ... except these two, 7 and 8 are reserved in 802.11-2007 */ | |
| ENC_TYPE_NONE = 7, | |
| ENC_TYPE_AUTO = 8 | |
| }; | |