mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Update SDK to 2.0.0
- Update SDK header files and libraries to SDK 2.0.0 plus 2.0.0_16_08_09 patch - Remove mem_manager.o from libmain.a (replaced with umm_malloc) - Disable switch from DIO to QIO mode for certain flash chips (saves IRAM space) - Add user_rf_cal_sector_set; it points to rf_init_data sector. - Change the way rf_init_data is spoofed. This is now done by wrapping spi_flash_read and returning the data we need during startup sequence. - Place lwip library into flash using linker script instead of section attributes (saves IRAM space)
This commit is contained in:
committed by
Ivan Grokhotkov
parent
61787b23af
commit
ae13809c81
38
tools/sdk/include/wpa2_enterprise.h
Normal file
38
tools/sdk/include/wpa2_enterprise.h
Normal file
@ -0,0 +1,38 @@
|
||||
#ifndef __WPA2_ENTERPRISE_H__
|
||||
#define __WPA2_ENTERPRISE_H__
|
||||
|
||||
typedef long os_time_t;
|
||||
|
||||
struct os_time {
|
||||
os_time_t sec;
|
||||
os_time_t usec;
|
||||
};
|
||||
|
||||
typedef int (* get_time_func_t)(struct os_time *t);
|
||||
|
||||
int wifi_station_set_wpa2_enterprise_auth(int enable);
|
||||
|
||||
int wifi_station_set_enterprise_cert_key(u8 *client_cert, int client_cert_len,
|
||||
u8 *private_key, int private_key_len,
|
||||
u8 *private_key_passwd, int private_key_passwd_len);
|
||||
void wifi_station_clear_enterprise_cert_key(void);
|
||||
|
||||
int wifi_station_set_enterprise_ca_cert(u8 *ca_cert, int ca_cert_len);
|
||||
void wifi_station_clear_enterprise_ca_cert(void);
|
||||
|
||||
int wifi_station_set_enterprise_username(u8 *username, int len);
|
||||
void wifi_station_clear_enterprise_username(void);
|
||||
|
||||
int wifi_station_set_enterprise_password(u8 *password, int len);
|
||||
void wifi_station_clear_enterprise_password(void);
|
||||
|
||||
int wifi_station_set_enterprise_new_password(u8 *new_password, int len);
|
||||
void wifi_station_clear_enterprise_new_password(void);
|
||||
|
||||
void wifi_station_set_enterprise_disable_time_check(bool disable);
|
||||
bool wifi_station_get_enterprise_disable_time_check(void);
|
||||
|
||||
void wpa2_enterprise_set_user_get_time(get_time_func_t cb);
|
||||
|
||||
|
||||
#endif /* __WPA2_ENTERPRISE_H__ */
|
Reference in New Issue
Block a user