Difference between revisions of "Component: GSM (EB066, Generic AT) (Wireless)"
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  | 2.0  |-  | width="20%" style="color:gra...") | |||
| Line 14: | Line 14: | ||
| ==GSM (EB066, Generic AT) component== | ==GSM (EB066, Generic AT) component== | ||
| Low level routines for controlling a standard AT GSM / GPRS interface Also available in the form of the EB066 GSM E-block. | Low level routines for controlling a standard AT GSM / GPRS interface Also available in the form of the EB066 GSM E-block. | ||
| + | |||
| + | ==Component Pack== | ||
| + | |||
| + | COMMSB | ||
| ==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| ''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
| ==Examples== | ==Examples== | ||
| + | |||
| + | |||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
Revision as of 16:19, 7 January 2022
| Author | Matrix Ltd. | 
| Version | 2.0 | 
| Category | Wireless | 
Contents
GSM (EB066, Generic AT) component
Low level routines for controlling a standard AT GSM / GPRS interface Also available in the form of the EB066 GSM E-block.
Component Pack
COMMSB
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
|   | DialNumber | 
| Performs a standard voice call by dialling the number specified. Returns 0 for call in progress and 255 for no response. | |
|  - STRING | Number | 
|  - BYTE | Return | 
|   | GetTextString | 
| Collects the text message data from an incoming text message. | |
|  - BYTE | NumBytes | 
|  - STRING | Return | 
|   | SendString | 
| Sends a string to the GSM module. | |
|  - STRING | Text | 
|  - VOID | Return | 
|   | SendScript | 
| Send an AT command script. Returns 0 for fail, 1 for success and 255 for unrecognised script idx. | |
|  - BYTE | idx | 
|  - BYTE | Return | 
|   | SendCommand | 
| Sends a command string to the GSM module. 0 = Command sent ok, 255 = No Reply | |
|  - STRING | Command | 
|  - BYTE | SendCR | 
|  - BYTE | Return | 
|   | AnswerIncomingCall | 
| Answers the phone for an incoming type call. Returns 0 for success and 255 for failure. | |
|  - BYTE | Return | 
|   | GetTextNumber | 
| Collects the sender's phone number from an incoming text message. | |
|  - BYTE | NumBytes | 
|  - STRING | Return | 
|   | HangUpCall | 
| Ends a voice based call. Returns 0 for success and 255 for failure. | |
|  - BYTE | Return | 
|   | ReadString | 
| Copies the data from the data string array to a local string variable | |
|  - BYTE | NumBytes | 
|  - STRING | Return | 
|   | SendTextMessage | 
| Sends the text message data specified to the number specified using the SMS protocol. Returns 0 for success and 255 for failure. | |
|  - STRING | Number | 
|  - STRING | Message | 
|  - BYTE | Return | 
|   | StringReceive | 
| Attempts to receive a string from the GSM modem. | |
|  - BYTE | Return | 
|   | DeleteAllMessages | 
| Removes all pending text messages from the GSM module. Returns 0 for success and 255 for fail. | |
|  - BYTE | Return | 
|   | CheckNetworkStatus | 
| Returns the state of the GSM network. 0 = Not connected, 1 = connected, 255 = no reply from GSM. | |
|  - BYTE | Return | 
|   | CheckForIncoming | 
| Checks to see if any incoming phone call or SMS message. 0 = Nothing, 1 = Text Received, 2 = Phone Ringing | |
|  - BYTE | Return | 
|   | Initialise | 
| Sets up the GSM module. Returns 0 for OK, 255 for no reply and 254 for command fail. | |
|  - BYTE | Return | 









