Commit Graph

4636 Commits

Author SHA1 Message Date
Jeevaka Badrappan 508b93eecb atmodem: add ifx support for pin retry count 2011-01-19 14:57:12 -06:00
Daniel Wagner 1ef27ffe86 gdbus: Remove root node 'name' attribute in introspection
generate_introspection_xml generates the root <node> tags with a
'name' attribute. This seems to be a valid attribute but it is not
consistent with the way the D-Bus daemon generates empty nodes.

For example if we register "/foo/bar", D-Bus daemon will generate for
"/foo" a introspection which looks like this:

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <node name="bar"/>
</node>

and generate_introspection_xml generates for "/foo/bar":

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/foo/bar">
</node>

Just don't add the 'name' attribute to the root node.  The GLib
binding for D-Bus does it the same way.
2011-01-19 17:25:30 +01:00
Daniel Wagner 28ec0e2174 gdbus: invaldate_parent_data: walk the whole path down
Assume there is only one object registerd at "/". If we add a new
object at "/foo/bar" the introspection of "/" has to be updated. A new
node has to be added at "/".

invalidate_parent_data stops invaldating the whole path because the
boolean return value of dbus_connection_get_object_path_data is used
wrong.

If we get a TRUE just go on down in the path, if FALSE is return
dbus_connection_get_object_path_data has run out of memory.
2011-01-19 17:25:30 +01:00
Pekka Pessi 754be710d5 TODO: add ISIM 2011-01-19 15:41:26 +01:00
Pekka Pessi 279ad5ab68 TODO: add GBA_U suite 2011-01-19 15:41:08 +01:00
Pekka Pessi 8639f5ad17 TODO: add SIM authentication API 2011-01-19 15:40:54 +01:00
Lucas De Marchi a72115510a huawei: do not query sim state on pre_sim
Sim state is already known after modem is enabled and there's no need to
query it again. Before this patch, query_sim_state() was called upon
huawei_enable() and huawei_pre_sim(). Both functions might call
notify_sim_state() with a valid state. Hence we could eventually end up
sending AT+CFUN=5 command twice.
2011-01-19 15:39:49 +01:00
Marcel Holtmann a4d14ccb3e ifx: Remove modification of GIOChannel before multiplexer setup
After g_at_chat_new() call the GIOChannel is already in non blocking,
no encoding and no buffering mode. So no need for extra modifications.
2011-01-19 15:32:52 +01:00
Marcel Holtmann 2f2460f5ae gatchat: Disable encoding for RawIP GIOChannel 2011-01-19 15:28:59 +01:00
Lucas De Marchi edaff4b505 huawei: do not set timer more than once
If a "^SYSINFO" arrives after the timer for query_sim_locked() has been
set up, it'd would set a new timer, signaling a sim state change more
than once.
2011-01-19 14:21:29 +01:00
Rémi Denis-Courmont a2bad5b65b build: Use standard pkginclude directory
automake automatically defines includedir to the base include directory
and pkgincludedir to ./@PACKAGE@ from there. So lets use the later one
instead of overriding automake.
2011-01-19 12:18:13 +01:00
Marcel Holtmann 2126700c3e gatchat: Fix setup of GIOChannel from multiplexer DLC 2011-01-19 12:10:10 +01:00
Aki Niemi 893e14d39d doc: Fix network API documentation
The Name properties in NetworkRegistration and in NetworkOperator are
not identical, and are actually used for different purposes.
2011-01-19 10:36:42 +02:00
Pekka Pessi 2c7b1348aa sms: make sms atom offline-safe
Allow use of SMS atom both in online and offline (post_sim) states.

SMS atom now watches network registration atom and state.  Thmessages
are queued but not sent if not registered to a network.  Errors
occurring when a short message is being sent while transition from
online to offline or when network coverage is dropped are now handled
gracefully.
2011-01-18 22:09:07 -06:00
Jeevaka Badrappan 169caa3e4b doc: Describe ConfirmLaunchBrowser method 2011-01-18 21:55:16 -06:00
Jeevaka Badrappan 3f880cfe88 test: Add support for launch browser command 2011-01-18 21:54:42 -06:00
Pekka Pessi aa9a9d095d Add GBA documents to doc/standards.txt 2011-01-18 21:35:08 -06:00
Lucas De Marchi e7a50332ff doc: use right description for CallSettings 2011-01-18 20:05:30 -06:00
Lucas De Marchi 7e8e001f48 TODO: mark CDIP task as done 2011-01-18 20:05:25 -06:00
Denis Kenzior 16929cc978 voicecall: Be more explicit when copying structs 2011-01-18 16:09:28 -06:00
Lucas De Marchi 2c79277073 atmodem: add cdip to voicecall 2011-01-18 16:09:28 -06:00
Denis Kenzior d09800478a doc: Reword CDIP documentation slightly 2011-01-18 16:09:28 -06:00
Denis Kenzior f4ea5142ac voicecall: Update to the new API 2011-01-18 16:09:28 -06:00
Denis Kenzior 5d482d34bb doc: Name CalledLineIdentification as IncomingLine 2011-01-18 16:09:27 -06:00
Lucas De Marchi f88f81f132 call-settings: apply rule M11 of coding style 2011-01-18 16:09:27 -06:00
Lucas De Marchi 4614a72e2b doc: add CalledLinePresentation to CallSettings 2011-01-18 16:09:27 -06:00
Lucas De Marchi 700550e2f3 atmodem: add cdip to call-settings 2011-01-18 16:09:27 -06:00
Lucas De Marchi b0d783c6f1 call-settings: add support for cdip 2011-01-18 16:09:27 -06:00
Lucas De Marchi a80db77572 include: add method for querying cdip support 2011-01-18 16:09:27 -06:00
Lucas De Marchi fa41f24035 doc: add CalledLineIdentification to Voicecall 2011-01-18 16:09:27 -06:00
Lucas De Marchi 2f5afc9410 voicecall: add support for cdip
Enable oFono to show the identification informed with CDIP.
2011-01-18 16:09:27 -06:00
Lucas De Marchi a3438e0c6d include: add cdip field in ofono_call 2011-01-18 16:09:27 -06:00
Pekka Pessi 1100838037 gisi: remove g_isi_pending_from_msg() 2011-01-18 23:34:31 +02:00
Pekka Pessi e72e5444af gisi: simplify pending management
Client or server mark their pending objects with
the function g_isi_pending_set_owner().

When client or server get destroyed or reset the pending objects are
removed with the function g_isi_remove_pending_by_owner(). As a client
or server always uses only a particular resource, all the pending
objects are conveniently stored into a single list.
2011-01-18 23:31:47 +02:00
Pekka Pessi fef6de49af isimodem: fix crash in gprs
There was a crash if gprs was removed while creating context.
2011-01-18 22:29:24 +02:00
Aki Niemi 321bd16eb1 isimodem: Style fix in gprs, M12 2011-01-18 22:29:24 +02:00
Pekka Pessi 6238c27ba5 gisi: remove before notify
Just in case, remove pending operations before calling notifys.
The notify function can remove client, service or modem.
2011-01-18 22:29:24 +02:00
Marcel Holtmann 999b38ce05 doc: Fix a small typo 2011-01-18 21:18:51 +01:00
Denis Kenzior 45abba276b gatchat: Turn off buffering of GAtChat IO channels
After commit d83da35370 this was causing
the command queue to never run.
2011-01-18 12:16:19 -06:00
Denis Kenzior 3a3c81e5d7 AUTHORS: Mention Jessica's contributions 2011-01-18 12:16:19 -06:00
Lasse Kunnasluoto f11402907a ste: Use UTF-8 as a default character set 2011-01-18 16:56:27 +01:00
Denis Kenzior 918d6354cc simutil: Sort sim_fileid in numerical order 2011-01-18 09:49:22 -06:00
Jessica Nilsson cf96d24884 simutil: M9, M11, Minor style fixes and indentation 2011-01-18 09:45:30 -06:00
Olivier Guiter b931e77470 gatserver: ATS6 command handler added 2011-01-18 16:10:23 +01:00
Jeevaka Badrappan 3ae5e46b69 atmodem: fix signal strength issue with ifx 2011-01-18 16:05:29 +01:00
Olivier Guiter 3e8593850b doc: Add AT command set for Dialup Networking 2011-01-18 16:03:16 +01:00
Olivier Guiter fdc1aa78ca doc: Add Bluetooth Dial-up Networking Profile specs 2011-01-18 16:00:55 +01:00
Jeevaka Badrappan d9ae1405f3 atmodem: coding style fix 2011-01-18 15:55:41 +01:00
Mika Liljeberg 720afebfc9 TODO: claim IPv6 task 2011-01-18 15:33:44 +01:00
Aki Niemi 6de7dd0175 doc: Add short mention of CPHS under standards 2011-01-18 15:25:23 +01:00