Denis Kenzior
d7a5e7d017
No need to use g_timeout_add here
2009-08-07 17:30:28 -05:00
Denis Kenzior
6b9d8567b4
No need to use g_timeout_add
...
Simply calling the function here should be sufficient
2009-08-07 16:33:31 -05:00
Denis Kenzior
ebce9fbd4d
Store the tx_next g_source so it can be removed
2009-08-07 16:14:49 -05:00
Denis Kenzior
44e56bf752
Use g_source instead of flag for mpty list changes
2009-08-07 16:14:46 -05:00
Denis Kenzior
eae2f2b3fb
Use g_source instead of flag for call list changes
2009-08-07 16:14:40 -05:00
Denis Kenzior
f4037d77f7
Fix sim ADN type of number handling
...
The type of number stored here is not quite the same as SMS number,
and should be parsed differently
2009-08-07 15:49:30 -05:00
Denis Kenzior
f93962078c
Refactor setting MSISDN
...
- Empty lists should be supported, as clearing the MSISDN is OK
- Initialization of empty MSISDN record should also be possible
- Overwriting of unused records should be possible
- Simplify resource cleanup
2009-08-07 15:49:30 -05:00
Denis Kenzior
6f9e386424
Keep new numbers in the main sim data structure
...
No sense to allocate / free memory for a single pointer
2009-08-07 15:49:30 -05:00
Denis Kenzior
7eb440e864
Move error label to a more logical place
2009-08-07 15:49:30 -05:00
Denis Kenzior
e5082b4b78
Move variable declarations to a move logical place
2009-08-07 15:49:30 -05:00
Andrzej Zaborowski
988f0ffbed
Make SubscriberNumbers writable.
...
This implements writing SubscriberNumbers if the SIM allows this
(optional to the SIM provider). Because the property is an array
of phone numbers, setting the property needs to write multiple
records on the SIM so it's not atomic and potentially can fail
partially. In this case we have to report a write error to DBus
client but at the same time file may be changed and we send a
PropertyChanged.
2009-08-07 15:49:30 -05:00
Andrzej Zaborowski
d6aae60983
Make SIM op queue more robust.
...
This allows ofono_sim_read and ofono_sim_write callbacks to queue new
read or write operations. The callback must not be called between
removing the operation from queue and checking queue length.
2009-08-07 15:49:30 -05:00
Denis Kenzior
572a89cce2
Fix style
2009-08-06 17:33:44 -05:00
Denis Kenzior
6989732e3a
Fix style
2009-08-06 17:33:00 -05:00
Denis Kenzior
c2144be486
Add whitespace properly
2009-08-06 17:29:55 -05:00
Denis Kenzior
d4ccad4b72
Fix trailing whitespace
2009-08-06 17:29:11 -05:00
Denis Kenzior
24ded594ef
No spaces between variable and ++/--
2009-08-06 17:26:36 -05:00
Denis Kenzior
a7cfcae752
Fix trailing whitespace
2009-08-06 17:24:46 -05:00
Denis Kenzior
89effa1723
Squash warning
2009-08-06 15:42:22 -05:00
Denis Kenzior
d6c58caadc
Squash warning
2009-08-06 15:42:22 -05:00
Denis Kenzior
ee2a88c678
Squash warning
2009-08-06 15:42:22 -05:00
Andrzej Zaborowski
d0b91bfbc8
Attempt to update MBDN based on Enhanced VM IEI
2009-08-05 13:33:35 -05:00
Andrzej Zaborowski
9a55de9cd0
Implement committing the EF-MBDN records to SIM
2009-08-05 13:32:49 -05:00
Andrzej Zaborowski
e8552dde07
Add utility for building ADN records
...
Used to populate MSISDN, MBDN, etc records on the SIM
2009-08-05 13:25:31 -05:00
Andrzej Zaborowski
ad6b8adebb
Expose address encode/decode utilities
...
These can be used elsewhere, in particular for decoding the
enhanced message waiting notification ieis
2009-08-05 13:19:54 -05:00
Andrzej Zaborowski
4c3ae72b36
Add encode_bcd_number utility function
2009-08-05 13:17:08 -05:00
Denis Kenzior
965fc09e6a
Don't emit signals for unexposed properties
...
Signals shouldn't be emitted, but we should still track the information
so it can be written to the SIM reliably
2009-08-05 12:45:55 -05:00
Denis Kenzior
2d12b296e0
Don't hardcode info len to 6
2009-08-05 12:35:08 -05:00
Denis Kenzior
fdc129e3e2
Make method async
2009-08-05 12:33:57 -05:00
Denis Kenzior
b7c51f9028
Remove unused declaration
2009-08-05 12:33:01 -05:00
Andrzej Zaborowski
d36f8d868a
Use invalid_args instead of invalid_format
2009-08-05 12:20:28 -05:00
Denis Kenzior
e117f3112a
Refactor how mwis updates are done
2009-08-04 15:10:50 -05:00
Denis Kenzior
c7d29c44a8
Name the callback properly
2009-08-04 15:10:50 -05:00
Denis Kenzior
28817cc671
Don't emit SubscriberNumbers multiple times
...
We would emit the signal even if the record could not be parsed
2009-08-04 15:10:49 -05:00
Denis Kenzior
36a57c366d
Refactor how MBDN set is done
2009-08-04 15:10:49 -05:00
Denis Kenzior
876ef77adb
Don't gmalloc something that is max 140 bytes
2009-08-04 15:10:49 -05:00
Denis Kenzior
f6628b81b9
Get rid of message-waiting.h
2009-08-04 15:10:49 -05:00
Denis Kenzior
c6bef71617
Fix minor style issues
2009-08-04 15:10:49 -05:00
Denis Kenzior
66e5eeeae0
Use invalid_args instead of invalid_format
2009-08-04 15:10:49 -05:00
Andrzej Zaborowski
203ed17cec
Add a MessageWaiting interface to track message waiting indications.
...
The state of the indications is kept in memory and written back to
the SIM after any changes.
2009-08-04 15:08:11 -05:00
Denis Kenzior
ba8ef5c3e4
Fix segfault when pnn record doesn't exist
2009-08-04 15:08:08 -05:00
Denis Kenzior
2ce16d2b0c
Put defines near the top
2009-08-04 15:08:06 -05:00
Denis Kenzior
d145a47108
Port Andrew's TFR patch
2009-08-04 15:01:52 -05:00
Denis Kenzior
090b771762
Make sim_op_info_cb caching a bit more readable
2009-08-04 15:01:49 -05:00
Denis Kenzior
320defb9c6
Make cache a gboolean
2009-08-04 15:01:46 -05:00
Denis Kenzior
6182c92ef7
Make sim_op_retrieve_cb a bit more readable
2009-08-04 15:01:42 -05:00
Andrzej Zaborowski
749a83d033
Check write() return values in sim.c for errors.
2009-08-04 15:01:39 -05:00
Andrzej Zaborowski
3cb6e1c90b
Fix invalid queue use in sim_write_cb
...
Since we pop the queue's head, we can't use sim_op_error
2009-08-04 15:01:36 -05:00
Marcel Holtmann
bbc2a56986
Fix over-complicated code flow that results in uninitialized variables
2009-08-03 11:20:46 -07:00
Andrzej Zaborowski
fbec2de660
Make sure SIM read callbacks die cleanly.
2009-08-03 12:43:32 -05:00
Denis Kenzior
a11bce5467
Make is_read a gboolean
2009-08-03 12:41:44 -05:00
Andrzej Zaborowski
4cdf56cabe
Implement ofono_sim_write
...
Writes use sim->simop_q queue together with reads.
2009-08-03 12:40:39 -05:00
Andrzej Zaborowski
0809e33659
Fix possible memory leak on SIM reading error.
...
This would also stall the SIM op queue if there's a read error for a record
other than the first. The other solution would be "goto next;" (keep
reading further records).
2009-07-31 09:56:44 -05:00
Andrzej Zaborowski
cfce4413c6
Don't use g_slist_length to check for empty lists.
...
A glib Anti-pattern according to http://www.burtonini.com/blog
2009-07-31 09:56:21 -05:00
Andrzej Zaborowski
ebf6fca07a
Clean up in sim.c.
...
Remove unused variables and fields.
Move EFadn format parsing to a common function because various files use
this same format.
2009-07-31 09:55:46 -05:00
Andrzej Zaborowski
049e573691
Use STORAGEDIR autoconf voodoo from Bluez.
2009-07-29 17:22:12 -05:00
Denis Kenzior
3e6d4237cb
Remove all uses of modem.h
2009-07-29 16:53:19 -05:00
Denis Kenzior
8e4d029d84
Get rid of modem.h
2009-07-29 16:44:17 -05:00
Denis Kenzior
98436eb539
Get rid of unnecessary function
2009-07-29 16:44:17 -05:00
Denis Kenzior
a2d310642f
Move ofono_modem functions to modem.c
2009-07-29 16:44:17 -05:00
Denis Kenzior
ea4886816f
Move MODEM_INTERFACE to dbus.h
2009-07-29 16:44:17 -05:00
Denis Kenzior
b50291466d
Move MANAGER_PATH to dbus.h
2009-07-29 16:44:17 -05:00
Denis Kenzior
1e9580a044
Move MANAGER_INTERFACE to dbus.h
2009-07-29 16:44:16 -05:00
Denis Kenzior
cb75833fc8
Rename ofono_modem_userdata
2009-07-29 16:44:16 -05:00
Denis Kenzior
4fbca244ea
Make plugins use ofono_modem_get_path
2009-07-29 16:44:16 -05:00
Denis Kenzior
19eeb7f1ba
Rename modem_add_interface / modem_remove_interface
...
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior
be064f92a5
Rename modem_alloc_callid, modem_release_callid
2009-07-29 16:44:16 -05:00
Denis Kenzior
47dab3468e
Move ofono_modem definition to ofono.h
2009-07-29 16:44:16 -05:00
Denis Kenzior
35a43b8367
Rename internal ofono history funcs to __ofono
2009-07-29 16:44:16 -05:00
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
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
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
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
Denis Kenzior
72345b4175
Don't escape phonebooks
2009-07-16 17:22:04 -05:00
Denis Kenzior
f574b5a075
Fix uninitialized warning
2009-07-15 12:10:02 -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
Denis Kenzior
82ede4d647
Move PNN reading to network.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
9a565d88b1
Refactor sim_pnn_operator_parse
2009-07-14 15:45:05 -05:00
Denis Kenzior
38eebca61f
Move PNN operator parsing to simutil
2009-07-14 15:45:05 -05:00
Denis Kenzior
80f43ff849
Move function to simutil.c
2009-07-14 15:45:05 -05:00
Denis Kenzior
f6aa6e473c
Move enum to simutil.h
2009-07-14 15:45:05 -05:00
Denis Kenzior
05c4ae4793
Remove unneeded function
2009-07-14 15:45:04 -05:00
Denis Kenzior
d12210ba54
Remove unneeded variables
2009-07-14 15:45:04 -05:00
Denis Kenzior
e13b933cbb
Move enum to simutil.h
2009-07-14 15:45:04 -05:00
Denis Kenzior
1df261cdb9
Refactor MSISDN reading
2009-07-14 15:45:04 -05:00
Denis Kenzior
5207f4063e
If reading one fails, don't bother reading rest
2009-07-14 15:45:04 -05:00
Denis Kenzior
285712e5d4
Add TODO comment
2009-07-14 15:45:04 -05:00
Denis Kenzior
097aeccc9a
Change the way SIM is initialized
2009-07-14 15:45:04 -05:00
Denis Kenzior
541682f89d
Add sim file reading / writing utilities
2009-07-14 15:45:04 -05:00
Denis Kenzior
04f6924099
Add IMSI getter method
2009-07-14 15:45:04 -05:00
Denis Kenzior
acc65afcee
Add get/set sim readiness functions
2009-07-14 15:45:04 -05:00
Denis Kenzior
165a78e7e9
Remove some SPN stuff from SIM
2009-07-14 15:45:03 -05:00
Denis Kenzior
d0fbef76bd
Add sim ready notify functions
2009-07-14 15:45:03 -05:00
Denis Kenzior
ffb5d3da94
Remove unnecessary value
2009-07-14 15:45:03 -05:00
Denis Kenzior
bed14e8527
Remove unneeded functions
2009-07-14 15:45:03 -05:00
Denis Kenzior
b945c111b7
Move utility to its own file
2009-07-14 15:45:03 -05:00
Denis Kenzior
084b1a4c61
Get rid of override_name from operator
2009-07-14 15:45:03 -05:00
Denis Kenzior
2de9ad258b
Cleanup network_name_parse
2009-07-14 15:45:03 -05:00
Andrzej Zaborowski
98a4308b30
Read EF-PNN, EF-OPL and override network names accordingly.
2009-07-14 15:45:03 -05:00
Marcel Holtmann
feb36e2d5b
Fix stupid false positive warnings about uninitialized variables
...
The GCC check for uninitialized variables is so useful that dealing
with the false positives is just a minor inconvenience.
The following GCC trick helps to silence them:
#define uninitialized_var(x) x = x
This way no code obfuscation is needed to compile smoothly and the
code stays readable. And the author has to actually think about it.
2009-07-14 06:06:46 +02:00
Denis Kenzior
90f3cdb8d6
Fix unused variable warnings
2009-07-13 22:33:48 -05:00
Denis Kenzior
ce996638b9
Fix suggest parantheses warning
2009-07-13 22:33:48 -05:00
Denis Kenzior
683cee1c1c
Fix unused variable warning
2009-07-13 22:33:48 -05:00
Denis Kenzior
04aae280a0
Fix signedness warning
2009-07-13 22:33:48 -05:00
Denis Kenzior
9cc2ce32f7
Fix unused variable
2009-07-13 22:33:48 -05:00
Denis Kenzior
f298b7ac98
Fix signedness warnings
2009-07-13 22:33:47 -05:00
Denis Kenzior
03c7dcf024
Fix unused variables
2009-07-13 22:33:47 -05:00
Denis Kenzior
20fb6149a7
Remove uninitialized warning
2009-07-13 22:33:47 -05:00
Denis Kenzior
8d88ff2e11
Don't process surrogate pair chars
...
These are not valid UCS2 chars
2009-07-07 14:33:59 -05:00
Denis Kenzior
5f04cb1c3e
Fix length check for valid UCS2 starting with 0xff
2009-07-07 14:33:59 -05:00
Denis Kenzior
35f7c4b068
Fix status of operator unknown case
...
When the current operator is reported, it's status is listed as
unknown if no other operators are in the operator list
2009-07-07 14:33:59 -05:00
Denis Kenzior
c093a75f89
Convert SIM strings properly
2009-07-06 19:33:30 -05:00
Denis Kenzior
467db7dd7f
Add utility to convert SIM FS strings to UTF8
2009-07-06 19:33:24 -05:00
Denis Kenzior
ee38e24040
GSM to UTF8 should accept empty strings
2009-07-06 19:32:23 -05:00
Denis Kenzior
a9f776123e
Add Cell Broadcast assembly utilities
2009-07-02 19:03:05 -05:00
Denis Kenzior
807201e969
Fix memory leak
2009-07-02 19:03:05 -05:00
Denis Kenzior
d717908c69
Don't hardcode
2009-07-02 19:03:04 -05:00
Denis Kenzior
e391d8d581
Add CBS Text converter utility
2009-07-02 19:03:04 -05:00
Denis Kenzior
ac56263a57
Add cbs lang to ISO 639 conversion utility
2009-07-02 19:03:04 -05:00
Denis Kenzior
8d99a2a25f
Add app-port extraction utility for CBS
2009-07-02 19:03:04 -05:00
Denis Kenzior
d73dae9f2a
Make sms_udh_iter work for Cell Broadcast messages
2009-07-02 19:03:04 -05:00
Denis Kenzior
b1602d49e5
Add Cell Broadcast encoding / decoding utilities
2009-07-02 19:03:04 -05:00
Denis Kenzior
97d53bf0ec
Add DCS decoder for Cell Broadcast
2009-07-02 19:03:04 -05:00
Yang Gu
56863f7f50
Change sequence in phonebook merge_list
2009-07-01 10:48:51 -05:00
Rémi Denis-Courmont
c1b8ac0a83
ofonod: missing dependencies on convenience libraries
...
Without this, plain "make" does not work properly when gatchat or
gisi, or one of the built-in drivers or plugins are modified.
2009-06-29 21:01:35 +03:00
Yang Gu
8f737d8699
Add E-UTRAN as access technology of network op
2009-06-25 11:45:29 -05:00
Aki Niemi
66604021bd
Add new ISI modem driver to build
2009-06-25 10:03:47 +03:00
Denis Kenzior
8199937bb5
Fix when the same operator reported multiple times
2009-06-23 10:25:32 -05:00
Denis Kenzior
1ec714f49e
Make signature match properly
2009-06-22 14:46:31 -05:00
Denis Kenzior
369f8d0c84
Minor style issues
2009-06-22 13:22:14 -05:00
Andrzej Zaborowski
6ee516ac09
Read EF-SPDI and use it for SPN display.
...
When the operator is one of those listed in EF-SPDI then we need to
treat it like a HPLMN in deciding whether the SPN or PLMN name should
be displayed.
2009-06-22 13:22:14 -05:00
Andrzej Zaborowski
fde5fc5a83
Add write/read operations for cyclic files in SIM.
2009-06-22 13:22:14 -05:00
Denis Kenzior
17b7444b47
Make compiler happy
2009-06-22 13:22:14 -05:00
Denis Kenzior
bc831313b3
Cleanup phonebook again
2009-06-22 13:22:13 -05:00
Yang Gu
95ec7c126f
Merge phonebook entries belong to one person
2009-06-22 13:22:13 -05:00
Denis Kenzior
130f18a0b6
Add SMS Sending Support
2009-06-19 21:15:02 -05:00
Denis Kenzior
b42c2bc79f
Some fixes to sms_text_prepare
2009-06-19 21:13:56 -05:00
Denis Kenzior
61a4b0fee9
Add address from string utility for SMS
2009-06-19 21:13:54 -05:00
Denis Kenzior
a8dc75392c
Fix minor bug in phone number handling
2009-06-19 21:13:52 -05:00
Denis Kenzior
990ab62207
Update unit tests
2009-06-19 21:13:20 -05:00
Denis Kenzior
16118320fd
Utility to create SMS, both fragmented and not
2009-06-19 21:12:37 -05:00
Denis Kenzior
492795c4c8
Add utility function
2009-06-19 21:12:19 -05:00
Denis Kenzior
b49479b2b4
Minor style issue
2009-06-19 21:12:18 -05:00
Denis Kenzior
5068e895cb
Don't fail in own_buf if items_written is NULL
2009-06-19 21:12:16 -05:00
Denis Kenzior
fe486efadd
Fix another logic bug in SS parser
...
If the passwords do not match, it is still a recognized string,
but we must return invalid format
2009-06-18 16:58:08 -05:00
Denis Kenzior
2982a7962f
Minor style issue
2009-06-18 16:58:05 -05:00
Denis Kenzior
0c8aed38d7
Fix logic flow in SS parser
2009-06-18 16:58:03 -05:00
Andrzej Zaborowski
b091f7b186
Add CallBarring::ChangePassword
2009-06-18 16:58:00 -05:00
Andrzej Zaborowski
f93376229a
Teach USSD to recognise password change strings.
...
This is slightly hacky, part of ussd.c responsible for registering services
is duplicated and parse_ss_control_string is modified to accept a fourth
SI fragment in the input string.
2009-06-18 16:57:58 -05:00
Andrzej Zaborowski
9156607bc9
Move struct ussd_data definition out of the header.
...
No fuctional change.
2009-06-18 16:57:57 -05:00
Denis Kenzior
98a3826ab8
Don't bother reporting subscriber numbers by type
2009-06-18 04:02:15 -05:00
Denis Kenzior
6fdf580a5d
Cleanup EFmsisdn reading patch
2009-06-18 04:02:13 -05:00
Denis Kenzior
314478c756
Add a new extract_bcd_number utility
2009-06-18 04:02:10 -05:00