2015-04-30 04:00:03 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 -2014 Espressif System
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ESP_SOFTAP_H__
|
|
|
|
#define __ESP_SOFTAP_H__
|
|
|
|
|
2015-07-30 17:34:13 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-05-30 09:11:04 +00:00
|
|
|
struct sdk_softap_config {
|
2015-04-30 04:00:03 +00:00
|
|
|
uint8_t ssid[32];
|
|
|
|
uint8_t password[64];
|
|
|
|
uint8_t ssid_len;
|
|
|
|
uint8_t channel;
|
|
|
|
AUTH_MODE authmode;
|
|
|
|
uint8_t ssid_hidden;
|
|
|
|
uint8_t max_connection;
|
|
|
|
uint16_t beacon_interval;
|
|
|
|
};
|
|
|
|
|
2015-05-30 09:11:04 +00:00
|
|
|
bool sdk_wifi_softap_get_config(struct sdk_softap_config *config);
|
|
|
|
bool sdk_wifi_softap_set_config(struct sdk_softap_config *config);
|
2015-04-30 04:00:03 +00:00
|
|
|
|
2015-07-30 17:34:13 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-04-30 04:00:03 +00:00
|
|
|
#endif
|