summaryrefslogtreecommitdiff
path: root/android/tester-main.c
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-12-08 11:35:04 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-12-10 13:34:00 +0100
commite22f7885e6704c5d3120401eec4f07ad90cc4c33 (patch)
treea899c8c8f6300228deb36b1899408aca7e7cac14 /android/tester-main.c
parent344e3bab53ec1117bc800e7d257663d00c783c8f (diff)
downloadbluez-e22f7885e6704c5d3120401eec4f07ad90cc4c33.tar.gz
android/tester: Add missing AVRCP cb_table entries
cb_table should be filled simultaneously with expected bt_callbacks enum. Without this, debug logs can cause errors.
Diffstat (limited to 'android/tester-main.c')
-rw-r--r--android/tester-main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/tester-main.c b/android/tester-main.c
index 33ef3ce57..8f3bc3c45 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -68,6 +68,14 @@ static struct {
DBG_CB(CB_A2DP_CONN_STATE),
DBG_CB(CB_A2DP_AUDIO_STATE),
+ /* AVRCP */
+ DBG_CB(CB_AVRCP_PLAY_STATUS_REQ),
+ DBG_CB(CB_AVRCP_PLAY_STATUS_RSP),
+ DBG_CB(CB_AVRCP_REG_NOTIF_REQ),
+ DBG_CB(CB_AVRCP_REG_NOTIF_RSP),
+ DBG_CB(CB_AVRCP_GET_ATTR_REQ),
+ DBG_CB(CB_AVRCP_GET_ATTR_RSP),
+
/* Gatt client */
DBG_CB(CB_GATTC_REGISTER_CLIENT),
DBG_CB(CB_GATTC_SCAN_RESULT),