~aleteoryx/muditaos

ref: a405cad694b867fcd2498984830bd97d4b9bde2f muditaos/module-services/service-bluetooth/doc/bluetooth-unpairing-general-view.puml -rw-r--r-- 718 bytes
a405cad6Aleteoryx trim readme 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@startuml
skinparam BackgroundColor F0F0F0

participant "Worker Bluetooth" as workbt
participant "Service Bluetooth" as srvbt
participant "Database Agent" as sett
participant "Application Settings" as appsett

activate appsett
appsett -> sett : register cb on bonded devices change
    activate sett
appsett <- sett : bonded devices callback
    deactivate sett
        ... ...

appsett->srvbt : forget device msg(address)
    activate srvbt
    srvbt -> workbt : command(unpair, address)
        deactivate srvbt
        activate workbt


        workbt -> sett : update bonded devices
        deactivate workbt
            activate sett
appsett <- sett : bonded devices callback
            deactivate sett

@enduml