Microchip® Advanced Software Framework

error.h File Reference
#include "cmn_defs.h"

Macros

#define CATCH(__status__)
 
#define ERRORCHECK(__status__)
 
#define ERRORREPORT(__status__, __err__)
 
#define IS_ERR(__status__)   (__status__ != AT_BLE_SUCCESS)
 
#define NULLCHECK(__status__, __ptr__)
 

Functions

at_ble_status_t at_ble_att_error (uint8_t att_error_code)
 
at_ble_status_t at_ble_gap_error (uint8_t gap_error_code)
 

#define CATCH (   __status__)
Value:
ERRORHANDLER :\
if(IS_ERR(__status__)) \
#define IS_ERR(__status__)
Definition: error.h:38
if(memp!=NULL)
Definition: memp.c:407
#define ERRORCHECK (   __status__)
Value:
do{\
if(IS_ERR(__status__))\
{\
printf("ERRORCHECK(%d)\n", __status__);\
goto ERRORHANDLER;\
}\
}while(0)
#define IS_ERR(__status__)
Definition: error.h:38
#define printf(...)
Definition: ip64-addr.c:37
if(memp!=NULL)
Definition: memp.c:407
#define ERRORREPORT (   __status__,
  __err__ 
)
Value:
do{\
printf("NMI_ERRORREPORT(%d)\n", __err__);\
__status__ = __err__;\
goto ERRORHANDLER;\
}while(0)
#define printf(...)
Definition: ip64-addr.c:37
#define IS_ERR (   __status__)    (__status__ != AT_BLE_SUCCESS)
#define NULLCHECK (   __status__,
  __ptr__ 
)
Value:
do{\
if(__ptr__ == NULL)\
{\
}\
}while(0)
#define ERRORREPORT(__status__, __err__)
Definition: error.h:48
#define NULL
Definition: def.h:47
Failure.
Definition: common/components/wifi/winc3400/ble/atmel_ble_api/include/at_ble_api.h:123
if(memp!=NULL)
Definition: memp.c:407

at_ble_status_t at_ble_att_error ( uint8_t  att_error_code)