Commit Graph

360 Commits

Author SHA1 Message Date
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
Denis Kenzior 7104169eb2 Fix printing binary version of the pdu 2009-07-15 15:51:29 -05:00
Denis Kenzior 78a646797c Add set / get flags for GAtChat 2009-07-15 15:51:28 -05:00
Denis Kenzior f574b5a075 Fix uninitialized warning 2009-07-15 12:10:02 -05:00
Marcel Holtmann 05f7912308 Add option to disable compiler optimization 2009-07-15 19:03:03 +02:00
Denis Kenzior 3dcf25807a Fix modem wakeup handling 2009-07-15 11:50:04 -05:00
Denis Kenzior 2effe63667 Fix CNMI parsing, it uses ranges not just a list 2009-07-15 11:49:06 -05:00
Denis Kenzior 22ad7dc7c5 Fix range handling 2009-07-15 11:49:06 -05:00
Denis Kenzior 4fa4f491a4 Add some more debugging to SMS driver 2009-07-15 11:49:06 -05:00
Denis Kenzior 14436de30f Fix sms looking for text mode instead of pdu mode 2009-07-15 11:49:06 -05:00
Denis Kenzior e8c153e0b3 Remove unneeded function 2009-07-14 15:50:35 -05:00
Denis Kenzior 4606b0aba4 Fix warnings 2009-07-14 15:50:09 -05:00
Denis Kenzior 70d1a6bac7 Fix uninitialized variable 2009-07-14 15:46:56 -05:00
Denis Kenzior bb1a7ae93b Make CSSN use proper types 2009-07-14 15:45:06 -05:00
Denis Kenzior c0862b7553 Refactor how EONS is used 2009-07-14 15:45:06 -05:00
Denis Kenzior d938e7f300 This function now uses on network_operator_data 2009-07-14 15:45:06 -05:00
Denis Kenzior bda598b93a Refactor EONS to have lac / non-lac versions
PNN/OPL database has fields which provide global operator naming,
or specific to a cell range.  The cell range can only be obtained
if the operator is the current one.
2009-07-14 15:45:06 -05:00
Denis Kenzior 8129119d61 Refactor Network Registration for EONS capability 2009-07-14 15:45:06 -05:00
Denis Kenzior 000a983b2b Make sure record length is not zero
Record length can be reported as 0 by the driver if it is for a
a binary (non-record based) file.  Set it to the file length in
this case
2009-07-14 15:45:06 -05:00
Denis Kenzior 864e09481c Get rid of some div by zero errors 2009-07-14 15:45:06 -05:00
Denis Kenzior a8eedf1326 Fix missing header 2009-07-14 15:45:06 -05:00
Denis Kenzior 7dd147117f Use ofono_set_sim_ready 2009-07-14 15:45:06 -05:00
Denis Kenzior 3774e4eb73 Return the entire EONS info, not just the longname 2009-07-14 15:45:06 -05:00
Denis Kenzior 0fa6897213 Refactor OPL code 2009-07-14 15:45:05 -05:00
Denis Kenzior 0fd5080630 Fix parsing of mcc_mnc code
The digits above 0-9 were not handled correctly
2009-07-14 15:45:05 -05:00
Denis Kenzior f5e9b2147a Fix CellId data type to be uint32 as intended 2009-07-14 15:45:05 -05:00
Denis Kenzior 5ea1326b00 Move SPDI to network.c 2009-07-14 15:45:05 -05:00
Denis Kenzior f2440ebd82 Preserve PNN order 2009-07-14 15:45:05 -05:00
Denis Kenzior 382e39ec53 Move SPN reading to network.c 2009-07-14 15:45:05 -05:00
Denis Kenzior 8294c1e42c Get rid of unneeded 2009-07-14 15:45:05 -05:00