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
9#pragma once
10
21
22#if defined(MODULE_ESP_WIFI) || defined(DOXYGEN)
23
28
32#ifndef ESP_WIFI_STACKSIZE
33#define ESP_WIFI_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
34#endif
35
39#ifndef ESP_WIFI_PRIO
40#define ESP_WIFI_PRIO (GNRC_NETIF_PRIO)
41#endif
42
46#ifndef WIFI_SSID
47#ifdef ESP_WIFI_SSID
48#define WIFI_SSID ESP_WIFI_SSID
49#else
50#define WIFI_SSID "RIOT_AP"
51#endif
52#endif
53
57#ifdef DOXYGEN
58#define WIFI_PASS "ThisistheRIOTporttoESP"
59#endif
60
61#if !defined(WIFI_PASS) && defined(ESP_WIFI_PASS)
62#define WIFI_PASS ESP_WIFI_PASS
63#endif
64
65#if defined(MODULE_ESP_WIFI_AP) || defined(DOXYGEN)
66
74#ifndef ESP_WIFI_SSID_DYNAMIC
75#define ESP_WIFI_SSID_DYNAMIC 0
76#endif
77
81#ifndef ESP_WIFI_SSID_HIDDEN
82#define ESP_WIFI_SSID_HIDDEN (0)
83#endif
84
88#ifndef ESP_WIFI_MAX_CONN
89#define ESP_WIFI_MAX_CONN (4)
90#endif
91
95#ifndef ESP_WIFI_BEACON_INTERVAL
96#define ESP_WIFI_BEACON_INTERVAL (100)
97#endif
98
99#endif /* defined(ESP_WIFI_AP) || defined(DOXYGEN) */
100
102
103#ifdef __cplusplus
104extern "C" {
105#endif
106
107#ifdef __cplusplus
108}
109#endif
110
111#endif /* MODULE_ESP_WIFI || DOXYGEN */
112