Example Script
The above example assumes that the modem doesn't respond to the DTR line being toggled. Most modem hangup when this happens, and ESMS uses this to hangup. This is done automatically, and no commands are required in the *ERROR or *DISCONNECT sections if your modem understands this use of the DTR line. If not, then you will need the commands as given above. The standard scripts provided with ESMS assume the correct use of DTR You will have noticed a couple of macros (text flanked by $). The available macros are:
The best way to write a script is to manualy log on to the GSM/PCN service providers SMS sending interface and send a message by hand. Note:All software on this site is supplied "as is", with no guarantee offered or implied. While every effort has been made to ensure the correct operation of the software, no responsibility is accepted for any loss, damage or charges incurred which may arise from the use of this software. A virus scan has not been performed on the download files, you are advised to do this before running any of the software. Re-distribution of the software is permitted providing that I) no charge is made for it, II) it is distributed in exactly the same form as found on this site, III) you do not take any credit for it's production. Any queries should be directed to the original author.
© 2003 James Battersby. |