Presentation
First of all, I would like to thank Alex for his very helpful explanations and advice.
This is a small script that I have written in Perl/Tk. Its aim is to allow communicating from a PC to a GSM phone, through a COM port, according to GSM 07.07 standard. I have especially tested it with a virtual infrared COM port.
It allows, depending on what is implemented on your phone, to:
- Get the manufacturer identification ;
- Get the model identification ;
- Get the revision number (e.g. software version number) ;
- Get the battery charge ;
- Get the signal quality ;
- Get and set the clock of your phone, synchronize it with your PC clock ;
- Get and set call forwarding parameters ;
- Get, set, add and delete entries in you phone and SIM various phonebooks ;
- Get and set info concerning SMS.
Here are two screenshots :
GSMcom is free software : you can redistribute it and/or modify it under the terms of the GNU General Public License.
Pre-requisite
Perl/Tk
You'll need to have Perl and the Tk module installed on your PC.
For Windows users, an easily instalable release of Perl is ActivePerl. You can then use the included utility ppm to install the Tk module.
COM ports
-
If you want to use serial ports, be carefull to configure them properly (parity, baud rate...) through one of you OS utilities (e.g. MODE under Windows) before launching the program.
-
If you want to use a virtual infrared COM port, the situation differs depending on your OS:
-
If you use Windows 95 or Windows 98, the virtual infrared COM port is included with the system. Check what is its name with the control panel.
-
If you use Windows2000, it is not included with the system. You then need to install a driver which emulates a serial port. For example IrCOMM2k, by Jan Kiszka, which is Open Source.
-
If you use Linux, it is possible to access to a virtual infrared COM port after having installed the IrDA support. Samuel Tardieu and Alexandre Fenyo reported to use successfully GSMcom under these conditions, but as I have never done it myself, I don't know exactly how... You will find usefull information about Linux and IrDA on the Linux-IrDA project homepage.
Installation
You need to download the zip archive containing all necessary files: DOWNLOAD.
Extract all files to a directory of your choice.
In order to launch the programm, simply doule-click (with Windows) on the file com_tel.pl, or enter as a command line perl com_tel.pl.
If you have any suggestion or comment concerning this program, please send me an e-mail.
Agnès Lefranc