forked from espressif/esp-idf
feat(bt/bluedroid): Allow using bitwise OR on GOEP return value
This commit is contained in:
@ -8,11 +8,12 @@
|
||||
|
||||
#include "common/bt_target.h"
|
||||
|
||||
#define GOEP_SUCCESS 0 /* Operation successful */
|
||||
#define GOEP_FAILURE 1 /* Operation failed */
|
||||
#define GOEP_NO_RESOURCES 3 /* Not enough resources */
|
||||
#define GOEP_BAD_HANDLE 4 /* Bad handle */
|
||||
#define GOEP_INVALID_PARAM 5 /* Invalid parameter */
|
||||
#define GOEP_INVALID_STATE 6 /* Operation not allow in current state */
|
||||
#define GOEP_CONGEST 7 /* Congest */
|
||||
#define GOEP_TL_ERROR 8 /* Lower transport layer error */
|
||||
/* GOEP Client or Server(not supported yet) API return code */
|
||||
#define GOEP_SUCCESS 0x00 /* Operation successful */
|
||||
#define GOEP_FAILURE 0x01 /* Operation failed */
|
||||
#define GOEP_NO_RESOURCES 0x02 /* Not enough resources */
|
||||
#define GOEP_BAD_HANDLE 0x04 /* Bad handle */
|
||||
#define GOEP_INVALID_PARAM 0x08 /* Invalid parameter */
|
||||
#define GOEP_INVALID_STATE 0x10 /* Operation not allow in current state */
|
||||
#define GOEP_CONGEST 0x20 /* Congest */
|
||||
#define GOEP_TL_ERROR 0x40 /* Lower transport layer error */
|
||||
|
Reference in New Issue
Block a user