19 #ifndef WHD_SOFTAP_INTERFACE_H    20 #define WHD_SOFTAP_INTERFACE_H    22 #include "netsocket/EMACInterface.h"    23 #include "netsocket/OnboardNetworkStack.h"    25 #include "CyDhcpServer.h"    26 #include "whd_interface.h"    85               bool start_dhcp_server = 
true, 
const whd_custom_ie_info_t *ie_info = NULL, 
bool ap_sta_concur = 
false);
   145             _blocking = blocking;
   154     std::unique_ptr<CyDhcpServer> _dhcp_server;
 
void *(* whd_event_handler_t)(whd_interface_t ifp, const whd_event_header_t *event_header, const uint8_t *event_data, void *handler_user_data)
Event handler prototype definition. 
#define WIFI_IE_OUI_LENGTH
OUI length for Information Element. 
int register_event_handler(whd_event_handler_t softap_event_handler)
Register soft AP event handler. 
uint16_t length
IE data length. 
EMACInterface class Implementation of the NetworkInterface for an EMAC-based driver. 
signed int nsapi_error_t
Type used to represent error codes. 
nsapi_error_t set_blocking(bool blocking)
Set blocking status of interface. 
uint16_t which_packets
Mask of the packet in which this IE details to be included. 
int unregister_event_handler(void)
Unregister soft AP event handler. 
mbed OS API for onboard IP stack abstraction 
int remove_custom_ie(const whd_custom_ie_info_t *ie_info)
Remove Wi-Fi custom IE. 
static WhdSoftAPInterface * get_default_instance()
Get the default WhdSoftAPInterface instance. 
int stop(void)
Stop the Software Access Point. 
void * data
Pointer to IE data. 
WhdSoftAPInterface(WHD_EMAC &emac=WHD_EMAC::get_instance(WHD_AP_ROLE), OnboardNetworkStack &stack=OnboardNetworkStack::get_default_instance(), whd_interface_shared_info_t &shared=whd_iface_shared)
Construct SoftAP interface. 
int get_associated_client_list(void *client_list_buffer, uint16_t buffer_length)
Gets information about associated clients. 
int start(const char *ssid, const char *pass, nsapi_security_t security, uint8_t channel, bool start_dhcp_server=true, const whd_custom_ie_info_t *ie_info=NULL, bool ap_sta_concur=false)
Set static IP address for SoftAP. 
enum nsapi_security nsapi_security_t
Enum of encryption types. 
WhdSoftAPInterface class Implementation of the SoftAPInterface for the Whd. 
static OnboardNetworkStack & get_default_instance()
Return the default on-board network stack. 
uint8_t subtype
Sub-type of the IE.