Add OS adapter to WiFi driver

1.add os adapter to wifi driver
2.type of encrypt funcs not correct
This commit is contained in:
XiaXiaotian
2017-10-19 17:42:55 +08:00
committed by jack
parent 64b56beff5
commit b32b93a607
18 changed files with 1258 additions and 160 deletions

View File

@@ -35,6 +35,7 @@
#include "esp_err.h"
#include "esp_wifi_types.h"
#include "esp_event.h"
#include "esp_wifi.h"
#ifdef __cplusplus
extern "C" {
@@ -126,6 +127,17 @@ esp_err_t esp_wifi_internal_reg_rxcb(wifi_interface_t ifx, wifi_rxcb_t fn);
*/
esp_err_t esp_wifi_internal_set_sta_ip(void);
/**
* @brief Check the MD5 values of the OS adapter header files in IDF and WiFi library
*
* @attention 1. It is used for internal CI version check
*
* @return
* - ESP_OK : succeed
* - ESP_WIFI_INVALID_ARG : MD5 check fail
*/
esp_err_t esp_wifi_internal_osi_funcs_md5_check(const char *md5);
/**
* @brief Allocate a chunk of memory for WiFi driver
*