From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- android/client/if-rc.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/android/client/if-rc.c b/android/client/if-rc.c index 55fdf1d..cd4c142 100644 --- a/android/client/if-rc.c +++ b/android/client/if-rc.c @@ -46,6 +46,15 @@ SINTMAP(btrc_media_attr_t, -1, "(unknown)") DELEMENT(BTRC_MEDIA_ATTR_PLAYING_TIME), ENDMAP +static char last_addr[MAX_ADDR_STR_LEN]; + +static void remote_features_cb(bt_bdaddr_t *bd_addr, + btrc_remote_features_t features) +{ + haltest_info("%s: remote_bd_addr=%S features=%u\n", __func__, + bt_bdaddr_t2str(bd_addr, last_addr), features); +} + static void get_play_status_cb(void) { haltest_info("%s\n", __func__); @@ -73,6 +82,7 @@ static void volume_change_cb(uint8_t volume, uint8_t ctype) static btrc_callbacks_t rc_cbacks = { .size = sizeof(rc_cbacks), + .remote_features_cb = remote_features_cb, .get_play_status_cb = get_play_status_cb, .get_element_attr_cb = get_element_attr_cb, .register_notification_cb = register_notification_cb, -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html