OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfcbbf8
)
android/hal-a2dp: Add defines for possible connection states
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Thu, 14 Nov 2013 10:18:18 +0000
(12:18 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 14 Nov 2013 12:19:11 +0000
(14:19 +0200)
android/hal-msg.h
patch
|
blob
|
history
diff --git
a/android/hal-msg.h
b/android/hal-msg.h
index
30fe624
..
44fd5c8
100644
(file)
--- a/
android/hal-msg.h
+++ b/
android/hal-msg.h
@@
-530,6
+530,11
@@
struct hal_ev_pan_conn_state {
uint8_t remote_role;
} __attribute__((packed));
+#define HAL_A2DP_STATE_DISCONNECTED 0x00
+#define HAL_A2DP_STATE_CONNECTING 0x01
+#define HAL_A2DP_STATE_CONNECTED 0x02
+#define HAL_A2DP_STATE_DISCONNECTING 0x03
+
#define HAL_EV_A2DP_CONN_STATE 0x81
struct hal_ev_a2dp_conn_state {
uint8_t state;