Difference between revisions of "SMS"
| Line 18: | Line 18: | ||
|out | |out | ||
|FROM | |FROM | ||
| − | | | + | |string |
| | | | ||
|source phone number | |source phone number | ||
|- | |- | ||
|out | |out | ||
| − | | | + | |TEXT |
| − | | | + | |string |
| | | | ||
| − | | | + | |SMS content |
|} | |} | ||
| Line 41: | Line 41: | ||
|- | |- | ||
|in | |in | ||
| − | | | + | |SEND |
| − | | | + | |bool r_edge |
| | | | ||
| − | | | + | |rising edge starts new operation |
|- | |- | ||
|in | |in | ||
| − | | | + | |NUMBER |
| − | | | + | |string |
| | | | ||
| − | | | + | |destination phone number |
|- | |- | ||
| − | | | + | |in |
| − | | | + | |TEXT |
| − | | | + | |string |
| | | | ||
| − | | | + | |SMS content |
|} | |} | ||
Revision as of 09:34, 15 April 2020
Contents
Description:
SMS_TX/SMS_RX blocks are used for communication between the program and the user through the GSM network. It use SMS messages to transmit and receive information.
SMS_RX
Receive SMS messages.
| Asynchronous interface | ||||
| out | VALID | bool | indicates success operation and valid output | |
| out | FROM | string | source phone number | |
| out | TEXT | string | SMS content | |
SMS_Tx
Sends SMS messages.
| Asynchronous interface | ||||
| in | SEND | bool r_edge | rising edge starts new operation | |
| in | NUMBER | string | destination phone number | |
| in | TEXT | string | SMS content | |
Block behavior:
