Files
MSE-PI-E2EEDA-Plein-de-eeee…/report/resources/img/sequence_startup.svg

25 lines
5.8 KiB
XML

<?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="316px" preserveAspectRatio="none" style="width:337px;height:316px;" version="1.1" viewBox="0 0 337 316" width="337px" zoomAndPan="magnify"><defs><filter height="300%" id="fgvooe1dm56vs" 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><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="65" x2="65" y1="54.5938" y2="260.2578"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="265.5" x2="265.5" y1="54.5938" y2="260.2578"/><rect fill="#FEFECE" filter="url(#fgvooe1dm56vs)" height="46.5938" style="stroke: #A80036; stroke-width: 1.5;" width="110" x="8" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="59" x="33.5" y="22.9951">Gateway</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="96" x="15" y="39.292">(Raspberry Pi)</text><rect fill="#FEFECE" filter="url(#fgvooe1dm56vs)" height="46.5938" style="stroke: #A80036; stroke-width: 1.5;" width="110" x="8" y="259.2578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="59" x="33.5" y="279.2529">Gateway</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="96" x="15" y="295.5498">(Raspberry Pi)</text><rect fill="#FEFECE" filter="url(#fgvooe1dm56vs)" height="46.5938" style="stroke: #A80036; stroke-width: 1.5;" width="105" x="211.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="91" x="218.5" y="22.9951">MQTT Broker</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="77" x="225.5" y="39.292">(RabbitMQ)</text><rect fill="#FEFECE" filter="url(#fgvooe1dm56vs)" height="46.5938" style="stroke: #A80036; stroke-width: 1.5;" width="105" x="211.5" y="259.2578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="91" x="218.5" y="279.2529">MQTT Broker</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="77" x="225.5" y="295.5498">(RabbitMQ)</text><rect fill="#EEEEEE" filter="url(#fgvooe1dm56vs)" height="3" style="stroke: #EEEEEE; stroke-width: 1.0;" width="322.5" x="3" y="85.1602"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="325.5" y1="85.1602" y2="85.1602"/><line style="stroke: #000000; stroke-width: 1.0;" x1="3" x2="325.5" y1="88.1602" y2="88.1602"/><rect fill="#EEEEEE" filter="url(#fgvooe1dm56vs)" height="23.1328" style="stroke: #000000; stroke-width: 2.0;" width="74" x="127.25" y="74.5938"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="55" x="133.25" y="90.6606">Startup</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="65" x2="107" y1="128.8594" y2="128.8594"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="107" x2="107" y1="128.8594" y2="141.8594"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="66" x2="107" y1="141.8594" y2="141.8594"/><polygon fill="#A80036" points="76,137.8594,66,141.8594,76,145.8594,72,141.8594" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="99" x="72" y="123.7935">load config.json</text><polygon fill="#A80036" points="254,166.9922,264,170.9922,254,174.9922,258,170.9922" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="65" x2="260" y1="170.9922" y2="170.9922"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="177" x="77" y="165.9263">connect (MQTTS, TLS, auth)</text><polygon fill="#A80036" points="76,196.125,66,200.125,76,204.125,72,200.125" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="70" x2="265" y1="200.125" y2="200.125"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="67" x="132" y="195.0591">connected</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="65" x2="107" y1="229.2578" y2="229.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="107" x2="107" y1="229.2578" y2="242.2578"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="66" x2="107" y1="242.2578" y2="242.2578"/><polygon fill="#A80036" points="76,238.2578,66,242.2578,76,246.2578,72,242.2578" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="92" x="72" y="224.1919">start BLE scan</text><!--MD5=[a3a322fd9321d0ed77defcaaa4414d76]
@startuml
skinparam sequenceMessageAlign center
participant "Gateway\n(Raspberry Pi)" as gw
participant "MQTT Broker\n(RabbitMQ)" as broker
== Startup ==
gw -> gw : load config.json
gw -> broker : connect (MQTTS, TLS, auth)
broker - -> gw : connected
gw -> gw : start BLE scan
@enduml
PlantUML version 1.2020.02(Sun Mar 01 11:22:07 CET 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 21.0.11+10-1-deb13u2-Debian
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: GB
--></g></svg>