Embedded Wireless Framework
Macros

EWF macros for result code testing and evaluation. More...

Macros

#define ewf_result_failed(code)   (EWF_RESULT_OK > (code))
 Returns true if the passed code is an error, false if not.
 
#define ewf_result_succeeded(code)   ((code) >= EWF_RESULT_OK)
 Returns true if the code passed indicates success, false if it is an error.
 

Detailed Description

EWF macros for result code testing and evaluation.