~aleteoryx/muditaos

ref: c77a104f3d781b7fb93773be5a2b5af6b97b2a8c muditaos/module-bluetooth/doc/bt_volume_buttons_handling.puml -rw-r--r-- 581 bytes
c77a104f — Maciej Gibowicz [BH-1991] Creating a new application "What`s new" 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@startuml
skinparam BackgroundColor F0F0F0

actor User
participant "A2DP Sink" as sink
participant "Source's AVRCP event handler" as source
participant "Service Bluetooth" as bt
participant "Service Audio" as audio
participant "Settings" as settings
participant "Application" as app 


User -> sink : Volume button pressed
==A2DP==
sink -> source : AVRCP volume changed 
== ==
source -> bt : Volume changed message
bt -> audio : Volume changed message
audio -> settings : Set appropriate value
audio -> app : Current volume changed
app -> User : Show current volume level

@enduml