Using MOD-GSM with iMX233-OLinuXino
Onw of our developers, Stefan made small demo example for how to use MOD-GSM with iMX233-OLinuXino, the project is at GitHub website.
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
with:
$ ./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
Comments