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:
eb12d8b
)
android: Define minimum legal notification event ID
author
Szymon Janc
<szymon.janc@tieto.com>
Tue, 22 Oct 2013 12:46:11 +0000
(14:46 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 22 Oct 2013 13:17:26 +0000
(16:17 +0300)
All legal events IDs should be above this value.
android/hal-msg.h
patch
|
blob
|
history
diff --git
a/android/hal-msg.h
b/android/hal-msg.h
index
33acd41
..
9ff0510
100644
(file)
--- a/
android/hal-msg.h
+++ b/
android/hal-msg.h
@@
-32,6
+32,8
@@
struct hal_msg_hdr {
uint8_t payload[0];
} __attribute__((packed));
+#define HAL_MSG_MINIMUM_EVENT 0x81
+
#define HAL_SERVICE_ID_CORE 0
#define HAL_SERVICE_ID_BLUETOOTH 1
#define HAL_SERVICE_ID_SOCK 2