From: Bo <bothebobo@gmail.com>
To: ofono@ofono.org
Subject: basic connection howto
Date: Tue, 01 Sep 2015 19:34:48 +0000 [thread overview]
Message-ID: <loom.20150901T213104-390@post.gmane.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]
Hi,
Seems that there takes some fiddling to connect
my cellular dongle to the ofono framework.
My issue is i quickly looked at the man pages
to see how to create the link between
ofono my device.
The man pages mention that:
"oFono is controlled through D-Bus;
for example, one can tell ofonod to send
AT commands over /dev/rfcomm0 by calling
the D-Bus method org.ofono.at.Manager.Create"
So as any developer would do, I built my dbus command:
dbus-send --system --print-reply
--dest=org.ofono / org.ofono.at.Manager.Create
string:"dev:/dev/ttyUSB0" string:"at"
I had already done my typical marshalling of my device like so:
usb_modeswitch -v 1199 -p 0025
rmmod usbserial
modprobe usbserial vendor=0x1199 product=0x0025
which correspond to the sierra-wireless 598u
HOWEVER, there is no command called org.ofono.at.Manager.Create.
I quickly see that the man page was created in 2009...
Quickly peeking through the test scripts
I don't find anything that sounds familiar,
took a peek in list-modems and enable-modem....
Also there is no examples to find in the docs to follow.
I also have conman installed, but not really sure who does what here.
Who is controlling the device?
Where do i give someone my
golden /dev/ttyUSB0 string so it all magically works?
Thanks all!
Bo
next reply other threads:[~2015-09-01 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 19:34 Bo [this message]
2015-09-01 21:03 ` basic connection howto Denis Kenzior
2015-09-08 16:57 ` Bo
2015-09-08 21:32 ` Bo
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.20150901T213104-390@post.gmane.org \
--to=bothebobo@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