~aleteoryx/muditaos

muditaos/module-bluetooth/doc/bt_scan.puml -rw-r--r-- 405 bytes
a405cad6Aleteoryx trim readme 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@startuml
skinparam BackgroundColor F0F0F0

actor User
participant ServiceBluetooth
==Start scan==
activate ServiceBluetooth
User -> ServiceBluetooth : BluetoothMessage(BluetoothMessage::Request::Scan)
ServiceBluetooth -> User : for each device: BluetoothScanResultMessage
deactivate ServiceBluetooth
==Stop scan==
User -> ServiceBluetooth : BluetoothMessage(BluetoothMessage::Request::StopScan)

@enduml