MOD-GSM is 4 band cellular phone GSM/GPRS module which allow any board with UEXT connector to place and take GSM calls and to send and receive SMS-s and to connect to internet through GPRS and send and receive TCP-IP data.
Onw of our developers, Stefan made small demo example for how to use MOD-GSM with iMX233-OLinuXino, the project is at GitHub https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/MOD-GSM
you can compile it with:
$ cc MOD-GSM.c -o mod-gsm
them make it executable with
$ chmod +x mod-gsm
and use it with
$ ./mod-gsm -help
what MOD-GSM code does? Each time somebody call the SIM card phone number it will log it in CALL-LOG file, if SMS is received it’s logged in SMS-LOG
$ ./mod-gsm -pb ADD OLIMEX +35932626259
you create new entry in the PHONE-BOOK
then if you got call from +35932626259 it will log it as call from OLIMEX
you can send SMS with this command
$ ./mod-gsm -sms OLIMEX
then the program will wait for the SMS text terminated with <enter> and send it
you can also run mod-gsm with & to run in background and log your calls and SMS-s
Important note: SIM card which you insert in MOD-GSM should have no PIN code, also UEXT cable should be at least 20 cm as when MOD-GSM is near OLinuXino during the call time it emits so much energy that from time to time cause re-boot, to prevent this as you can see on the picture above I add some aluminum shield between the MOD-GSM and OLinuXino.
Also it’s good to cut the ribbon cable and left only wires# 1-4 which carry VCC, GND, UART.TX and UART.RX as MOD-GSM depend on how configured my drive up/down the other UEXT ports also and to mess with other modules on the UEXT bus.