Difference between revisions of "Component: GSM (BL0131) (E-blocks 2)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gra...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 31: | Line 35: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:10, 20 January 2023
| Author | Matrix Ltd. |
| Version | 1.0 |
| Category | E-blocks 2 |
Contents
GSM (BL0131) component
Component Source Code
Please click here for the component source code: FC_Comp_Source_EBlocks2_GSM_BL0131_2d.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
| DialNumber | |
| Performs a standard voice call by dialling the number specified. Returns 0 for call in progress and 255 for no response. | |
| Number | |
| Return | |
| GetTextString | |
| Collects the text message data from an incoming text message. | |
| NumBytes | |
| Return | |
| SendString | |
| Sends a string to the GSM module. | |
| Text | |
| Return | |
| SendScript | |
| Send an AT command script. Returns 0 for fail, 1 for success and 255 for unrecognised script idx. | |
| idx | |
| Return | |
| AnswerIncomingCall | |
| Answers the phone for an incoming type call. Returns 0 for success and 255 for failure. | |
| Return | |
| SendCommand | |
| Sends a command string to the GSM module. 0 = Command sent ok, 255 = No Reply | |
| Command | |
| SendCR | |
| Return | |
| GetTextNumber | |
| Collects the sender's phone number from an incoming text message. | |
| NumBytes | |
| Return | |
| HangUpCall | |
| Ends a voice based call. Returns 0 for success and 255 for failure. | |
| Return | |
| ReadString | |
| Copies the data from the data string array to a local string variable | |
| NumBytes | |
| Return | |
| SendTextMessage | |
| Sends the text message data specified to the number specified using the SMS protocol. Returns 0 for success and 255 for failure. | |
| Number | |
| Message | |
| Return | |
| StringReceive | |
| Attempts to receive a string from the GSM modem. | |
| Return | |
| DeleteAllMessages | |
| Removes all pending text messages from the GSM module. Returns 0 for success and 255 for fail. | |
| Return | |
| CheckNetworkStatus | |
| Returns the state of the GSM network. 0 = Not connected, 1 = connected, 255 = no reply from GSM. | |
| Return | |
| CheckForIncoming | |
| Checks to see if any incoming phone call or SMS message. 0 = Nothing, 1 = Text Received, 2 = Phone Ringing | |
| Return | |
| Initialise | |
| Sets up the GSM module. Returns 0 for OK, 255 for no reply and 254 for command fail. | |
| Return | |