From: Wootak Jung Date: Thu, 14 Jan 2021 07:22:40 +0000 (+0900) Subject: Add backend error types X-Git-Tag: submit/tizen/20210118.015732~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=888f7d9b25a32b05756eb3dff0d2679375f68a7f;p=platform%2Fhal%2Fapi%2Fbluetooth.git Add backend error types Change-Id: I97364ccc088a7fd42bfc6b7524b8cf1a2cc6918c Signed-off-by: Wootak Jung --- diff --git a/include/hal-bluetooth-interface.h b/include/hal-bluetooth-interface.h index 75fa930..db614eb 100644 --- a/include/hal-bluetooth-interface.h +++ b/include/hal-bluetooth-interface.h @@ -26,6 +26,10 @@ extern "C" { #endif +#define HAL_BACKEND_ERROR_NONE 0 +#define HAL_BACKEND_ERROR_INTERNAL -1 +#define HAL_BACKEND_ERROR_TIMEOUT -2 + typedef struct _hal_backend_bluetooth_funcs { int (*start)(void); int (*stop)(void);