[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#559774: ITP: modem-cmd -- send arbitrary AT commands to your modem



On Mon, Dec 07, 2009 at 09:28:03AM +0100, Josselin Mouette wrote:
> Le lundi 07 décembre 2009 à 01:43 +0100, Robert Millan a écrit : 
> > modem-cmd can be used to send arbitrary AT commands to a modem device
> >  over a serial line.
> >  .
> >  For example:
> >  .
> >  $ modem-cmd /dev/ttyUSB0 ATDT123456
> 
> I don’t really see the point in packaging a 10-line shell script.

It's not a shell script...

Anyhow, the point is very simple: users sometimes find themselves in need of
a simple dialer program, just like I did, and they tend to get utterly
confused (just like I got):

  http://www.mail-archive.com/debian-user@lists.debian.org/msg85161.html

For me, the simplest solution was to derive the interface expected by the
modem by stracing cu, and writing a small C program that implements it.

> OTOH packaging vmcp[1] could be more useful, since it can also send
> files, e.g. to control voice modems.
> 
> [1] http://www.unix.gr/gsm/voice/vmcp.c

I'd appreciate if you do.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


Reply to: