Skip to content

Commit 7a78d82

Browse files
committed
Update to ESP-IDF release/v3.3 commit f4333c8e3a554e8bb4210d825cbdf4bcaa1fc1b8
1 parent 71ed400 commit 7a78d82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+384
-285
lines changed

tools/sdk/bin/bootloader_dio_40m.bin

-1.92 KB
Binary file not shown.

tools/sdk/bin/bootloader_dio_80m.bin

-1.92 KB
Binary file not shown.

tools/sdk/bin/bootloader_dout_40m.bin

-1.92 KB
Binary file not shown.

tools/sdk/bin/bootloader_dout_80m.bin

-1.92 KB
Binary file not shown.

tools/sdk/bin/bootloader_qio_40m.bin

-2.09 KB
Binary file not shown.

tools/sdk/bin/bootloader_qio_80m.bin

-2.08 KB
Binary file not shown.

tools/sdk/bin/bootloader_qout_40m.bin

-2.09 KB
Binary file not shown.

tools/sdk/bin/bootloader_qout_80m.bin

-2.08 KB
Binary file not shown.

tools/sdk/include/bt/esp_blufi_api.h

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ typedef enum {
8383
ESP_BLUFI_DH_PARAM_ERROR,
8484
ESP_BLUFI_READ_PARAM_ERROR,
8585
ESP_BLUFI_MAKE_PUBLIC_ERROR,
86+
ESP_BLUFI_DATA_FORMAT_ERROR,
8687
} esp_blufi_error_state_t;
8788

8889
/**

tools/sdk/include/bt/esp_gap_bt_api.h

+11-8
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,15 @@ esp_err_t esp_bt_gap_register_callback(esp_bt_gap_cb_t callback);
361361
esp_err_t esp_bt_gap_set_scan_mode(esp_bt_scan_mode_t mode);
362362

363363
/**
364-
* @brief Start device discovery. This function should be called after esp_bluedroid_enable() completes successfully.
365-
* esp_bt_gap_cb_t will is called with ESP_BT_GAP_DISC_STATE_CHANGED_EVT if discovery is started or halted.
366-
* esp_bt_gap_cb_t will is called with ESP_BT_GAP_DISC_RES_EVT if discovery result is got.
364+
* @brief This function starts Inquiry and Name Discovery. It should be called after esp_bluedroid_enable() completes successfully.
365+
* When Inquiry is halted and cached results do not contain device name, then Name Discovery will connect to the peer target to get the device name.
366+
* esp_bt_gap_cb_t will be called with ESP_BT_GAP_DISC_STATE_CHANGED_EVT when Inquriry is started or Name Discovery is completed.
367+
* esp_bt_gap_cb_t will be called with ESP_BT_GAP_DISC_RES_EVT each time the two types of discovery results are got.
367368
*
368-
* @param[in] mode - inquiry mode
369-
* @param[in] inq_len - inquiry duration in 1.28 sec units, ranging from 0x01 to 0x30
370-
* @param[in] num_rsps - number of inquiry responses that can be received, value 0 indicates an unlimited number of responses
369+
* @param[in] mode - Inquiry mode
370+
* @param[in] inq_len - Inquiry duration in 1.28 sec units, ranging from 0x01 to 0x30. This parameter only specifies the total duration of the Inquiry process,
371+
* - when this time expires, Inquiry will be halted.
372+
* @param[in] num_rsps - Number of responses that can be received before the Inquiry is halted, value 0 indicates an unlimited number of responses.
371373
*
372374
* @return
373375
* - ESP_OK : Succeed
@@ -378,8 +380,9 @@ esp_err_t esp_bt_gap_set_scan_mode(esp_bt_scan_mode_t mode);
378380
esp_err_t esp_bt_gap_start_discovery(esp_bt_inq_mode_t mode, uint8_t inq_len, uint8_t num_rsps);
379381

380382
/**
381-
* @brief Cancel device discovery. This function should be called after esp_bluedroid_enable() completes successfully
382-
* esp_bt_gap_cb_t will is called with ESP_BT_GAP_DISC_STATE_CHANGED_EVT if discovery is stopped.
383+
* @brief Cancel Inquiry and Name Discovery. This function should be called after esp_bluedroid_enable() completes successfully.
384+
* esp_bt_gap_cb_t will be called with ESP_BT_GAP_DISC_STATE_CHANGED_EVT if Inquiry or Name Discovery is cancelled by
385+
* calling this function.
383386
*
384387
* @return
385388
* - ESP_OK : Succeed

tools/sdk/include/config/sdkconfig.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
#define CONFIG_CAMERA_CORE1 1
7979
#define CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL 5
8080
#define CONFIG_MB_SERIAL_BUF_SIZE 256
81-
#define CONFIG_CONSOLE_UART_BAUDRATE 921600
81+
#define CONFIG_CONSOLE_UART_BAUDRATE 115200
8282
#define CONFIG_SPIRAM_SUPPORT 1
8383
#define CONFIG_MFN56_1X 1
8484
#define CONFIG_LWIP_MAX_SOCKETS 10
@@ -223,7 +223,6 @@
223223
#define CONFIG_MB_QUEUE_LENGTH 20
224224
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA 1
225225
#define CONFIG_OV2640_SUPPORT 1
226-
#define CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER 1
227226
#define CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_PSK 1
228227
#define CONFIG_PPP_SUPPORT 1
229228
#define CONFIG_SPIRAM_SPEED_40M 1
@@ -235,7 +234,6 @@
235234
#define CONFIG_SPIFFS_GC_MAX_RUNS 10
236235
#define CONFIG_ARDUINO_RUN_CORE1 1
237236
#define CONFIG_ESP32_APPTRACE_DEST_NONE 1
238-
#define CONFIG_ESP32_WIFI_RX_IRAM_OPT 1
239237
#define CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC 1
240238
#define CONFIG_MBEDTLS_SSL_PROTO_TLS1_2 1
241239
#define CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA 1
@@ -280,6 +278,7 @@
280278
#define CONFIG_TCPIP_RECVMBOX_SIZE 32
281279
#define CONFIG_ESP32_DEFAULT_CPU_FREQ_240 1
282280
#define CONFIG_ESP32_XTAL_FREQ_AUTO 1
281+
#define CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST 1
283282
#define CONFIG_TCP_MAXRTX 12
284283
#define CONFIG_ESPTOOLPY_AFTER "hard_reset"
285284
#define CONFIG_TCPIP_TASK_AFFINITY 0x0
@@ -305,6 +304,7 @@
305304
#define CONFIG_ESP32_DEBUG_STUBS_ENABLE 1
306305
#define CONFIG_BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT 30
307306
#define CONFIG_TCPIP_LWIP 1
307+
#define CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST 1
308308
#define CONFIG_REDUCE_PHY_TX_POWER 1
309309
#define CONFIG_BOOTLOADER_WDT_TIME_MS 9000
310310
#define CONFIG_FREERTOS_CORETIMER_0 1
@@ -319,15 +319,16 @@
319319
#define CONFIG_ADC_CAL_EFUSE_VREF_ENABLE 1
320320
#define CONFIG_MBEDTLS_TLS_SERVER 1
321321
#define CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT 1
322+
#define CONFIG_SPIRAM_BOOT_INIT 1
322323
#define CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_SUPPORTED 1
323324
#define CONFIG_FREERTOS_ISR_STACKSIZE 1536
324325
#define CONFIG_SUPPORT_TERMIOS 1
325326
#define CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK 1
326327
#define CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_PSK 1
327328
#define CONFIG_OPENSSL_ASSERT_DO_NOTHING 1
328329
#define CONFIG_IDF_TARGET "esp32"
330+
#define CONFIG_SPIRAM_MEMTEST 1
329331
#define CONFIG_WL_SECTOR_SIZE_4096 1
330-
#define CONFIG_OPTIMIZATION_LEVEL_DEBUG 1
331332
#define CONFIG_FREERTOS_NO_AFFINITY 0x7FFFFFFF
332333
#define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 1
333334
#define CONFIG_HTTPD_ERR_RESP_NO_DELAY 1
@@ -336,7 +337,6 @@
336337
#define CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED 1
337338
#define CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED 1
338339
#define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA 1
339-
#define CONFIG_SPI_SLAVE_ISR_IN_IRAM 1
340340
#define CONFIG_SYSTEM_EVENT_QUEUE_SIZE 32
341341
#define CONFIG_BT_ACL_CONNECTIONS 4
342342
#define CONFIG_FATFS_MAX_LFN 255
@@ -365,14 +365,14 @@
365365
#define CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS 1
366366
#define CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF 0
367367
#define CONFIG_LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS 1
368+
#define CONFIG_OPTIMIZATION_LEVEL_RELEASE 1
368369
#define CONFIG_TASK_WDT_PANIC 1
369370
#define CONFIG_OV3660_SUPPORT 1
370371
#define CONFIG_UNITY_ENABLE_DOUBLE 1
371372
#define CONFIG_BLE_ADV_REPORT_DISCARD_THRSHOLD 20
372373
#define CONFIG_BLUEDROID_PINNED_TO_CORE 0
373374
#define CONFIG_BTDM_MODEM_SLEEP_MODE_ORIG 1
374375
#define CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_ERROR 1
375-
#define CONFIG_ESP32_WIFI_IRAM_OPT 1
376376
#define CONFIG_FATFS_API_ENCODING_ANSI_OEM 1
377-
#define CONFIG_ARDUINO_IDF_COMMIT "b6599abb1"
377+
#define CONFIG_ARDUINO_IDF_COMMIT "f4333c8e3"
378378
#define CONFIG_ARDUINO_IDF_BRANCH "release/v3.3"

tools/sdk/include/driver/driver/sigmadelta.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "soc/gpio_sd_reg.h"
2020
#include "driver/gpio.h"
2121

22-
#ifdef _cplusplus
22+
#ifdef __cplusplus
2323
extern "C" {
2424
#endif
2525

@@ -102,7 +102,7 @@ esp_err_t sigmadelta_set_prescale(sigmadelta_channel_t channel, uint8_t prescale
102102
*/
103103
esp_err_t sigmadelta_set_pin(sigmadelta_channel_t channel, gpio_num_t gpio_num);
104104

105-
#ifdef _cplusplus
105+
#ifdef __cplusplus
106106
}
107107
#endif
108108

tools/sdk/include/esp32/esp_wifi.h

+53-7
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,21 @@ esp_err_t esp_wifi_get_config(wifi_interface_t interface, wifi_config_t *conf);
800800
*/
801801
esp_err_t esp_wifi_ap_get_sta_list(wifi_sta_list_t *sta);
802802

803+
/**
804+
* @brief Get AID of STA connected with soft-AP
805+
*
806+
* @param mac STA's mac address
807+
* @param[out] aid Store the AID corresponding to STA mac
808+
*
809+
* @return
810+
* - ESP_OK: succeed
811+
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
812+
* - ESP_ERR_INVALID_ARG: invalid argument
813+
* - ESP_ERR_NOT_FOUND: Requested resource not found
814+
* - ESP_ERR_WIFI_MODE: WiFi mode is wrong
815+
* - ESP_ERR_WIFI_CONN: WiFi internal error, the station/soft-AP control block is invalid
816+
*/
817+
esp_err_t esp_wifi_ap_get_sta_aid(const uint8_t mac[6], uint16_t *aid);
803818

804819
/**
805820
* @brief Set the WiFi API configuration storage type
@@ -882,28 +897,59 @@ esp_err_t esp_wifi_set_vendor_ie(bool enable, wifi_vendor_ie_type_t type, wifi_v
882897
esp_err_t esp_wifi_set_vendor_ie_cb(esp_vendor_ie_cb_t cb, void *ctx);
883898

884899
/**
885-
* @brief Set maximum WiFi transmitting power
886-
*
887-
* @param power Maximum WiFi transmitting power, unit is 0.25dBm, range is [40, 82] corresponding to 10dBm - 20.5dBm here.
900+
* @brief Set maximum transmitting power after WiFi start.
901+
*
902+
* @attention 1. Maximum power before wifi startup is limited by PHY init data bin.
903+
* @attention 2. The value set by this API will be mapped to the max_tx_power of the structure wifi_country_t variable.
904+
* @attention 3. Mapping Table {Power, max_tx_power} = {{8, 2}, {20, 5}, {28, 7}, {34, 8}, {44, 11},
905+
* {52, 13}, {56, 14}, {60, 15}, {66, 16}, {72, 18}, {78, 20}}.
906+
* @attention 4. Param power unit is 0.25dBm, range is [8, 78] corresponding to 2dBm - 20dBm.
907+
* @attention 5. Relationship between set value and actual value. As follows:
908+
* +------------+--------------+
909+
* | set value | actual value |
910+
* +============+==============+
911+
* | [8, 19] | 8 |
912+
* +------------+--------------+
913+
* | [20, 27] | 20 |
914+
* +------------+--------------+
915+
* | [28, 33] | 28 |
916+
* +------------+--------------+
917+
* | [34, 43] | 34 |
918+
* +------------+--------------+
919+
* | [44, 51] | 44 |
920+
* +------------+--------------+
921+
* | [52, 55] | 52 |
922+
* +------------+--------------+
923+
* | [56, 59] | 56 |
924+
* +------------+--------------+
925+
* | [60, 65] | 60 |
926+
* +------------+--------------+
927+
* | [66, 71] | 66 |
928+
* +------------+--------------+
929+
* | [72, 77] | 72 |
930+
* +------------+--------------+
931+
* | 78 | 78 |
932+
* +------------+--------------+
933+
* @param power Maximum WiFi transmitting power.
888934
*
889935
* @return
890936
* - ESP_OK: succeed
891937
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
892938
* - ESP_ERR_WIFI_NOT_START: WiFi is not started by esp_wifi_start
893-
* - ESP_ERR_WIFI_NOT_ARG: invalid argument
939+
* - ESP_ERR_WIFI_ARG: invalid argument, e.g. parameter is out of range
894940
*/
895941
esp_err_t esp_wifi_set_max_tx_power(int8_t power);
896942

897943
/**
898-
* @brief Get maximum WiFi transmiting power
944+
* @brief Get maximum transmiting power after WiFi start
899945
*
900-
* @param power Maximum WiFi transmitting power, unit is 0.25dBm.
946+
* @param power Maximum WiFi transmitting power, unit is 0.25dBm.
901947
*
902948
* @return
903949
* - ESP_OK: succeed
904950
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
905951
* - ESP_ERR_WIFI_NOT_START: WiFi is not started by esp_wifi_start
906-
* - ESP_ERR_INVALID_ARG: invalid argument
952+
* - ESP_ERR_WIFI_ARG: invalid argument
907953
*/
908954
esp_err_t esp_wifi_get_max_tx_power(int8_t *power);
909955

tools/sdk/include/esp32/esp_wifi_types.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ typedef enum {
9393
WIFI_REASON_ASSOC_FAIL = 203,
9494
WIFI_REASON_HANDSHAKE_TIMEOUT = 204,
9595
WIFI_REASON_CONNECTION_FAIL = 205,
96+
WIFI_REASON_AUTH_CHANGED = 206,
9697
} wifi_err_reason_t;
9798

9899
typedef enum {
@@ -114,7 +115,7 @@ typedef struct {
114115
} wifi_active_scan_time_t;
115116

116117
/** @brief Aggregate of active & passive scan time per channel */
117-
typedef union {
118+
typedef struct {
118119
wifi_active_scan_time_t active; /**< active scan time per channel, units: millisecond. */
119120
uint32_t passive; /**< passive scan time per channel, units: millisecond, values above 1500ms may
120121
cause station to disconnect from AP and are not recommended. */

tools/sdk/include/esp_websocket_client/esp_websocket_client.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ typedef struct {
8585
char *subprotocol; /*!< Websocket subprotocol */
8686
char *user_agent; /*!< Websocket user-agent */
8787
char *headers; /*!< Websocket additional headers */
88+
int pingpong_timeout_sec; /*!< Period before connection is aborted due to no PONGs received, disabled if value is 0 */
8889
} esp_websocket_client_config_t;
8990

9091
/**
@@ -185,7 +186,7 @@ int esp_websocket_client_send_bin(esp_websocket_client_handle_t client, const ch
185186
int esp_websocket_client_send_text(esp_websocket_client_handle_t client, const char *data, int len, TickType_t timeout);
186187

187188
/**
188-
* @brief Check the WebSocket connection status
189+
* @brief Check the WebSocket client connection state
189190
*
190191
* @param[in] client The client handle
191192
*

tools/sdk/include/lwip/lwipopts.h

+5
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,11 @@
545545
*/
546546
#define LWIP_TCP_KEEPALIVE 1
547547

548+
/**
549+
* LWIP_SO_LINGER==1: Enable SO_LINGER processing.
550+
*/
551+
#define LWIP_SO_LINGER CONFIG_LWIP_SO_LINGER
552+
548553
/**
549554
* LWIP_SO_RCVBUF==1: Enable SO_RCVBUF processing.
550555
*/

tools/sdk/include/mqtt/mqtt_client.h

+25-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ typedef struct esp_mqtt_client *esp_mqtt_client_handle_t;
3737
*
3838
*/
3939
typedef enum {
40+
MQTT_EVENT_ANY = -1,
4041
MQTT_EVENT_ERROR = 0, /*!< on error event, additional context: connection return code, error handle from esp_tls (if supported) */
4142
MQTT_EVENT_CONNECTED, /*!< connected event, additional context: session_present flag */
4243
MQTT_EVENT_DISCONNECTED, /*!< disconnected event */
@@ -88,6 +89,15 @@ typedef enum {
8889
MQTT_TRANSPORT_OVER_WSS /*!< MQTT over Websocket Secure, using scheme: ``wss`` */
8990
} esp_mqtt_transport_t;
9091

92+
/**
93+
* MQTT protocol version used for connection
94+
*/
95+
typedef enum {
96+
MQTT_PROTOCOL_UNDEFINED = 0,
97+
MQTT_PROTOCOL_V_3_1,
98+
MQTT_PROTOCOL_V_3_1_1
99+
} esp_mqtt_protocol_ver_t;
100+
91101
/**
92102
* @brief MQTT error code structure to be passed as a contextual information into ERROR event
93103
*
@@ -155,7 +165,7 @@ typedef struct {
155165
void *user_context; /*!< pass user context to this option, then can receive that context in ``event->user_context`` */
156166
int task_prio; /*!< MQTT task priority, default is 5, can be changed in ``make menuconfig`` */
157167
int task_stack; /*!< MQTT task stack size, default is 6144 bytes, can be changed in ``make menuconfig`` */
158-
int buffer_size; /*!< size of MQTT send/receive buffer, default is 1024 */
168+
int buffer_size; /*!< size of MQTT send/receive buffer, default is 1024 (only receive buffer size if ``out_buffer_size`` defined) */
159169
const char *cert_pem; /*!< Pointer to certificate data in PEM or DER format for server verify (with SSL), default is NULL, not required to verify the server. PEM-format must have a terminating NULL-character. DER-format requires the length to be passed in cert_len. */
160170
size_t cert_len; /*!< Length of the buffer pointed to by cert_pem. May be 0 for null-terminated pem */
161171
const char *client_cert_pem; /*!< Pointer to certificate data in PEM or DER format for SSL mutual authentication, default is NULL, not required if mutual authentication is not needed. If it is not NULL, also `client_key_pem` has to be provided. PEM-format must have a terminating NULL-character. DER-format requires the length to be passed in client_cert_len. */
@@ -170,6 +180,8 @@ typedef struct {
170180
const char **alpn_protos; /*!< NULL-terminated list of supported application protocols to be used for ALPN */
171181
const char *clientkey_password; /*!< Client key decryption password string */
172182
int clientkey_password_len; /*!< String length of the password pointed to by clientkey_password */
183+
esp_mqtt_protocol_ver_t protocol_ver; /*!< MQTT protocol version used for connection, defaults to value from menuconfig*/
184+
int out_buffer_size; /*!< size of MQTT output buffer. If not defined, both output and input buffers have the same size defined as ``buffer_size`` */
173185
} esp_mqtt_client_config_t;
174186

175187
/**
@@ -213,6 +225,15 @@ esp_err_t esp_mqtt_client_start(esp_mqtt_client_handle_t client);
213225
*/
214226
esp_err_t esp_mqtt_client_reconnect(esp_mqtt_client_handle_t client);
215227

228+
/**
229+
* @brief This api is typically used to force disconnection from the broker
230+
*
231+
* @param client mqtt client handle
232+
*
233+
* @return ESP_OK on success
234+
*/
235+
esp_err_t esp_mqtt_client_disconnect(esp_mqtt_client_handle_t client);
236+
216237
/**
217238
* @brief Stops mqtt client tasks
218239
*
@@ -261,6 +282,9 @@ int esp_mqtt_client_unsubscribe(esp_mqtt_client_handle_t client, const char *top
261282
* @brief Client to send a publish message to the broker
262283
*
263284
* Notes:
285+
* - This API might block for several seconds, either due to network timeout (10s)
286+
* or if publishing payloads longer than internal buffer (due to message
287+
* fragmentation)
264288
* - Client doesn't have to be connected to send publish message
265289
* (although it would drop all qos=0 messages, qos>1 messages would be enqueued)
266290
* - It is thread safe, please refer to `esp_mqtt_client_subscribe` for details

tools/sdk/include/mqtt/mqtt_config.h

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88

99
#include "sdkconfig.h"
1010

11-
#define MQTT_PROTOCOL_311 CONFIG_MQTT_PROTOCOL_311
11+
#ifdef CONFIG_MQTT_PROTOCOL_311
12+
#define MQTT_PROTOCOL_311
13+
#endif
14+
1215
#define MQTT_RECON_DEFAULT_MS (10*1000)
1316
#define MQTT_POLL_READ_TIMEOUT_MS (1000)
1417

@@ -24,7 +27,12 @@
2427
#define MQTT_MAX_PASSWORD_LEN 65
2528
#define MQTT_MAX_LWT_TOPIC 32
2629
#define MQTT_MAX_LWT_MSG 128
30+
31+
#if CONFIG_MQTT_TASK_PRIORITY
32+
#define MQTT_TASK_PRIORITY CONFIG_MQTT_TASK_PRIORITY
33+
#else
2734
#define MQTT_TASK_PRIORITY 5
35+
#endif
2836

2937
#if CONFIG_MQTT_TASK_STACK_SIZE
3038
#define MQTT_TASK_STACK CONFIG_MQTT_TASK_STACK_SIZE

tools/sdk/include/tcp_transport/esp_transport_ws.h

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ typedef enum ws_transport_opcodes {
2020
WS_TRANSPORT_OPCODES_CLOSE = 0x08,
2121
WS_TRANSPORT_OPCODES_PING = 0x09,
2222
WS_TRANSPORT_OPCODES_PONG = 0x0a,
23+
WS_TRANSPORT_OPCODES_FIN = 0x80,
2324
} ws_transport_opcodes_t;
2425

2526
/**

0 commit comments

Comments
 (0)