added function to enable power saving mode for es_wifi driver (Inventek Systems ISM43362-M3G-L44 )
Fork of DISCO_L475VG_IOT01A_wifi by
es_wifi_conf.h@2:9bbbcd0eff1c, 2018-01-13 (annotated)
- Committer:
- jaafaryn
- Date:
- Sat Jan 13 23:37:46 2018 +0000
- Revision:
- 2:9bbbcd0eff1c
- Parent:
- 0:c61a93635433
added function to enable power saving mode
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
adustm | 0:c61a93635433 | 1 | /** |
adustm | 0:c61a93635433 | 2 | ****************************************************************************** |
adustm | 0:c61a93635433 | 3 | * @file Wifi/WiFi_HTTP_Server/Inc/es_wifi_conf.h |
adustm | 0:c61a93635433 | 4 | * @author MCD Application Team |
adustm | 0:c61a93635433 | 5 | * @version V1.8.0 |
adustm | 0:c61a93635433 | 6 | * @date 21-April-2017 |
adustm | 0:c61a93635433 | 7 | * @brief es-wifi configuration file. |
adustm | 0:c61a93635433 | 8 | ****************************************************************************** |
adustm | 0:c61a93635433 | 9 | * @attention |
adustm | 0:c61a93635433 | 10 | * |
adustm | 0:c61a93635433 | 11 | * <h2><center>© Copyright (c) 2017 STMicroelectronics International N.V. |
adustm | 0:c61a93635433 | 12 | * All rights reserved.</center></h2> |
adustm | 0:c61a93635433 | 13 | * |
adustm | 0:c61a93635433 | 14 | * Redistribution and use in source and binary forms, with or without |
adustm | 0:c61a93635433 | 15 | * modification, are permitted, provided that the following conditions are met: |
adustm | 0:c61a93635433 | 16 | * |
adustm | 0:c61a93635433 | 17 | * 1. Redistribution of source code must retain the above copyright notice, |
adustm | 0:c61a93635433 | 18 | * this list of conditions and the following disclaimer. |
adustm | 0:c61a93635433 | 19 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
adustm | 0:c61a93635433 | 20 | * this list of conditions and the following disclaimer in the documentation |
adustm | 0:c61a93635433 | 21 | * and/or other materials provided with the distribution. |
adustm | 0:c61a93635433 | 22 | * 3. Neither the name of STMicroelectronics nor the names of other |
adustm | 0:c61a93635433 | 23 | * contributors to this software may be used to endorse or promote products |
adustm | 0:c61a93635433 | 24 | * derived from this software without specific written permission. |
adustm | 0:c61a93635433 | 25 | * 4. This software, including modifications and/or derivative works of this |
adustm | 0:c61a93635433 | 26 | * software, must execute solely and exclusively on microcontroller or |
adustm | 0:c61a93635433 | 27 | * microprocessor devices manufactured by or for STMicroelectronics. |
adustm | 0:c61a93635433 | 28 | * 5. Redistribution and use of this software other than as permitted under |
adustm | 0:c61a93635433 | 29 | * this license is void and will automatically terminate your rights under |
adustm | 0:c61a93635433 | 30 | * this license. |
adustm | 0:c61a93635433 | 31 | * |
adustm | 0:c61a93635433 | 32 | * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" |
adustm | 0:c61a93635433 | 33 | * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT |
adustm | 0:c61a93635433 | 34 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
adustm | 0:c61a93635433 | 35 | * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY |
adustm | 0:c61a93635433 | 36 | * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT |
adustm | 0:c61a93635433 | 37 | * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
adustm | 0:c61a93635433 | 38 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
adustm | 0:c61a93635433 | 39 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, |
adustm | 0:c61a93635433 | 40 | * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
adustm | 0:c61a93635433 | 41 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
adustm | 0:c61a93635433 | 42 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
adustm | 0:c61a93635433 | 43 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
adustm | 0:c61a93635433 | 44 | * |
adustm | 0:c61a93635433 | 45 | ****************************************************************************** |
adustm | 0:c61a93635433 | 46 | */ |
adustm | 0:c61a93635433 | 47 | |
adustm | 0:c61a93635433 | 48 | #ifndef __ES_WIFI_CONF_H |
adustm | 0:c61a93635433 | 49 | #define __ES_WIFI_CONF_H |
adustm | 0:c61a93635433 | 50 | |
adustm | 0:c61a93635433 | 51 | #ifdef __cplusplus |
adustm | 0:c61a93635433 | 52 | extern "C" { |
adustm | 0:c61a93635433 | 53 | #endif |
adustm | 0:c61a93635433 | 54 | |
adustm | 0:c61a93635433 | 55 | /* Exported types ------------------------------------------------------------*/ |
adustm | 0:c61a93635433 | 56 | |
adustm | 0:c61a93635433 | 57 | /* Exported constants --------------------------------------------------------*/ |
adustm | 0:c61a93635433 | 58 | #define ES_WIFI_MAX_SSID_NAME_SIZE 32 |
adustm | 0:c61a93635433 | 59 | #define ES_WIFI_MAX_PSWD_NAME_SIZE 32 |
adustm | 0:c61a93635433 | 60 | #define ES_WIFI_PRODUCT_ID_SIZE 32 |
adustm | 0:c61a93635433 | 61 | #define ES_WIFI_PRODUCT_NAME_SIZE 32 |
adustm | 0:c61a93635433 | 62 | #define ES_WIFI_FW_REV_SIZE 16 |
adustm | 0:c61a93635433 | 63 | #define ES_WIFI_API_REV_SIZE 16 |
adustm | 0:c61a93635433 | 64 | #define ES_WIFI_STACK_REV_SIZE 16 |
adustm | 0:c61a93635433 | 65 | #define ES_WIFI_RTOS_REV_SIZE 16 |
adustm | 0:c61a93635433 | 66 | |
adustm | 0:c61a93635433 | 67 | #define ES_WIFI_DATA_SIZE 1600 |
adustm | 0:c61a93635433 | 68 | #define ES_WIFI_MAX_DETECTED_AP 10 |
adustm | 0:c61a93635433 | 69 | |
adustm | 0:c61a93635433 | 70 | #define ES_WIFI_TIMEOUT 0xFFFF |
adustm | 0:c61a93635433 | 71 | |
adustm | 0:c61a93635433 | 72 | #define ES_WIFI_USE_PING 1 |
adustm | 0:c61a93635433 | 73 | #define ES_WIFI_USE_AWS 0 |
adustm | 0:c61a93635433 | 74 | #define ES_WIFI_USE_FIRMWAREUPDATE 0 |
adustm | 0:c61a93635433 | 75 | #define ES_WIFI_USE_WPS 0 |
adustm | 0:c61a93635433 | 76 | |
adustm | 0:c61a93635433 | 77 | #define ES_WIFI_USE_SPI 1 |
adustm | 0:c61a93635433 | 78 | #define ES_WIFI_USE_UART (!ES_WIFI_USE_SPI) |
adustm | 0:c61a93635433 | 79 | |
adustm | 0:c61a93635433 | 80 | |
adustm | 0:c61a93635433 | 81 | |
adustm | 0:c61a93635433 | 82 | #ifdef __cplusplus |
adustm | 0:c61a93635433 | 83 | } |
adustm | 0:c61a93635433 | 84 | #endif |
adustm | 0:c61a93635433 | 85 | #endif /* __ES_WIFI_CONF_H */ |
adustm | 0:c61a93635433 | 86 | |
adustm | 0:c61a93635433 | 87 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |