projects
/
platform
/
hal
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10053f8
)
Add backend error types
80/251480/1
author
Wootak Jung
<wootak.jung@samsung.com>
Thu, 14 Jan 2021 07:22:40 +0000
(16:22 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Thu, 14 Jan 2021 07:22:40 +0000
(16:22 +0900)
Change-Id: I97364ccc088a7fd42bfc6b7524b8cf1a2cc6918c
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
include/hal-bluetooth-interface.h
patch
|
blob
|
history
diff --git
a/include/hal-bluetooth-interface.h
b/include/hal-bluetooth-interface.h
index
75fa930
..
db614eb
100644
(file)
--- 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);