text
stringlengths
1
9.98k
__index_level_0__
int64
0
4.17k
/* */ #include #include #ifdef __cplusplus extern "C" { #endif //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER 1 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER #define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_CALIB_VER /** */ int esp_efuse_rtc_cali...
3,801
/* */ #ifdef __cplusplus extern "C" { #endif #include "esp_efuse.h" // md5_digest_table 439495cbc35dc68d7566e05ac3dbb248 // This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_table.csv file // then run `efus...
3,802
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,803
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif // TODO: [ESP32C5] IDF-8674 /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, ...
3,804
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,804
/* */ #include #include #ifdef __cplusplus extern "C" { #endif // TODO: [ESP32C5] IDF-8674, IDF-8702 //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER1 1 #define ESP_EFUSE_ADC_CALIB_VER2 2 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER1 #define ESP_E...
3,805
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,807
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2....
3,808
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,808
/* */ #include #include #ifdef __cplusplus extern "C" { #endif //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER 1 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER #define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_CALIB_VER /** */ int esp_efuse_rtc_cali...
3,809
/* */ #pragma once #include #include #include "esp_err.h" #include "esp_log.h" #include "soc/soc_caps.h" #include "sdkconfig.h" #include "esp_efuse_chip.h" #ifdef __cplusplus extern "C" { #endif #define ESP_ERR_EFUSE 0x1600 /*!= 300 || !CONFIG_IDF_TARGET_ESP32 /*...
3,811
/* */ #ifdef __cplusplus extern "C" { #endif // md5_digest_table df1ecf346aec29cf593e2f81dc4cd5e4 // This file was generated from the file esp_efuse_test_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_test_table.csv file // then run `efuse_common_tabl...
3,812
/* */ #ifdef __cplusplus extern "C" { #endif // md5_digest_table 7d587827a6f6134241dce7d3713b3edc // This file was generated automatically from the file esp_efuse_test_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_test_table.csv file then build syste...
3,813
/* */ #ifdef __cplusplus extern "C" { #endif // md5_digest_table 7d587827a6f6134241dce7d3713b3edc // This file was generated from the file esp_efuse_test_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_test_table.csv file // then run `efuse_common_tabl...
3,814
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define ESP_EFUSE_LEN_OF_3_4_SCHEME_BLOCK_IN_BYTES (24) #define ESP_EFUSE_LEN_OF_REPEAT_BLOCK_IN_BYTES (16) #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK3 #define ESP...
3,815
/* */ #pragma once #include #include #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse block. Reserved. */ EFUSE_BLK1 = 1, /**< Number of eFuse block. Used for Flash Encryption. If not using that Flash Encryption feature, they ca...
3,816
*/ EFUSE_BLK_SECURE_BOOT = 2, /**< Number of eFuse block. Used for Secure Boot. If not using that Secure Boot feature, they can be used for another purpose. */ EFUSE_BLK3 = 3, /**< Number of eFuse block. Uses for the purpose of the user. */ EFUSE_BLK_KEY2 = 3, /**< Number of eFuse ...
3,816
/* */ #ifdef __cplusplus extern "C" { #endif #include "esp_efuse.h" // md5_digest_table 2e197b7b14eec62fa5bdf94c6d71e87a // This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY. // If you want to change some fields, you need to change esp_efuse_table.csv file // then run `efus...
3,817
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,818
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2....
3,819
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,819
/* */ #include #include #ifdef __cplusplus extern "C" { #endif //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER1 1 #define ESP_EFUSE_ADC_CALIB_VER2 2 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER1 #define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_C...
3,820
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,822
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2....
3,823
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,823
/* */ #include #include #ifdef __cplusplus extern "C" { #endif //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER1 1 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER1 #define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_CALIB_VER1 #define VER2IDX(ver) ((ver...
3,824
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,826
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,827
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2....
3,828
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,828
/* */ #include #include #ifdef __cplusplus extern "C" { #endif //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER 1 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER #define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_CALIB_VER /** */ int esp_efuse_rtc_cali...
3,829
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,831
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2....
3,832
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,832
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #include #include #include "esp_err.h" #include "sdkconfig.h" //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER 2 #define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER #define ESP_EFUSE_ADC_CALIB_VER_MA...
3,833
/* */ #include "esp_types.h" #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /** */ esp_err_t esp_efuse_rtc_calib_get_tsens_val(float* tsens_cal); #ifdef __cplusplus } #endif
3,834
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif #define COUNT_EFUSE_REG_PER_BLOCK 8 /* The number of registers per block. */ #define ESP_EFUSE_SECURE_VERSION_NUM_BLOCK EFUSE_BLK0 #define ESP_EFUSE_FIELD_CORRESPONDS_CODING_SCHEME(scheme, max_num_bit) #ifdef __cplusplus } #endif
3,836
/* */ #pragma once #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { EFUSE_BLK0 = 0, /**< Number of eFuse BLOCK0. REPEAT_DATA */ EFUSE_BLK1 = 1, /**< Number of eFuse BLOCK1. MAC_SPI_8M_SYS */ EFUSE_BLK2 = 2, /**< Number of eFuse BLOCK2....
3,837
KEY2 */ EFUSE_BLK7 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK_KEY3 = 7, /**< Number of eFuse BLOCK7. KEY3 */ EFUSE_BLK8 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUSE_BLK_KEY4 = 8, /**< Number of eFuse BLOCK8. KEY4 */ EFUS...
3,837
/* */ #include #include #ifdef __cplusplus extern "C" { #endif //This is the ADC calibration value version burnt in efuse #define ESP_EFUSE_ADC_CALIB_VER 1 /** */ int esp_efuse_rtc_calib_get_ver(void); /** */ uint32_t esp_efuse_rtc_calib_get_init_code(int version, uint32_t adc_unit, int atten); /** */ e...
3,838
/* */ #ifndef NVS_INTERNAL_H #define NVS_INTERNAL_H #if CONFIG_NVS_ASSERT_ERROR_CHECK #define NVS_ASSERT_OR_RETURN(condition, retcode) assert(condition); #else #define NVS_ASSERT_OR_RETURN(condition, retcode) \ if (!(condition)) { \ return retcode; \ }...
3,840
#define CONFIG_NVS_ENCRYPTION 1 #define CONFIG_LOG_MAXIMUM_LEVEL 3 #define CONFIG_LOG_TIMESTAMP_SOURCE_RTOS 1 #define CONFIG_IDF_TARGET_LINUX 1 #define CONFIG_NVS_ASSERT_ERROR_CHECK 1
3,841
/* */ #ifndef spi_flash_emulation_h #define spi_flash_emulation_h #include #include #include #include #include "spi_flash_mmap.h" #include "catch.hpp" class SpiFlashEmulator; void spi_flash_emulator_set(SpiFlashEmulator*); class SpiFlashEmulator { public: SpiFlashEmulator(size_t sectorCount) : mUpperSector...
3,842
= 0 || size % 4 != 0 || srcAddr + size > mData.size() * 4) { return false; } copy(begin(mData) + srcAddr / 4, begin(mData) + (srcAddr + size) / 4, dest); ++mReadOps; mReadBytes += size; mTotalTime += getReadOpTime(static_cast(size)); ...
3,842
data()); } void load(const char* filename) { FILE* f = fopen(filename, "rb"); fseek(f, 0, SEEK_END); off_t size = ftell(f); assert(size % SPI_FLASH_SEC_SIZE == 0); mData.resize(size / sizeof(uint32_t)); fseek(f, 0, SEEK_SET); auto s = fread(mData.data...
3,842
/* */ #ifndef ESP_NVS_H #define ESP_NVS_H #include #include #include #include "esp_attr.h" #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /** */ typedef uint32_t nvs_handle_t; /* */ typedef nvs_handle_t nvs_handle IDF_DEPRECATED("Replace with nvs_handle_t"); #define ESP_ERR_NVS_BASE ...
3,843
/* */ #ifndef nvs_flash_h #define nvs_flash_h #ifdef __cplusplus extern "C" { #endif #include "nvs.h" #include "esp_partition.h" #define NVS_KEY_SIZE 32 // AES-256 /** */ typedef struct { uint8_t eky[NVS_KEY_SIZE]; /*!< XTS encryption and decryption key*/ uint8_t tky[NVS_KEY_SIZE]; /*!< XTS tweak key *...
3,844
/* */ #ifndef intrusive_list_h #define intrusive_list_h #include #include #include template class intrusive_list; template class intrusive_list_node { protected: friend class intrusive_list; T* mPrev = nullptr; T* mNext = nullptr; }; template class intrusive_list { typedef intrusive_list_node...
3,845
mPos; } bool operator!=(const iterator& other) const { return !(*this == other); } T& operator*() { return *mPos; } const T& operator*() const { return *mPos; } T* operator->() { ...
3,845
prev) { push_front(node); } else { prev->mNext = node; next->mPrev = node; node->mNext = next; node->mPrev = &(*prev); ++mSize; } } } void erase(iterator it) { auto prev =...
3,845
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
3,846
/* */ #ifndef __ESP_MESH_INTERNAL_H__ #define __ESP_MESH_INTERNAL_H__ #include "esp_err.h" #include "esp_mesh.h" #include "esp_wifi.h" #include "esp_wifi_types.h" #include "esp_private/wifi.h" #include "esp_wifi_crypto_types.h" #ifdef __cplusplus extern "C" { #endif / / / / /** */ typedef struct { int scan...
3,847
*/ int cnx_rssi; /**< RSSI threshold for keeping a good connection with parent. If set a value greater than -120 dBm, a timer will be armed to monitor parent RSSI at a period time of duration_ms. */ int select_rssi; /**< RSSI threshold for parent selection. It should be a value...
3,847
Also used to determine whether the new parent and the current parent are in the same RSSI range */ } mesh_rssi_threshold_t; /** */ typedef struct { /**< mesh networking IE head */ uint8_t eid; /**< element ID, vendor specific, 221 */ uint8_t len; /**< element...
3,847
e. the voted addesss before connection, root node will update this with self address */ int8_t rc_rssi; /**< the router RSSI of the root candidate */ uint8_t vote_addr[6]; /**< the voted address after connection */ int8_t vote_rssi; /**< the router RSSI of the voted address */ uint8_t...
3,847
/* */ #ifndef __ESP_WIFI_TYPES_H__ #define __ESP_WIFI_TYPES_H__ #include #include #include "sdkconfig.h" #include "esp_event_base.h" #include "esp_interface.h" #ifdef __cplusplus extern "C" { #endif typedef enum { WIFI_MODE_NULL = 0, /**= 8), it will be defaulted to WPA2 and device won't connect to depreca...
3,848
Device will always connect in PMF mode if other device also advertizes PMF capability. */ bool required; /**< Advertizes that Protected Management Frame is required. Device will not associate to non-PMF capable devices. */ } wifi_pmf_config_t; /** Configuration for SAE PWE derivation */ typedef enum { ...
3,848
*/ uint8_t channel; /**< Channel of soft-AP */ wifi_auth_mode_t authmode; /**< Auth mode of soft-AP. Do not support AUTH_WEP, AUTH_WAPI_PSK and AUTH_OWE in soft-AP mode. When the auth mode is set to WPA2_PSK, WPA2_WPA3_PSK or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_C...
3,848
*/ bool ftm_responder; /**< Enable FTM Responder mode */ wifi_pmf_config_t pmf_cfg; /**< Configuration for Protected Management Frame */ wifi_sae_pwe_method_t sae_pwe_h2e; /**< Configuration for SAE PWE derivation method */ } wifi_ap_config_t; #define SAE_H2E_IDENTIFIER_LEN 32 /** @brief STA con...
3,848
If the channel of AP is unknown, set it to 0.*/ uint16_t listen_interval; /**< Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. Units: AP beacon intervals. Defaults to 3 if set to 0. */ wifi_sort_method_t sort_method; /**< sort the connect AP in the l...
3,848
scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */ uint32_t he_dcm_set:1; /**< Whether DCM max.constella...
3,848
*/ uint32_t he_trig_su_bmforming_feedback_disabled:1; /**< Whether to disable support the transmission of SU feedback in an HE TB sounding sequence. */ uint32_t he_trig_mu_bmforming_partial_feedback_disabled:1; /**< Whether to disable support the transmission of partial-bandwidth MU feedback in a...
3,848
typedef union { wifi_ap_config_t ap; /**< configuration of AP */ wifi_sta_config_t sta; /**< configuration of STA */ wifi_nan_config_t nan; /**< configuration of NAN */ } wifi_config_t; /** @brief Description of STA associated with AP */ typedef struct { uint8_t mac[6]; /**< mac address */ ...
3,848
Minimum 4. */ uint8_t vendor_oui[3]; /**< Vendor identifier (OUI). */ uint8_t vendor_oui_type; /**< Vendor-specific OUI type. */ uint8_t payload[0]; /**< Payload. Length is equal to value in 'length' field, minus 4. */ } vendor_ie_data_t; /** typedef enum { WIFI_PKT_MGMT, /**< Management frame...
3,848
*/ typedef struct { uint32_t filter_mask; /**< OR of one or more filter values WIFI_PROMIS_FILTER_* */ } wifi_promiscuous_filter_t; #define WIFI_EVENT_MASK_ALL (0xFFFFFFFF) /**< mask all WiFi events */ #define WIFI_EVENT_MASK_NONE (0) /**< mask none of the WiFi events */ ...
3,848
of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */ uint16_t burst_period; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */ } wifi_ftm_initiator_cfg_t; #define ESP_WIFI_NAN_MAX_SVC_SUPPORTED 2 #define ESP_WIFI_...
3,848
5 Mbps with long preamble */ WIFI_PHY_RATE_11M_L = 0x03, /**< 11 Mbps with long preamble */ WIFI_PHY_RATE_2M_S = 0x05, /**< 2 Mbps with short preamble */ WIFI_PHY_RATE_5M_S = 0x06, /**< 5.5 Mbps with short preamble */ WIFI_PHY_RATE_11M_S = 0x07, /**< 11 Mbps with short preamble */ ...
3,848
1 Mbps (1600ns) | WIFI_PHY_RATE_MCS1_LGI | 13 Mbps (800ns) | 27 Mbps (800ns) | 16.3 Mbps (1600ns) | WIFI_PHY_RATE_MCS2_LGI | 19.5 Mbps (800ns) | 40.5 Mbps (800ns) | 24.4 Mbps (1600ns) | WIFI_PHY_RATE_MCS3_LGI | 26 Mbps (800ns) | 54 Mbps ...
3,848
CONFIG_SOC_WIFI_SUPPORT WIFI_PHY_RATE_MCS8_LGI, /**< MCS8 with long GI */ WIFI_PHY_RATE_MCS9_LGI, /**< MCS9 with long GI */ #endif /* MCS RATE | HT20 | HT40 | HE20 | WIFI_PHY_RATE_MCS0_SGI | ...
3,848
/* */ #ifndef __ESP_WIFI_CRYPTO_TYPES_H__ #define __ESP_WIFI_CRYPTO_TYPES_H__ /* This is an internal API header for configuring the implementation used for WiFi cryptographic operations. During normal operation, you don't need to use any of these types or functions in this header. See esp_wifi.h & esp_wif...
3,849
11i, 8.5.1.1) callback function */ esp_sha1_vector_t sha1_vector; /**< SHA-1 hash callback function for data vector */ esp_pbkdf2_sha1_t pbkdf2_sha1; /**< SHA1-based key derivation function (PBKDF2) callback function for IEEE 802.11i */ esp_rc4_skip_t rc4_skip; ...
3,849
/* */ #ifndef __ESP_NOW_H__ #define __ESP_NOW_H__ #include #include "esp_err.h" #include "esp_wifi_types.h" #ifdef __cplusplus extern "C" { #endif /** \defgroup WiFi_APIs WiFi Related APIs */ /** @addtogroup WiFi_APIs */ /** \defgroup ESPNOW_APIs ESPNOW APIs /** @addtogroup ESPNOW_APIs */ #define ESP_E...
3,850
< ESPNOW peer has existed */ #define ESP_ERR_ESPNOW_IF (ESP_ERR_ESPNOW_BASE + 8) /*!< Interface error */ #define ESP_ERR_ESPNOW_CHAN (ESP_ERR_ESPNOW_BASE + 9) /*!< Channel error */ #define ESP_NOW_ETH_ALEN 6 /*!< Length of ESPNOW peer MAC address */ #define ESP_NOW_KEY_LEN ...
3,850
If the value is 0, use the current channel which station or softap is on. Otherwise, it must be set as the channel that station or softap is on. */ wifi_interface_t ifidx; /**< Wi-Fi interface that pee...
3,850
"))); /** */ esp_err_t esp_now_set_peer_rate_config(const uint8_t *peer_addr, esp_now_rate_config_t *config); /** */ esp_err_t esp_now_get_peer(const uint8_t *peer_addr, esp_now_peer_info_t *peer); /** */ esp_err_t esp_now_fetch_peer(bool from_head, esp_now_peer_info_t *peer); /** */ bool esp_now_is_peer_ex...
3,850
/* */ #pragma once #include #include #include "esp_err.h" #include "esp_wifi_he_types.h" #ifdef __cplusplus extern "C" { #endif /** */ esp_err_t esp_wifi_sta_itwt_setup(wifi_twt_setup_config_t *setup_config); /** */ esp_err_t esp_wifi_sta_itwt_teardown(int flow_id); /** */ esp_err_t esp_wifi_sta_itwt_su...
3,851
/* */ #pragma once #include "esp_netif_types.h" #include "esp_wifi_types.h" #ifdef __cplusplus extern "C" { #endif #ifndef ESP_WIFI_MAX_CONN_NUM // Number of maximum wifi connection may be undefined if we have no native wifi support on this target // and at the same time there's no native interface injected by ...
3,852
/* */ /* */ #ifndef __ESP_MESH_H__ #define __ESP_MESH_H__ #include "esp_err.h" #include "esp_wifi.h" #include "esp_wifi_types.h" #include "esp_mesh_internal.h" #include "lwip/ip_addr.h" #ifdef __cplusplus extern "C" { #endif / / #define MESH_ROOT_LAYER (1) /**< root layer value */ #defin...
3,853
After the device joins the network, a network duty cycle will be provided by the network */ #define MESH_PS_DEVICE_DUTY_DEMAND (0x04) /**< requests to join a network PS and specifies a demanded device duty cycle */ #define MESH_PS_NETWORK_DUTY_MAST...
3,853
This state is a manual event that needs to be triggered with esp_mesh_post_toDS_state(). */ MESH_EVENT_VOTE_STARTED, /**< the process of voting a new root is started either by children or by the root */ MESH_EVENT_VOTE_STOPPED, /**< the process...
3,853
if self organized is enabled, this device will find a new parent by itself, users could ignore this event. */ MESH_EVENT_ROOT_FIXED, /**< when devices join a network, if the setting of Fixed Root for one device is different ...
3,853
*/ MESH_EVENT_FIND_NETWORK, /**< when the channel field in mesh configuration is set to zero, mesh stack will perform a full channel scan to find a mesh network that can join, and return the channel value after fin...
3,853
Has the ability to access external IP network */ MESH_NODE, /**< intermediate device. Has the ability to forward packets over the mesh network */ MESH_LEAF, /**< has no forwarding ability */ MESH_STA, /**< connect to router with a standlone Wi-Fi station mode, no network expansion capability */ }...
3,853
This state indicates right now whether the root is capable of sending packets out. If not, devices had better to wait until this state changes to be MESH_TODS_REACHABLE. */ mesh_event_vot...
3,853
*/ uint8_t password[64]; /**< password */ bool allow_router_switch; /**< if the BSSID is specified and this value is also set, when the router of this specified BSSID fails to be found after "fail" (mesh_attempts_t) times, the whole network is allowed to switc...
3,853
The default value is false. */ mesh_addr_t mesh_id; /**< mesh network identification */ mesh_router_t router; /**< router configuration */ mesh_ap_cfg_t mesh_ap; /**< mesh softAP configuration */ const mesh_crypto_funcs_t *crypto_funcs; ...
3,853
crypto_funcs = &g_wifi_default_mesh_crypto_funcs, \ } / / /** */ esp_err_t esp_mesh_init(void); /** */ esp_err_t esp_mesh_deinit(void); /** */ esp_err_t esp_mesh_start(void); /** */ esp_err_t esp_mesh_stop(void); /** */ esp_err_t esp_mesh_send(const mesh_addr_t *to, const mesh_data_t *data, ...
3,853
/* */ #pragma once #include "esp_wifi_types_generic.h" #if __has_include("esp_wifi_types_native.h") #include "esp_wifi_types_native.h" #else #ifdef __cplusplus extern "C" { #endif /* */ typedef struct wifi_csi_config_t wifi_csi_config_t; typedef struct wifi_pkt_rx_ctrl_t wifi_pkt_rx_ctrl_t; #ifdef __cplusplus } #...
3,854
/* */ /* Notes about WiFi Programming #ifndef __ESP_WIFI_H__ #define __ESP_WIFI_H__ #include #include #include "esp_err.h" #include "esp_wifi_types.h" #include "esp_event.h" #include "esp_wifi_crypto_types.h" #include "esp_wifi_default.h" #ifdef __cplusplus extern "C" { #endif #define ESP_ERR_WIF...
3,855
/* */ #ifndef __ESP_SMARTCONFIG_H__ #define __ESP_SMARTCONFIG_H__ #include #include #include "esp_err.h" #include "esp_event_base.h" #ifdef __cplusplus extern "C" { #endif typedef enum { SC_TYPE_ESPTOUCH = 0, /**< protocol: ESPTouch */ SC_TYPE_AIRKISS, /**< protocol: AirKiss */ SC_TY...
3,856
Null terminated string. */ uint8_t password[64]; /**< Password of the AP. Null terminated string. */ bool bssid_set; /**< whether set MAC address of target AP or not. */ uint8_t bssid[6]; /**< MAC address of target AP. */ smartconfig_type_t type; /**< Type of smartconfig(...
3,856
/* */ #pragma once #include #include #include "esp_err.h" #include "esp_wifi_types.h" #include "esp_netif_types.h" #ifdef __cplusplus extern "C" { #endif /** */ #define MAX_WIFI_IFS WIFI_IF_MAX /** */ typedef struct wifi_netif_driver* wifi_netif_driver_t; /** */ wifi_netif_driver_t esp_wifi_create_if_driver...
3,857
/* */ #ifndef SMARTCONFIG_ACK_H #define SMARTCONFIG_ACK_H #include "esp_smartconfig.h" #include "esp_err.h" #include #ifdef __cplusplus extern "C" { #endif /** */ esp_err_t sc_send_ack_start(smartconfig_type_t type, uint8_t token, uint8_t *cellphone_ip); /** */ void sc_send_ack_stop(void); #ifdef __cplusplu...
3,858
/* */ #ifndef _ESP_WIFI_DEFAULT_H #define _ESP_WIFI_DEFAULT_H #include "esp_netif.h" #include "esp_wifi_types.h" #ifdef __cplusplus extern "C" { #endif /** */ esp_err_t esp_netif_attach_wifi_station(esp_netif_t *esp_netif); /** */ esp_err_t esp_netif_attach_wifi_ap(esp_netif_t *esp_netif); /** */ esp_err_t es...
3,859
/* */ #pragma once #include #include #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif #define FLOW_ID_ALL (8) #define BSS_MAX_COLOR (63) /** */ typedef enum { ESP_WIFI_ACI_VO, /**< voice traffic */ ESP_WIFI_ACI_VI, /**< video traffic */ ESP_WIFI_ACI...
3,860
11 ACK frame, default disabled */ uint32_t reserved : 19; /**< reserved */ } wifi_csi_acquire_config_t; /** */ typedef struct { uint32_t id : 2; /**< HE Variant ID = 3 */ uint32_t uph_id : 4; /**< UPH control ID: 4 */ uin...
3,860
*/ uint32_t ul_mu_disable : 1; /**< disable UL MU operations */ uint32_t tx_nsts : 3; /**< the max. number of spatial streams for the transmission, only accept 0. */ uint32_t er_su_disable : 1; /**< disable the reception of 242-tone...
3,860
flow_id could be specified to a value in the range of [0, 7], but it might be changed by AP in the response. When change TWT parameters of the existing TWT agreement, flow_id should be an existing one. The value range is [0, 7]. ...
3,860
*/ uint16_t timeout_time_ms; /**< Timeout times of receiving setup action frame response, default 5s*/ } wifi_twt_setup_config_t; /** */ typedef enum { HE_SU_ERSU_1_LTF_0_8_US_GI, /**< 1 LTF and 0.8 us GI */ HE_SU_ERSU_2_LTF_0_8_US_GI, /**< 2 LTF and 0.8 us GI */ HE_SU_ERSU_2_LTF_1_6...
3,860
otherwise it's Rate field of L-SIG */ unsigned : 1; /**< reserved */ unsigned : 2; /**< reserved */ unsigned : 12; /**< reserved */ unsigned rxmatch0 : 1; /**< indicate whether the rece...
3,860