My Project
Loading...
Searching...
No Matches
wifi_connect.h
1/* user_settings.h
2 *
3 * Copyright (C) 2006-2020 wolfSSL Inc.
4 *
5 * This file is part of wolfSSL.
6 *
7 * wolfSSL is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * wolfSSL is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20 */
21#ifndef _TLS_WIFI_H_
22#define _TLS_WIFI_H_
23
24#include "esp_idf_version.h"
25#include "esp_log.h"
26#include "esp_wifi.h"
27#if ESP_IDF_VERSION_MAJOR >= 4 && ESP_IDF_VERSION_MINOR >= 1
28#include "esp_event.h"
29#else
30#include "esp_event_loop.h"
31#endif
32
33#define DEFAULT_PORT 11111
34
35#define TLS_SMP_CLIENT_TASK_NAME "tls_client_example"
36#define TLS_SMP_CLIENT_TASK_WORDS 10240
37#define TLS_SMP_CLIENT_TASK_PRIORITY 8
38
39#define TLS_SMP_WIFI_SSID CONFIG_WIFI_SSID
40#define TLS_SMP_WIFI_PASS CONFIG_WIFI_PASSWORD
41#define TLS_SMP_TARGET_HOST CONFIG_TARGET_HOST
42
43#endif