esp_wifi_params.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef ESP_WIFI_PARAMS_H
21 #define ESP_WIFI_PARAMS_H
22 
23 #if defined(MODULE_ESP_WIFI) || defined(DOXYGEN)
24 
33 #ifndef ESP_WIFI_STACKSIZE
34 #define ESP_WIFI_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
35 #endif
36 
40 #ifndef ESP_WIFI_PRIO
41 #define ESP_WIFI_PRIO (GNRC_NETIF_PRIO)
42 #endif
43 
47 #if !defined(ESP_WIFI_SSID) && !defined(ESP_WIFI_AP_PREFIX)
48 #define ESP_WIFI_SSID "RIOT_AP"
49 #endif
50 
54 #if !defined(ESP_WIFI_SSID) && !defined(ESP_WIFI_AP_PREFIX) || defined(DOXYGEN)
55 #define ESP_WIFI_AP_PREFIX "RIOT_AP_"
56 #endif
57 
61 #ifdef DOXYGEN
62 #define ESP_WIFI_PASS "ThisistheRIOTporttoESP"
63 #endif
64 
65 #if defined(MODULE_ESP_WIFI_AP) || defined(DOXYGEN)
66 
70 #ifndef ESP_WIFI_SSID_HIDDEN
71 #define ESP_WIFI_SSID_HIDDEN (0)
72 #endif
73 
77 #ifndef ESP_WIFI_MAX_CONN
78 #define ESP_WIFI_MAX_CONN (4)
79 #endif
80 
84 #ifndef ESP_WIFI_BEACON_INTERVAL
85 #define ESP_WIFI_BEACON_INTERVAL (100)
86 #endif
87 
88 #endif /* defined(ESP_WIFI_AP) || defined(DOXYGEN) */
89 
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95 
96 #ifdef __cplusplus
97 }
98 #endif
99 
100 #endif /* MODULE_ESP_WIFI || DOXYGEN */
101 
102 #endif /* ESP_WIFI_PARAMS_H */
103