Host Communication Protocol  2.0
doc/md/6_template.md
Go to the documentation of this file.
1 \page template Template handling
2 
3 \section upload_t Upload
4 
5 @startuml
6 participant Host
7 participant BioMcu
8 
9 hnote over BioMcu : template
10 Host --> BioMcu: CMD_TEMPLATE \nARG_UPLOAD
11 BioMcu --> Host: CMD_TEMPLATE \nARG_RESULT[bep_result] \nARG_DATA[template]
12 hnote over Host : template
13 @enduml
14 ***
15 
16 \section download_t Download
17 
18 @startuml
19 participant Host
20 participant BioMcu
21 
22 hnote over Host : template
23 Host --> BioMcu: CMD_TEMPLATE \nARG_DOWNLOAD \nARG_DATA[template]
24 hnote over BioMcu : template
25 BioMcu --> Host: CMD_TEMPLATE \nARG_RESULT[bep_result]
26 @enduml
27 ***
28 
29 \section save_t Save
30 
31 @startuml
32 participant Host
33 participant BioMcu
34 
35 hnote over BioMcu : template
36 Host --> BioMcu: CMD_TEMPLATE \nARG_SAVE \nARG_ID[id]
37 hnote over BioMcu : template[id] (nvm)
38 BioMcu --> Host: CMD_TEMPLATE \nARG_RESULT[bep_result]
39 @enduml
40 ***