<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="367px" preserveAspectRatio="none" style="width:514px;height:367px;background:#F0F0F0;" version="1.1" viewBox="0 0 514 367" width="514px" zoomAndPan="magnify"><defs><filter height="300%" id="fjwr2af62umoy" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FFFFFF" filter="url(#fjwr2af62umoy)" height="93.3984" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="424" y="96.2969"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="27" x2="27" y1="86.2969" y2="279.9609"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="429" x2="429" y1="86.2969" y2="279.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="32" x="8" y="82.9951">User</text><ellipse cx="27" cy="13" fill="#FEFECE" filter="url(#fjwr2af62umoy)" rx="8" ry="8" style="stroke: #A80036; stroke-width: 2.0;"/><path d="M27,21 L27,48 M14,29 L40,29 M27,48 L14,63 M27,48 L40,63 " fill="none" filter="url(#fjwr2af62umoy)" style="stroke: #A80036; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="32" x="8" y="291.9561">User</text><ellipse cx="27" cy="305.2578" fill="#FEFECE" filter="url(#fjwr2af62umoy)" rx="8" ry="8" style="stroke: #A80036; stroke-width: 2.0;"/><path d="M27,313.2578 L27,340.2578 M14,321.2578 L40,321.2578 M27,340.2578 L14,355.2578 M27,340.2578 L40,355.2578 " fill="none" filter="url(#fjwr2af62umoy)" style="stroke: #A80036; stroke-width: 2.0;"/><rect fill="#FEFECE" filter="url(#fjwr2af62umoy)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="132" x="361" y="51"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="118" x="368" y="70.9951">ServiceBluetooth</text><rect fill="#FEFECE" filter="url(#fjwr2af62umoy)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="132" x="361" y="278.9609"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="118" x="368" y="298.9561">ServiceBluetooth</text><rect fill="#FFFFFF" filter="url(#fjwr2af62umoy)" height="93.3984" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="424" y="96.2969"/><rect fill="#EEEEEE" filter="url(#fjwr2af62umoy)" height="3" style="stroke: #EEEEEE; stroke-width: 1.0;" width="499" x="3" y="116.8633"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="502" y1="116.8633" y2="116.8633"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="502" y1="119.8633" y2="119.8633"/><rect fill="#EEEEEE" filter="url(#fjwr2af62umoy)" height="23.1328" style="stroke: #000000; stroke-width: 2.0;" width="89" x="208" y="106.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="75" x="214" y="122.3638">Start scan</text><polygon fill="#A80036" points="412,156.5625,422,160.5625,412,164.5625,416,160.5625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="27" x2="418" y1="160.5625" y2="160.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="348" x="34" y="155.4966">BluetoothMessage(BluetoothMessage::Request::Scan)</text><polygon fill="#A80036" points="38,185.6953,28,189.6953,38,193.6953,34,189.6953" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="32" x2="428" y1="189.6953" y2="189.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="295" x="44" y="184.6294">for each device: BluetoothScanResultMessage</text><rect fill="#EEEEEE" filter="url(#fjwr2af62umoy)" height="3" style="stroke: #EEEEEE; stroke-width: 1.0;" width="499" x="3" y="218.2617"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="502" y1="218.2617" y2="218.2617"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="502" y1="221.2617" y2="221.2617"/><rect fill="#EEEEEE" filter="url(#fjwr2af62umoy)" height="23.1328" style="stroke: #000000; stroke-width: 2.0;" width="87" x="209" y="207.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="73" x="215" y="223.7622">Stop scan</text><polygon fill="#A80036" points="417,257.9609,427,261.9609,417,265.9609,421,261.9609" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="27" x2="423" y1="261.9609" y2="261.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="378" x="34" y="256.895">BluetoothMessage(BluetoothMessage::Request::StopScan)</text><!--MD5=[f4e220d96e2dd437887ec4b75627564c]
@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
PlantUML version 1.2020.02(Sun Mar 01 05:22:07 EST 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.12+7-post-Debian-2
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>