Embedded Wireless Framework
Macros | Functions
ewf_adapter_api_wifi_station.c File Reference

The Embedded Wireless Framework adapter UDP API implementation. More...

#include "ewf_adapter.h"

Macros

#define EWF_VALIDATE_WIFI_STATION_API_POINTER(adapter_ptr, function_ptr)
 

Functions

ewf_result ewf_adapter_wifi_station_connect (ewf_adapter *adapter_ptr, const char *ssid_str, const char *password_str)
 Connect the WiFi adapter to a wireless network. More...
 
ewf_result ewf_adapter_wifi_station_disconnect (ewf_adapter *adapter_ptr)
 Disconnect the WiFi adapter. More...
 

Detailed Description

The Embedded Wireless Framework adapter UDP API implementation.

Version
Preview

Macro Definition Documentation

◆ EWF_VALIDATE_WIFI_STATION_API_POINTER

#define EWF_VALIDATE_WIFI_STATION_API_POINTER (   adapter_ptr,
  function_ptr 
)
Value:
do { \
if ((adapter_ptr->wifi_station_api_ptr == NULL) || \
(adapter_ptr->wifi_station_api_ptr->function_ptr == NULL)) \
{ \
EWF_LOG_ERROR("The function is not implemented."); \
} \
} while(0)
@ EWF_RESULT_NOT_SUPPORTED
Definition: ewf.h:71