Open Source Telephony
 help / color / mirror / Atom feed
From: Ryan Raasch <ryan.raasch@gmail.com>
To: ofono@ofono.org
Subject: Extend modem.conf
Date: Wed, 21 Oct 2009 10:52:52 +0200	[thread overview]
Message-ID: <4ADECBE4.1060500@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

Hello,

I was wanting to extend the syntax of the modem.conf file. It is extra 
work to maintain a different plugin file for each generic AT modem with 
a different speed, serial settings.

I'm not sure on the best syntax for this. Maybe below could be a solution.

[generic]
Driver=atgen
Device=/dev/ttyS0:baud=115200:read=on:local:on


OR

[generic]
Driver=atgen
Device=/dev/ttyS0
DeviceOpts=baud=115200:read=on:local:on


Any opinions?


Also, shouldn't the "Driver" keyword in the file be named "Plugin" 
instead? It may give a better indication where to read in the source.


Greetings,
Ryan




             reply	other threads:[~2009-10-21  8:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21  8:52 Ryan Raasch [this message]
2009-10-21 22:04 ` Extend modem.conf Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ADECBE4.1060500@gmail.com \
    --to=ryan.raasch@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox