Embedded Wireless Framework
Macros | Functions
ewf_adapter_api_control.c File Reference

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

#include "ewf_adapter.h"

Macros

#define EWF_ADAPTER_VALIDATE_CONTROL_API_POINTER(adapter_ptr, function_ptr)
 

Functions

ewf_result ewf_adapter_start (ewf_adapter *adapter_ptr)
 Starts the adapter. More...
 
ewf_result ewf_adapter_stop (ewf_adapter *adapter_ptr)
 Stops the adapter. More...
 

Detailed Description

The Embedded Wireless Framework adapter API control implementation.

Version
Preview

Macro Definition Documentation

◆ EWF_ADAPTER_VALIDATE_CONTROL_API_POINTER

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