diff --git a/components/bt/host/bluedroid/stack/include/stack/goep_common.h b/components/bt/host/bluedroid/stack/include/stack/goep_common.h index 82b315691e..74cb3ca8db 100644 --- a/components/bt/host/bluedroid/stack/include/stack/goep_common.h +++ b/components/bt/host/bluedroid/stack/include/stack/goep_common.h @@ -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 */