Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: ofono with serial modem
Date: Wed, 30 Nov 2011 03:15:48 -0600	[thread overview]
Message-ID: <4ED5F444.3090401@gmail.com> (raw)
In-Reply-To: <CAC+thW1qhfujn7NDmcWKHiY-BXtUYfvYE12VQdfHwL-k=B7SJg@mail.gmail.com>

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

Hi Andrea,

On 12/02/2011 04:52 AM, Andrea Galbusera wrote:
> Hi! I'm new to the list and ofono project. In these days I'm trying to
> figure out if ofono can help me with some embedded projects involving
> M2M GPRS connections on serial modems.
> I have a few questions I was not able to give an answer to, neither
> from wiki nor from doc files in source code. Hope not to bother with
> too newbish questions here!
> 
> 1. Are non-hot-pluggable serial modem supported by ofono? I believe
> they should run with the atmodem driver: is this correct?

Yes they are, however they are still detected via udev and require a
proper modem driver. 'atmodem' is a collection of atom drivers that
implement generic 27.007 functionality.  The difference should be
explained nicely in the presentations posted on the site.

See the calypso modem driver in plugins/calypso.c for an example as well
as doc/calypso-modem.txt for an example udev rule.

> 
> 2. Is udev detection the only way to let ofono know about a modem? If
> I'm not wrong, I read about support for some kind of static
> configuration in the past (modem.conf file), but it seems gone in
> these days. I'm definitely fine with udev: just need some hints on how
> to setup a rule to let ofono know I have a pretty standard AT modem
> on, say, ttyS0. I looked at ofono.rules, but I think it deals mainly
> with usb modem.

A udev rule like:
KERNEL=="ttyS0", ENV{OFONO_DRIVER}="your_driver"

should be all that is needed.

> 
> 3. ofono looks very promising for its integration with d-bus. I'm
> looking forward to be able to have different applications to manage
> GPRS context activation/deactivation while, i.e., monitoring signal
> strength and maybe asynchronous notifications by the modem itself. Are
> these tasks in the ofono's scope or not?

Yes all the things you have listed are possible.

> 
> Thanks in advance for any clarifications!
> 

Regards,
-Denis

  reply	other threads:[~2011-11-30  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 10:52 ofono with serial modem Andrea Galbusera
2011-11-30  9:15 ` Denis Kenzior [this message]
2011-12-05 13:52   ` Andrea Galbusera
2011-12-02 11:48     ` 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=4ED5F444.3090401@gmail.com \
    --to=denkenz@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