From 31505cf155cb0c19a732b537a066b1c65c262a23 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 3 Mar 2014 18:20:34 +0200 Subject: [PATCH] android/client: Add AVRCP register_notification_cb support --- android/client/if-rc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/client/if-rc.c b/android/client/if-rc.c index 44c719b70..55fdf1d90 100644 --- a/android/client/if-rc.c +++ b/android/client/if-rc.c @@ -61,6 +61,11 @@ static void get_element_attr_cb(uint8_t num_attr, btrc_media_attr_t *attrs) haltest_info("attr id=%s\n", btrc_media_attr_t2str(attrs[i])); } +static void register_notification_cb(btrc_event_id_t event_id, uint32_t param) +{ + haltest_info("%s, event=%u param=%u\n", __func__, event_id, param); +} + static void volume_change_cb(uint8_t volume, uint8_t ctype) { haltest_info("%s, volume=%d ctype=%d\n", __func__, volume, ctype); @@ -70,6 +75,7 @@ static btrc_callbacks_t rc_cbacks = { .size = sizeof(rc_cbacks), .get_play_status_cb = get_play_status_cb, .get_element_attr_cb = get_element_attr_cb, + .register_notification_cb = register_notification_cb, .volume_change_cb = volume_change_cb, }; -- 2.47.3