PETSMS  (previously SENDSMS v01.00, the program name is SMS.COM)

PETSMS is used to send message over GSM mobile phone for DOS and Windows
command prompt.

This is the help:PETSMS   v01.02 \ Petrus Prawirodidjojo
Using PET4TH version 01.00.0012 Forth Engine

Use PC to send message over GSM mobile phone
  for DOS and Windows command prompt
  for Siemens C35i M35i S35i ME45 and PC with real serial port

Usage: sms <phone number> <message>
       sms +1234567890 Hello world! \ send message to phone#
       sms me +1234567890           \ add name to phone book
       sms me Hello world!          \ send message to name
       sms me                       \ remove name in phone book
       sms ???                      \ display phone book
       sms all Hello world!         \ send message to all
Setup: sms setup com2    \ SMS.COM uses serial port 2
       sms setup srron   \ enable status report request
Forth: sms forth makebat \ create SMSCONF.BAT
       sms forth info    \ display ME and SM information

Please check internet for next PETSMS version

This program uses PET4TH which reserves interrupt for time critical
application only. That means PETSMS does not use interrupt, only tight loop.
It should not be interrupted heavily. Multi tasking current version of
PETSMS is not recommended.

Currently PETSMS accesses hardware directly. It saves the phone book inside
the running SMS.COM. Virtual serial interface like infra-red and USB
converter can not be used.

Since PETSMS uses DOS prompt, you can not use several characters in the
message body:
<    used by DOS for input redirection
>    used by DOS for output redirection
|    used by DOS for piping.
You can not backspace to the first line. Run DOSKEY first to enable
backspacing to the first line.
You can not send full 160 characters in a message due to 127 character
buffer used in DOS. Type more than 100 characters to enter edit mode, which
enable you to send maximum 160 character message and all displayable ASCII
character set.

PETSMS is for Siemens C35i S35i M35i ME45. Since C35i S35i and M35i use only
19200 baud rate, PETSMS is using only 19200 baud.

Report request has been turn off by default to avoid extra charge by some
service providers. Report request on (srron) means service provider will
send sms telling that the message is delivered or not.

PETSMS uses its own phone book. Phone number entries is deliberately limited
to 16.

I use batch file to enter phone number in the phone book:
SMSCONF.BAT:
sms <name1> <phone number1>
sms <name2> <phone number2>
..
sms ???
This batch file SMSCONF.BAT can be generated by
     sms forth makebat
In case you get new version of SMS.COM, you can just run SMSCONF to put back
name and phone number to program file SMS.COM.

To use this program you must know where you plug the data cable to your PC.
The default is serial port com1. If you connect it to com2, then
     sms setup com2
will write serial port 2 selection to the running SMS.COM. No need to do
this the next time you run PETSMS. ME not found error message will be
reported if wrong serial port is selected.

It is better to use
     sms forth com1 info
and see if it can display ME and SM information. If fail, try
     sms forth com2 info
or com3 or com4. Then setup PETSMS with correct serial port.

If you have mouse connected to the serial port selected in PETSMS, you may
try F10 and bye to exit to operating system.

There is no warranty for this software from me. I provide this sofware AS
IS. You may use this copy of PETSMS, copy it and distribute it, even sell
it. Current version of PETSMS is free.

This PETSMS is done on my spare time. If you like this application, please
give support. You may ask for customization, inform me your wish list.
Depending on your support, I may customized some of your wishes for you.
Contact me at the address below.

December 25, 2003
Petrus Prawirodidjojo <petrusp@attglobal.net>.
Specification of PETSMS v01.02

-    run on DOS and Windows command prompt
-    send sms by phone number
-    send sms by name
-    maximum 16 names and phone numbers in the phone book
-    send sms to all names in the phone book
-    can generate setup file, SMSCONF.BAT
-    can display ME information like model, software version, IMEI, signal
     quality, battery charge, and SM information like IMSI, card id. And
     currently selected phone book and memory (read and delete, write and
     send, store).
-    can enable status report request
Quick startup guide
-    test connection, for com1, com2, com3 or com4, for example
     sms forth com1 info
-    select serial port, for example
     sms setup com1
-    if you like status report request
     sms setup srron
-    to send sms one time
     sms +1206... Hello world!
-    to enter name in the phone book and send message
     sms john +1206
     sms john Hello world!
-    to display phone book
     sms ???
-    to send message to everyone in the phonebook
     sms all Merry Christmas and a Happy New Year
-    to remove name in the phone book
     sms john
-    to create SMSCONF.BAT configuration file
     sms forth makebat
-    to setup new SMS.COM
     smsconf
-    use copy of SMS.COM in other sub-directory to have separate phone book

Due to the simple syntax, do not enter name twice in the phone book, PETSMS
will immediately send the phone number as message.
