Denis Kenzior
a1e67482bb
Simplify cleanup logic
2009-09-18 13:33:22 -05:00
Denis Kenzior
91555b9165
Refactor language preference parsing
...
- Make sure to handle capital / lower case ISO639 strings
- Properly handle the case where files are empty / unused
- Don't emit the signal unless the preferences are useable
- Simplify the logic and be a bit more readable
2009-09-17 14:10:12 -05:00
Denis Kenzior
ef5eb6139a
Simplify function logic
2009-09-17 12:18:48 -05:00
Denis Kenzior
ee33bc6ab7
Use g_ascii_isdigit
2009-09-17 12:17:42 -05:00
Denis Kenzior
8dd574d842
Fix potential memory leak
2009-09-17 12:04:56 -05:00
Denis Kenzior
b3ec3f5fef
Rename function to be more clear
2009-09-17 12:04:45 -05:00
Denis Kenzior
e2a4c4bee8
Use existing function for converting to iso639
2009-09-17 11:53:37 -05:00
Denis Kenzior
26f15e30a8
Assume CBS is registered when SIM ready
2009-09-17 11:53:19 -05:00
Andrzej Zaborowski
623c23c12f
Present list of preferred languages on SimManager interfce.
...
We try to detect the old (2G / 2G+, 51.011) EFlp format and deal
with the file contents accordingly.
2009-09-17 11:42:49 -05:00
Denis Kenzior
12e77a3c70
Convert all the modem drivers to the new API
2009-09-17 10:15:34 -05:00
Denis Kenzior
0698fc2788
Split populate modem driver method
...
Introduce two new methods
- pre_sim - SIM is not inserted or locked. This should populate
the modem with atoms that can be used without the SIM.
Generally this is the devinfo atom, the sim atom and the voice
call atom (emergency calls only)
- post_sim - SIM is ready. This method should populate the
modem with the remaining atoms
2009-09-17 10:14:02 -05:00
Denis Kenzior
35cb156ba9
Add sim api documentation
2009-09-16 17:09:58 -05:00
Denis Kenzior
971ef1c305
Add reading of various CBS related EFs
...
- EFcbmi - Cell Broadcast Identifiers
- EFcbmir - Cell Broadcast Identifier Ranges
- EFcbmid - Cell Broadcast Identifiers for Data Download
2009-09-16 17:09:58 -05:00
Aki Niemi
36198827ab
Miscellaneous clean-ups
2009-09-16 23:37:23 +03:00
Aki Niemi
866c394882
Add proper bootstrapping to phonebook driver
2009-09-16 23:37:23 +03:00
Aki Niemi
0b28b05678
gisi: Make reachability detection more robust
2009-09-16 23:37:23 +03:00
Aki Niemi
e3e5090b6a
Increase network scan/set timeout values
2009-09-16 23:37:23 +03:00
Denis Kenzior
cbe773330f
Make sure unit tests also use right pdu buffer len
2009-09-16 05:07:36 -05:00
Andrzej Zaborowski
6d2cf926f3
Check received PDUs fit in the buffer, fix buffer size.
2009-09-16 04:53:44 -05:00
Denis Kenzior
b83c7acfc9
Fix: do not leak memory, cleanup the topic list
2009-09-16 04:53:41 -05:00
Aki Niemi
a34849599b
Fix restrict keyword usage
2009-09-16 09:05:53 +03:00
Aki Niemi
795e65ad53
Add proper bootstrap using g_isi_verify()
2009-09-15 15:37:01 +03:00
Aki Niemi
b6e37fb792
Remove version query; use gisi/client.h instead
2009-09-15 15:36:11 +03:00
Aki Niemi
8bbd9a8560
gisi: Add ISI version and reachability check API
...
This patch adds an API for querying the ISI version of the resource
with which the client is associated. This information is only
available after g_isi_verify() has been called on the client. This is
because we use the version query message as a vehicle for reachability
checking.
2009-09-15 15:35:47 +03:00
Aki Niemi
bee4bf4d7d
Fix error reporting in phonebook driver
2009-09-15 11:17:39 +03:00
Aki Niemi
0aeb5f3dfd
Remove extra debug
2009-09-15 00:35:22 +03:00
Aki Niemi
af3f54ee43
Fix a possible but improbable leak
2009-09-15 00:20:54 +03:00
Marcel Holtmann
ee0555dda1
Fix compiler warnings on 64-bit systems
2009-09-14 14:10:15 -07:00
RISKÓ Gergely
e72d349483
Add introspection interface to the output of introspection calls
...
This provides better compatibility with some D-Bus clients, such as qdbus.
2009-09-14 14:08:07 -07:00
Aki Niemi
b2bdb41bc0
Fix to use gisi/iter.h to decode sub-blocks
2009-09-14 23:59:59 +03:00
Aki Niemi
e58d28f6b6
Adapt to changed sub-block iterator API
2009-09-14 23:43:57 +03:00
Aki Niemi
3cec9ac67b
Add support for long sub-block header
2009-09-14 23:43:17 +03:00
Aki Niemi
6c08fc8e50
Refactor to use gisi/iter.h
2009-09-14 16:21:35 +03:00
Aki Niemi
69ac9733f4
Modify to use the new alpha tag getter
2009-09-14 16:21:18 +03:00
Aki Niemi
a1ca8a9afa
Add and modify string getters
...
Add a getter for latin ASCII only tags, and change the alpha tag
getter. Turns out not all alpha tags in ISI are of the length-value
variety.
2009-09-14 16:21:06 +03:00
Aki Niemi
d7459f45fc
Coding style clean-ups
2009-09-14 14:53:35 +03:00
Aki Niemi
ddbd19a4be
Use gisi/iter.h for decoding sub-blocks
2009-09-14 14:34:27 +03:00
Aki Niemi
dec66954b6
gisi: Add ISI sub-block iterator
2009-09-14 14:34:00 +03:00
Aki Niemi
ffaba2b637
Clean up IMSI decoding
2009-09-14 14:33:31 +03:00
Aki Niemi
cfd40b2313
Remove trailing WS
2009-09-14 13:00:45 +03:00
Aki Niemi
4904479214
Remove unnecessary debug
2009-09-14 12:54:16 +03:00
Aki Niemi
d83b325a40
Add basic bootsrap for the SMS driver
2009-09-14 12:52:21 +03:00
Aki Niemi
bc7df10c92
Add preliminary CBS driver
2009-09-14 12:51:48 +03:00
Aki Niemi
1c2f4b6097
Add proper bootstrapping for netreg driver
...
Use the ISI version query to bootstrap the netreg driver.
2009-09-14 12:45:54 +03:00
Aki Niemi
843f0c07e2
Remove unnecessary debugs
2009-09-14 12:44:59 +03:00
Aki Niemi
e79d5ad208
Fix registration status decoding
2009-09-12 22:39:50 +03:00
Aki Niemi
d2a42c71dd
Fixes for proper coding style
2009-09-12 21:44:11 +03:00
Aki Niemi
3bfa5c47c0
Fix signal strength value calculation
2009-09-12 19:30:58 +03:00
Aki Niemi
df8a202e94
Add IMSI retrieval to sim driver
...
Modified patch originally provided by Jukka Saunamäki.
2009-09-12 18:58:18 +03:00
Aki Niemi
6ee21a3fc1
Fix to use new success/failure callback macros
2009-09-12 18:57:16 +03:00