Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:sw:01-mervis:receive-sms-hidden [2021/09/02 07:04]
lpolcerova
en:sw:01-mervis:receive-sms-hidden [2021/09/02 08:08] (current)
avsetula
Line 3: Line 3:
  
 This function block has no input variables, but contains 5 outputs: This function block has no input variables, but contains 5 outputs:
-  * **channel:​** variable of type string, contains the designation of the alarm channel on which the SMS was received (in case of multiple modems) ​/*FIXME - v CZ je: na kterém byl SMS přijata... ​ má být byla :) */+  * **channel:​** variable of type string, contains the designation of the alarm channel on which the SMS was received (in case of multiple modems)
   * **sender:** variable of type string, contains telephone number in international format (e.g. +420777666555)   * **sender:** variable of type string, contains telephone number in international format (e.g. +420777666555)
   * **message:​** variable of type string, contains the text of the SMS message itself   * **message:​** variable of type string, contains the text of the SMS message itself
Line 13: Line 13:
  
 <WRAP center round important 95%> <WRAP center round important 95%>
-Since the block is intended only for use in the ST, it is necessary to create your own function block written in the ST for its use. This is only possible in **Full Mode** solution ​/* FIXME - sestava se u Mervisu označovala jako solution, použila jsem i tady místo assembly*/. The procedure for switching to full mode can be found [[en:​sw:​01-mervis:​creating-new-project-hidden#​prepnuti_do_plneho_modu|here in the introductory article]].+Since the block is intended only for use in the ST, it is necessary to create your own function block written in the ST for its use. This is only possible in **Full Mode** solution. The procedure for switching to full mode can be found [[en:​sw:​01-mervis:​creating-new-project-hidden#​prepnuti_do_plneho_modu|here in the introductory article]].
 </​WRAP>​ </​WRAP>​
  
Line 34: Line 34:
 ---- ----
  
-A window with the basic skeleton /* FIXME - skeleton nebo tree? :D */ of the function block will open. Delete all the contents of the block and replace them with the following code:+A window with the code structure example ​of the function block will open. Delete all the contents of the block and replace them with the following code:
  
 <code | ReceiveSMS_fbd.st>​ <code | ReceiveSMS_fbd.st>​