Sunday 19 June 2011

Using Gammu

Install:
sudo apt-get install gammu
To configure:
edit /etc/gammurc:

[gammu]
port = /dev/ttyUSB0model =
connection = at19200
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =
Or run gammu-config

Send sms:
echo "boo" | gammu --sendsms TEXT [recipient mobile number]
Read all sms:
gammu --getallsms
Get sms folders:
gammu --getsmsfolders
Delete all sms:
gammu --deleteallsms [folder number]

Possibly Related Posts

No comments:

Post a Comment