~aleteoryx/muditaos

ref: 42ca53a732487f7dabf5e06ee4c03f73c329882b muditaos/module-services/service-bluetooth/doc/bluetooth-scanning-general-view.puml -rw-r--r-- 825 bytes
42ca53a7 — Maciej-Mudita [MOS-686] Fix the accessibility of user files by MTP 3 years 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
30
31
@startuml
skinparam BackgroundColor F0F0F0

participant "Worker Bluetooth" as workbt
participant "Service Bluetooth" as srvbt
participant "Application Settings" as appsett

activate appsett
appsett->srvbt : start scanning msg
    activate srvbt
    srvbt -> workbt : command(scanOn)
        deactivate srvbt
        activate workbt
        workbt -> workbt : scanOn
        loop
            [o-> workbt : device detected
            activate workbt
            workbt -> appsett : available device msg
            deactivate workbt
            activate appsett
                appsett -> appsett : process
            deactivate appsett
        end
appsett->srvbt : stop scanning msg
    deactivate appsett
    activate srvbt
    srvbt -> workbt : command(stanOff)
        deactivate srvbt
        deactivate workbt

@enduml