From 230211cd25803540928d29b9937f8d4456ae9f4d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 14 Nov 2013 12:18:18 +0200 Subject: [PATCH] android/hal-a2dp: Add defines for possible connection states --- android/hal-msg.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/hal-msg.h b/android/hal-msg.h index 30fe624ac..44fd5c84d 100644 --- 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; -- 2.47.3