aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-07 19:08:06 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-11-14 03:16:58 -0800
commit76a617a9473c02e7c4624f47a62f5c60b1e77148 (patch)
tree4f776c7cb7ff1dfebbf949a920cd74434f34452b /README.md
parenta5fe25e7496cf4a8369e1f34e66c9e55d2c95ed1 (diff)
binding: bluetooth: add MediaPlayer1 interface media eventsguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1
Report back MediaPlayer1 interface events for A2DP media playback Bug-AGL: SPEC-1630 Change-Id: I777f19af2de247fe676d5bede4bacbbad8ca9844 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
index 24ea06b..e6997a2 100644
--- a/README.md
+++ b/README.md
@@ -156,6 +156,7 @@ To do the same for the respective device, verb, and for singular profile
| Name | Description | JSON Event Data |
|-------------------|------------------------------------------|-------------------------------------------|
| device_changes | report on bluetooth devices | see device_changes event section |
+| media | report on MediaPlayer1 events | see media event section |
| agent | PIN from BlueZ agent for confirmation | see agent event section |
@@ -211,6 +212,30 @@ Changed status events for a device:
}
</pre>
+### media event
+
+Playing audio reporting event (not all fields will be passed in every event):
+
+<pre>
+{
+ "adapter": "hci0",
+ "device": "dev_D0_81_7A_5A_BC_5E",
+ "track": {
+ "title": "True Colors",
+ "duration": 228000,
+ "album": "True Colors",
+ "tracknumber": 6,
+ "artist": "Zedd",
+ "numberoftracks": 11,
+ "genre": "Dance & DJ/General"
+ },
+ "position": 5600,
+ "status": "playing"
+ "connected": false
+}
+</pre>
+
+
### agent event
After pairing request agent will send event for a pincode that must be confirmed on both sides: