Saturday, May 09, 2009

GSerialM


(Texto en castellano más adelante)

I started programming a simple application for communication with mobile phone which support the AT command set through a serial device (in UNIX systems). For now it is a testting/debugging application and shows some information like battery info or signal quality. To use it simply download the source from here, extract it (tar zxvf gserialm-VERSION.tar.gz), cd into the directory, compile it with make and run it with ./gsm /dev/yourdevice. Of course you have to locate the device created in your box after connecting your phone and have read/write permissions over it (as root chmod +rw /dev/yourdevice). If you want to configure the serial port parameters take a loom at conf.c file.
On further versions SMS sending, ncurses interface and more will be implemented.
Any comment/doubt/suggestion, leave a comment and I will answer.

---

He empezado a programar una sencilla aplicación para comunicar un teléfono móvil que soporte comandos AT a través de un dispositivo serie (en sistemas UNIX). Por ahora no es más que una versión de prueba y simplemente muestra alguna infomación, por ejemplo de la batería o la intensidad de la señal. Para usarlo, hay que bajar las fuentes de aquí, descomprimirlas (tar zxvf gserialm-VERSION.tar.gz), cd al directorio, compilarlas con make y ejecutar con ./gsm /dev/tudispositivo. Se debe saber de antemano el dispositivo creado al conectar el teléfono y se deben tener permisos de lectura/escritura sobre él (como root chmod a+rw /dev/tusdispositivo). Si quieres configurar los parámetros del puerto serie, mira en el archivo conf.c.
En futuras versiones el envío de SMS, una interfaz en ncurses y más cosas serán implementadas.
Cualquier pregunta/duda/comentario, deja un comentario y responderé.

--
Download: 2009/05/09 build

--

Screenshot:

Blogger templates

A cœur vaillant rien d'impossible.
Powered by Blogger.

Labels

About