Loading...
Searching...
No Matches
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#ifndef WIFI_SSID
48#ifdef ESP_WIFI_SSID
49#define WIFI_SSID ESP_WIFI_SSID
50#else
51#define WIFI_SSID "RIOT_AP"
52#endif
53#endif
54
58#ifdef DOXYGEN
59#define WIFI_PASS "ThisistheRIOTporttoESP"
60#endif
61
62#if !defined(WIFI_PASS) && defined(ESP_WIFI_PASS)
63#define WIFI_PASS ESP_WIFI_PASS
64#endif
65
66#if defined(MODULE_ESP_WIFI_AP) || defined(DOXYGEN)
67
75#ifndef ESP_WIFI_SSID_DYNAMIC
76#define ESP_WIFI_SSID_DYNAMIC 0
77#endif
78
82#ifndef ESP_WIFI_SSID_HIDDEN
83#define ESP_WIFI_SSID_HIDDEN (0)
84#endif
85
89#ifndef ESP_WIFI_MAX_CONN
90#define ESP_WIFI_MAX_CONN (4)
91#endif
92
96#ifndef ESP_WIFI_BEACON_INTERVAL
97#define ESP_WIFI_BEACON_INTERVAL (100)
98#endif
99
100#endif /* defined(ESP_WIFI_AP) || defined(DOXYGEN) */
101
104#ifdef __cplusplus
105extern "C" {
106#endif
107
108#ifdef __cplusplus
109}
110#endif
111
112#endif /* MODULE_ESP_WIFI || DOXYGEN */
113
114#endif /* ESP_WIFI_PARAMS_H */