← Back to team overview

schooltool-developers team mailing list archive

Re: smsd

 

So actually, after having smsd throw C errors, and trying for a while to
compile it from source, I switched to pygsm, which works just fine.  Well,
as long as you get the right fork on github, but then it works fine.

That's good, since Yay Python, but also it is very phone-agnostic, just
using AT calls over an emulated serial port.

Anyhow, it works.  I've got a script that polls for SMS's, and if it sees
"enrol#" it returns the name of the school and the number of students as a
json message.  You can try it tomorrow.

--Tom

On Mon, Aug 23, 2010 at 2:32 PM, Tom Hoffman <tom.hoffman@xxxxxxxxx> wrote:

> So for my SMS demo, the leading candidate now is gnokii-smsd (that's
> the Ubuntu package name, too), since gnokii seems to play nice with my
> phone over USB, using the "file module:"
>
> "This module doesn't need an SQL server to work. For incoming messages
> it works in a way that it calls a program giving phone number, date as
> parameter and the message text on stdin. In the
> gnokii-gnokii-smsd.directory there is an example file action. It shows
> sms data to stdout. If you want something useful you must write your
> own action. For outgoing messages you can set spool directory where
> gnokii-gnokii-smsd.looks regularly."
>
> The whole man page is here: http://linux.die.net/man/8/gnokii-smsd
>
> Anyhow, that's my current line of approach.
>
> --Tom
>

References