From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH hcidump 2/2] AVRCP: Add parsing support for Volume Change notification
Date: Mon, 19 Mar 2012 14:41:32 -0300 [thread overview]
Message-ID: <1332178892-8987-2-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1332178892-8987-1-git-send-email-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
parser/avrcp.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/parser/avrcp.c b/parser/avrcp.c
index d746937..9698934 100644
--- a/parser/avrcp.c
+++ b/parser/avrcp.c
@@ -1198,6 +1198,10 @@ response:
value2str(attr, value));
}
break;
+ case AVRCP_EVENT_VOLUME_CHANGED:
+ status = get_u8(frm);
+ printf("Volume: 0x%02x\n", status);
+ break;
}
}
--
1.7.7.6
next prev parent reply other threads:[~2012-03-19 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 17:41 [PATCH hcidump 1/2] AVRCP: Add parsing for SetAbsoluteVolume PDU Luiz Augusto von Dentz
2012-03-19 17:41 ` Luiz Augusto von Dentz [this message]
2012-03-22 1:22 ` [PATCH hcidump 2/2] AVRCP: Add parsing support for Volume Change notification Lucas De Marchi
2012-03-20 9:15 ` [PATCH hcidump 1/2] AVRCP: Add parsing for SetAbsoluteVolume PDU Michal Labedzki
2012-03-20 11:22 ` Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332178892-8987-2-git-send-email-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox