There was one issue in 0.2 version for reading phonebook: it can't read phonebook records. It's ok in latest version.
Another problem is timeout during read records in first time
It's mean I have to read more than once again.
In fact I had only one record in modem so it's strange behavior.
I created this manpage for Debian; feel free to use it. The license
is the same as oFono's.
doc/Makefile.am | 2 ++
doc/ofonod.8 | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 doc/ofonod.8
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dae164a..85f6023 100644
@@ -2,3 +2,5 @@
EXTRA_DIST = overview.txt
MAINTAINERCLEANFILES = Makefile.in
+man_MANS = ofonod.8
diff --git a/doc/ofonod.8 b/doc/ofonod.8
new file mode 100644
@@ -0,0 +1,35 @@
+.\" Copyright (C) 2009 Collabora Ltd.
+.TH ofonod 8 "Jul 2009"
+ofonod \- oFono mobile telephony daemon
+.B "ofonod [options]"
+is a daemon which provides an oFono stack for interfacing mobile telephony devices.
+oFono is controlled through \fID-Bus\fP; for example, one can tell
+to send AT commands over /dev/rfcomm0 by calling the \fID-Bus\fP method org.ofono.at.Manager.Create.
+is used to manage \fID-Bus\fP permissions for oFono.
+.B --debug, -d
+Enable debug information output.
+.B --nodetach, -n
+Don't run as daemon in background.
+.SH SEE ALSO
+This man page was written by Andres Salomon <dilinger(a)collabora.co.uk>.
I'm trying to make a voice call with oFono. I'm using Option GlobeSurfer
ICON 225 HSDPA/UMTS USB as the modem. If I understood correctly voice
call should be possible with the dbus-messages used below. However, I
end up with an error "Operation failed".
$ dbus-send --system --print-reply --dest=org.ofono /
org.ofono.at.Manager.Create string:"dev:/dev/ttyHS0" string:"at"
method return sender=:1.540 -> dest=:1.544 reply_serial=2
object path "/modem1"
$ dbus-send --system --print-reply --dest=org.ofono /modem1
org.ofono.VoiceCallManager.Dial string:"+000000000000" string:"default"
Error org.ofono.Error.Failed: Operation failed
When the second dbus-message is sent the following messages are printed
by the ofonod:
ofonod: atd_cb got result: 0
ofonod: Final response: ERROR
ofonod: Dial callback returned error: (null)
Are the messages I sent to the ofonod correct?
Test against the 0.1 version,
Tow problem were detected,
1, only set CF no reply timer can't successful, and I have to set no reply number or disable it first.
2, *SC***SIC# don't support in GSM string
Are they known issue? or anything I did wrong
Also only CF need update DATA,FAX,SMS in the future, right?
with the latest oFono git version I'm getting the following compiler
errors when using gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3.
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../src
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Werror
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers
-Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls
-Wcast-align -MT smsutil.o -MD -MP -MF .deps/smsutil.Tpo -c -o smsutil.o
`test -f '../src/smsutil.c' || echo './'`../src/smsutil.c
cc1: warnings being treated as errors
../src/smsutil.c: In function ‘sms_extract_common’:
../src/smsutil.c:1442: error: ‘dcs’ may be used uninitialized in this
../src/smsutil.c:1441: error: ‘udhi’ may be used uninitialized in this
../src/smsutil.c:1440: error: ‘max’ may be used uninitialized in this
../src/smsutil.c:1439: error: ‘udl’ may be used uninitialized in this
../src/smsutil.c: In function ‘extract_app_port_common’:
../src/smsutil.c:1756: error: ‘is_addr_8bit’ may be used uninitialized
in this function
../src/smsutil.c: In function ‘sms_extract_concatenation’:
../src/smsutil.c:1843: error: ‘seq’ may be used uninitialized in this
../src/smsutil.c:1843: error: ‘max’ may be used uninitialized in this
../src/smsutil.c:1842: error: ‘rn’ may be used uninitialized in this
../src/smsutil.c: In function ‘cbs_decode_text’:
../src/smsutil.c:2706: error: ‘iso639’ may be used uninitialized in this
../src/smsutil.c:2704: error: ‘charset’ may be used uninitialized in
make: *** [smsutil.o] Error 1
make: Leaving directory `/home/muk/software/ofono/ofono/unit'
I just went ahead and tagged version 0.1 of oFono. We have announced
this project about 3 month ago, but the actual code base is a little bit
older of course. And at some point we have to start making releases :)
Not everything is fully functional at this point of time, but simple
voice call handling with an AT based modem (or phone simulator) should
be working fine. If anything fails, please send bug reports to the
mailing list and we will fix it.
Basic SMS support is available and within the next releases we will make
sure it works properly. After that the work on GPRS/HSPA with smooth
integration into ConnMan will start. Just to give everybody a heads up.
I also think it is a good time for package maintainers to look into
making oFono available in their distributions. And give feedback on
things that don't integrate well.
If null pointer is given to g_isi_client_destroy it segfaults. Currently
this is happening when signal 15 is sent to ofonod.
diff --git a/gisi/client.c b/gisi/client.c
index b12dc85..a12640d 100644
@@ -143,6 +143,8 @@ void g_isi_client_destroy(GIsiClient *client)
+ if (!client)
for (id = 0; id < 256; id++)
if (client->timeout[id] > 0)
We're thinking about using Moblin Connection Manager in a project, and
in the connman list, they said that for 3G support, the long term goal is to
use oFono to handle these connection.
However, one statement in the oFono home page called my attention:
The plug-in API functionality is modeled on public standards, in
particular 3GPP TS 27.007 "AT command set for User Equipment (UE)."
Sorry for the beginner question, but will oFono provide support to
EV-DO (that as far as I could find is a 3GPP2 standard) or is usable only
with 3GPP protocols (UMTS)?