diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-07 19:08:06 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-14 03:16:58 -0800 |
commit | 76a617a9473c02e7c4624f47a62f5c60b1e77148 (patch) | |
tree | 4f776c7cb7ff1dfebbf949a920cd74434f34452b /README.md | |
parent | a5fe25e7496cf4a8369e1f34e66c9e55d2c95ed1 (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.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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: |