From: Holger Freyther <holger@freyther.de>
To: ofono@ofono.org
Subject: ofono plugin and state transmissions
Date: Sat, 12 Mar 2016 13:57:22 +0000 [thread overview]
Message-ID: <loom.20160312T144416-707@post.gmane.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2134 bytes --]
Hi,
at sysmocom we are building a BTS (OsmoBTS, OpenBSC) test setup and
use ofono to build our testcases. We are using Sierra Wireless (former
Wavecom) modules and have some stability issues.
I have two issues that I don't understand and they are related to the plugin
model and after looking at others I don't find the answer.
In the beginning we used the +WIND indication and created objects. E.g.
we created the netreg after it starts to search for networks.. but if the
+WIND indication fro the SIM ready came either during the registration
or before.. we would see crashes. We now mostly ignore +WIND and guess
about it. Not all plugins create all objects and they are created at different
points. So what is the best way to do it?
One other problem is that post_sim doesn't seem to be called. After looking
at the src/modem.c file I see that it is only called for certain states. E.g.
it looks like it is only called if the modem is still in the offline state and
appears to be never called for us. Is there a way to debug it? E.g. when should
the modem be powered up? when the SIM has been read? When the AT command
interpreter is ready?
kind regards
holger
next reply other threads:[~2016-03-12 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-12 13:57 Holger Freyther [this message]
2016-03-12 15:38 ` ofono plugin and state transmissions 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=loom.20160312T144416-707@post.gmane.org \
--to=holger@freyther.de \
--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