From: =?unknown-8bit?q?Pi=C4=8Dugins?= Arsenijs <crimier@yandex.ru>
To: ofono@ofono.org
Subject: Developing a SIM800 plugin - further questions
Date: Fri, 22 Jun 2018 02:37:33 +0300 [thread overview]
Message-ID: <67311529624253@web6g.yandex.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 1925 bytes --]
I'm now working on a SIM800 plugin, specifically, for a UART-connected SIM800
and a Raspberry Pi Zero. There are minor adjustments that we need to make, so
we've copied the SIM900 plugin to make sure that we can make adjustments in
a clean way (and also compare it to a known-working SIM900 setup). I, too, was
affected by the latest SIM900-related breakage - right now I'm compiling to check
if it's resolved in current git master.
Some questions I have are:
- Is it possible to compile a plugin standalone and then only distribute that
plugin? I'm wondering because Raspbian repositories already ship ofono, and
given that ofono already has a plugin infrastructure, it seems counterintuitive
to distribute a separate version of ofono through our repositories just because
we've added a plugin. I'm asking because it seems that plugins also need to be
hard-coded in the plugins/udevng.c file - so I'd need to recompile ofono even if
I compile the plugin separately... or not? (as we're using udev to enable the
right plugin, as far as I can tell:
https://github.com/ZeroPhone/ofono-config/blob/master/51-ofono.rules) Is it
something that could be influenced by the new -p command-line option of ofonod
instead? (which I found after compiling git master and running ofonod --help).
- judging by lsof output, ofono doesn't open the serial port until Powered is
set to true (which is what we need), but does not close the serial port after
setting Powered to false (which is undesirable for us, since, unfortunately,
that same port might be used for debugging). Why? Is it something can be
influenced by a plugin?
- Latest git master fails to compile on Raspberry Pi, due to
#pragma GCC diagnostic ignored "-Wrestrict"
in drivers/rilmodem/call-forwarding.c and
drivers/rilmodem/network-registration.c . I can provide error output if
necessary. Is it something expected?
Cheers!
Arsenijs
next reply other threads:[~2018-06-21 23:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 23:37 =?unknown-8bit?q?Pi=C4=8Dugins?= Arsenijs [this message]
2018-06-21 23:54 ` Developing a SIM800 plugin - further questions 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=67311529624253@web6g.yandex.ru \
--to=crimier@yandex.ru \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.