Commit Graph

389 Commits

Author SHA1 Message Date
Denis Kenzior 2dbf3cbceb Rename dbus-gsm.c to dbus.c 2009-07-29 12:26:06 -05:00
Denis Kenzior 54816de04d Get rid of dbus-gsm.h 2009-07-29 12:26:06 -05:00
Denis Kenzior 1d8785f8bd Rename dbus_gsm_pending_reply 2009-07-29 12:26:06 -05:00
Denis Kenzior 596eb5606e Don't expose dbus_gsm_append_array_variant 2009-07-29 12:26:06 -05:00
Denis Kenzior fb59e49633 Don't expose dbus_gsm_append_variant 2009-07-29 12:26:06 -05:00
Denis Kenzior 9cd9338ba1 Rename dbus_gsm_dict_append_array 2009-07-29 12:26:05 -05:00
Denis Kenzior 6728542a01 Rename dbus_gsm_dict_append 2009-07-29 12:26:05 -05:00
Denis Kenzior d9025e13e1 Move & Rename PROPERTIES_ARRAY_SIGNATURE 2009-07-29 12:26:05 -05:00
Denis Kenzior 55787fe876 Rename dbus_gsm_signal_array_property_changed 2009-07-29 12:26:05 -05:00
Denis Kenzior 684b5be1fc Rename dbus_gsm_signal_property_changed 2009-07-29 12:26:05 -05:00
Denis Kenzior 18ecb22f93 Fix segfault 2009-07-29 12:26:05 -05:00
Denis Kenzior 00fb6cce62 Rename dbus_gsm error functions to __ofono_error 2009-07-29 12:26:05 -05:00
Denis Kenzior 5cd850304c Remove reconnect timeout define 2009-07-29 12:26:05 -05:00
Denis Kenzior 1426d84ad7 Get rid of dbus_gsm_free_string_array
Use g_strfreev instead.
2009-07-29 12:26:04 -05:00
Denis Kenzior c31350294f Refactor dbus initialization & reconnect 2009-07-29 12:26:04 -05:00
Denis Kenzior 73fe7ac6dc Move & Rename dbus_gsm_init & dbus_gsm_exit
Rename to __ofono_dbus_init && __ofono_dbus_cleanup for consistency
Move to ofono.h
2009-07-29 12:26:04 -05:00
Denis Kenzior b4e8e5fb90 Remove dbus_gsm_set_connection from header
Not actually needed outside of dbus-gsm.c
2009-07-29 12:26:04 -05:00
Denis Kenzior 99c1c92708 Move & Rename dbus_gsm_connection
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-29 12:26:04 -05:00
Denis Kenzior 2dc831a35c Add new ofono/dbus.h header 2009-07-29 12:26:04 -05:00
Denis Kenzior 48d46f1136 Experimental support for modems with no UCS2/UTF8
Some modems, like the G1 do not support UCS2/UTF8.  However, we can
still attempt to export some phonebook entries which are probably
going to be simple Latin1 characters (e.g. 411, etc)
2009-07-29 12:26:03 -05:00
Denis Kenzior aa9212ca0f Fix tolower undeclared warning 2009-07-29 12:26:03 -05:00
Yang Gu a3991a36c3 Handle phonebook text field with uppercase type 2009-07-27 17:10:07 -05:00
Yang Gu ca403d273e Fix phonebook comment to report CSCS 2009-07-27 17:10:04 -05:00
Yang Gu 57120b7156 Fix phonebook problem when charset is in a list 2009-07-27 17:10:00 -05:00
Denis Kenzior 426d201b2e Add support for cyclic files 2009-07-27 17:09:58 -05:00
Denis Kenzior 555e2e689d Refactor SIM file access code
SIM File Access conditions would be reported similarly between various
stacks, so it seems like the core logic of figuring out the access
conditions belongs up in the daemon.

This also fixes various problems, including:
  - access conditions read from bytes 10-12, instead of 9-11.
  - read/update, invalidate/rehabilitate and increase conditions
    read from the wrong bits (0-3 instead of 4-7 and vice versa)
2009-07-27 17:09:56 -05:00
Denis Kenzior 5fcbc68f3e Kill unused variable warn 2009-07-27 17:09:54 -05:00
Denis Kenzior 30c1b5e05f Kill implicit declaration warn 2009-07-27 17:09:53 -05:00
Denis Kenzior e8fbf4b699 Kill 'Suggest parantheses around truth value' warn 2009-07-27 17:09:49 -05:00
Andrzej Zaborowski aa71d09516 Cache EF-PNN, EF-OPL sim files on disk.
This uses plain files in /var/lib/ofono for storing contents of the
operator lists to avoid possibly numerous queries to the SIM on every
startup.  Files are indexed with IMSI.  I'm not 100% sure about the
autoconf magic.

Users need to rerun bootstrap-configure after applying this.

Depends on [PATCH] Return SIM file access conditions from read_file_info.
2009-07-27 17:09:48 -05:00
Andrzej Zaborowski 5c981d421e Return SIM file access conditions from read_file_info. 2009-07-27 17:09:46 -05:00
Denis Kenzior 4dae83636c Use int for MoreMessagestoSend (mms) 2009-07-27 17:09:35 -05:00
Denis Kenzior d4536b3d2b Fix a crash with unsolicited notifications
When a line comes in from the modem, we check against prefixes
in outstanding commands and unsolicited notifications.  If the
outstanding command has not yet been sent (cmd_bytes_written == 0),
we still check it resulting in access violation.
2009-07-21 14:43:33 -05:00
Marcel Holtmann b638b315f9 Release 0.2 2009-07-18 12:09:06 +02:00
Marcel Holtmann 09eb55deb2 Add test-simutil binary to ignore list 2009-07-18 12:08:46 +02:00
Andrzej Zaborowski d1a9ac7812 Test EONS handling. 2009-07-17 23:48:29 -05:00
Andrzej Zaborowski 35c48071f8 Use registration status constants consistently. 2009-07-17 23:48:29 -05:00
Andrzej Zaborowski a5bcab7564 Don't dereference before the null check. 2009-07-17 23:48:29 -05:00
Andrzej Zaborowski da0bdb1cbf Clean-up in sim.c. 2009-07-17 23:48:29 -05:00
Andrzej Zaborowski 983d16ca37 Make PNN / OPL work. 2009-07-17 23:48:28 -05:00
Andres Salomon 8469412e7b Fix typos in doc/overview.txt 2009-07-17 20:42:04 +02:00
Denis Kenzior 8d47b8f36d Refactor phonebook code 2009-07-16 17:22:04 -05:00
Denis Kenzior 72345b4175 Don't escape phonebooks 2009-07-16 17:22:04 -05:00
Denis Kenzior fdab3735db Fix style issue 2009-07-16 17:22:04 -05:00
Yang Gu 1a4e3630da Add character set support in phonebook 2009-07-16 17:22:04 -05:00
Denis Kenzior a3a2190f03 Add experimental support for MT incoming sms store
Some Nokia modems only support "MT" as the incoming sms store.
Presumably the modem has some intelligence to pick the right store
depending on the SMS class.  This means that oFono must now track
what the current store is, and issue a CPMS, CMGR & CMGD when a
CMTI notification arrives.
2009-07-16 11:44:48 -05:00
Denis Kenzior 958bf1c239 Add CFUN=1 for the ti_calypso driver 2009-07-16 11:44:48 -05:00
Denis Kenzior 81d382aea2 Add extra_pdu_crlf quirk to ti_calypso driver 2009-07-15 15:51:36 -05:00
Denis Kenzior 86864c819c Add extra_pdu_crlf quirk 2009-07-15 15:51:33 -05:00
Denis Kenzior a90d89e8c1 Remove from pending list if create fails 2009-07-15 15:51:31 -05:00