OSDN Git Service

android/ipc: Update HAL IPC header
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 1 Nov 2013 13:41:39 +0000 (15:41 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 1 Nov 2013 14:39:07 +0000 (16:39 +0200)
Add ACL states to the header.

android/hal-msg.h

index 9276a2f..1587ff2 100644 (file)
@@ -405,6 +405,9 @@ struct hal_ev_bond_state_changed {
        uint8_t state;
 } __attribute__((packed));
 
+#define HAL_ACL_STATE_CONNECTED                0x00
+#define HAL_ACL_STATE_DISCONNECTED     0x01
+
 #define HAL_EV_ACL_STATE_CHANGED       0x89
 struct hal_ev_acl_state_changed {
        uint8_t status;