gammu

on

Now I want to send an sms over the huawei 3g dongle….

Therefor I installed gammu

sudo apt-get install gammu

Check the device:

$ gammu --identify
Device               : /dev/ttyUSB0
Manufacturer         : Huawei
Model                : unknown (E1820)
Firmware             : 11.828.08.00.00
IMEI                 : xxxxxxxxxxxxxxx
SIM IMSI             : xxxxxxxxxxxxxxx

I created a file ~/.gammurc (if everything works, make it default to the system by copying it to /etc/gammurc)
Edited it with these lines:

[gammu]
 port=/dev/ttyUSB0
 connection=at
 name=huawei
 model=

This configuration can also be done with a tool gammu-config.

I connected the 3g dongle and sent a textmessage:

$gammu sendsms TEXT +316xxxxxxxx -text "Greetz from the pandaboard. Knilluz"

And in case you want to know if someone responds:

$ gammu --getallsms

That’s all.

upd had to install and setup gammu-daemon to truly receive sms’s