Yang Gu
6780c0282a
Add parser for bearer objects
2010-04-14 12:25:08 -05:00
Denis Kenzior
d63e33d5e5
Fix: Handle NULL URLs
2010-04-14 12:23:42 -05:00
Yang Gu
97bd01ba1b
Add parser for url objects
2010-04-14 12:22:22 -05:00
Yang Gu
7fce623ea9
Fix the logic when parsing c-apdu objects
2010-04-14 12:16:08 -05:00
Denis Kenzior
398acbc976
Fix: Make the C-APDU logic more readable
2010-04-02 11:28:02 -05:00
Denis Kenzior
c2d46ba4eb
Style: Multiline comments
2010-04-02 11:20:44 -05:00
Denis Kenzior
5665cefd47
Fix: Tweak the language parser
2010-04-02 11:19:03 -05:00
Denis Kenzior
af3af57696
Fix: Remove erroneous comment
2010-04-02 11:11:53 -05:00
Denis Kenzior
30c07824ed
Fix: AT Commands are probably just text
2010-04-02 11:11:13 -05:00
Denis Kenzior
6fb687b996
Fix: Trivial indentation issues
2010-04-02 11:08:41 -05:00
Yang Gu
46f5f65214
Add parser for browser identity objects
2010-04-02 11:05:42 -05:00
Yang Gu
f5c0041240
Add parser for language objects
2010-04-02 11:05:17 -05:00
Yang Gu
fa846bd4a4
Add parser for dtmf string objects
2010-04-02 11:04:44 -05:00
Yang Gu
2490058b08
Add parser for bc repeat indicator objects
2010-04-02 11:03:07 -05:00
Yang Gu
0958247c3f
Add parser for at response objects
2010-04-02 11:02:53 -05:00
Yang Gu
94b4c25517
Add parser for at command objects
2010-04-02 11:02:42 -05:00
Yang Gu
1ae1fc8778
Add parser for date-time and time zone objects
2010-04-02 11:01:56 -05:00
Yang Gu
b20e0d2bf5
Make function decode_scts public
2010-04-02 11:00:56 -05:00
Yang Gu
5b7de64aca
Add parser for timer value objects
2010-04-02 10:59:45 -05:00
Yang Gu
8bc04ba93a
Refactor: Break out semi-octet decoder
...
Refactor decode_scts to use this function
2010-04-02 10:58:53 -05:00
Yang Gu
8bad7e540a
Add parser for timer identifier objects
2010-04-02 10:56:15 -05:00
Yang Gu
5f9f4fedee
Add parser for r-apdu objects
2010-04-02 10:55:55 -05:00
Yang Gu
afc2cb84e3
Add parser for c-apdu objects
2010-04-02 10:54:47 -05:00
Yang Gu
8e91f477f9
Add parser for card atr objects
2010-04-02 10:47:37 -05:00
Yang Gu
eef57d221c
Add parser for card reader status objects
2010-04-02 10:46:23 -05:00
Denis Kenzior
0aebcb342c
Fix: Regression in PIN validity checking
2010-04-02 09:17:34 -05:00
Andrzej Zaborowski
b6d4dd78c4
Refactor: Return a string from USSD Respond method
...
Return network's USSD reponses from the Respond method instead of
signaling over D-Bus. This should make the UI writer's job a little
easier.
2010-03-31 13:49:31 -05:00
Andrzej Zaborowski
42ef218668
Use stkutil named constants in sim.c
2010-03-31 13:06:14 -05:00
Denis Kenzior
33e11e910c
Fix: Be more consistent with other boundary checks
2010-03-31 12:22:57 -05:00
Denis Kenzior
8768afb6df
Style: indentation fixes
2010-03-31 12:20:02 -05:00
Yang Gu
744c86a78b
Fix: Increate iterator when parsing fails
...
If the comprehension TLV tag matches the expected handler, and the
handler fails to parse the tag, then increase the iterator.
2010-03-31 12:16:39 -05:00
Yang Gu
3436bcac05
Rename stk_icon_identifier to stk_icon_id
2010-03-31 12:15:31 -05:00
Yang Gu
be20435b58
Add parser for item icon identifier list objects
2010-03-31 12:15:08 -05:00
Yang Gu
0300462b42
Add enum for icon qualifier
2010-03-31 12:14:33 -05:00
Yang Gu
ee4a3d2b12
Add parser for call control requested action objects
2010-03-31 12:14:24 -05:00
Yang Gu
f15a5c73b4
Add parser for transaction identifier objects
2010-03-31 12:13:46 -05:00
Yang Gu
8b57078825
Add parser for location status objects
2010-03-31 12:13:17 -05:00
Yang Gu
51889d7f03
Add parser for cause objects
2010-03-31 12:12:57 -05:00
Yang Gu
fc85e158e9
Add parser for event list objects
2010-03-31 12:12:10 -05:00
Yang Gu
a60ae2b7ba
Add parser for items next action indicator objects
2010-03-31 12:11:39 -05:00
Yang Gu
d9f063f431
Reorder the declarations of stk data objects
2010-03-31 12:10:40 -05:00
Denis Kenzior
f60e6ce134
Refactor: Text / Default text parsing
2010-03-30 10:21:57 -05:00
Denis Kenzior
402c27f914
Refactor: Break out the STK text decoding utility
...
This can be used for other data objects than text and default text
2010-03-30 10:21:56 -05:00
Denis Kenzior
f8140bf66b
Refactor: generic boolean parsers
2010-03-30 10:21:54 -05:00
Denis Kenzior
8646e13bf3
Refactor: Don't repeat tag checking ad naseum
...
The tag checking can be done safely once inside the main parsing
function, no need to repeat it in the individual object parsers.
2010-03-30 10:21:54 -05:00
Denis Kenzior
5b9888ce3b
Style: More consistent indentation
2010-03-30 10:21:53 -05:00
Denis Kenzior
1889070314
Fix: measurement results are binary data
2010-03-29 16:40:14 -05:00
Yang Gu
8045516d58
Add parser for network measurement results objects
2010-03-29 16:39:43 -05:00
Marcel Holtmann
9ee614b64b
Check for capabilities support via libcap-ng
2010-03-29 11:06:04 -07:00
Denis Kenzior
7972f844c7
Refactor: Simplify the internal GPRS API
...
We no longer expose lac/ci/tech attributes obtained from CGREG
(some modems, like ISI, do not even report them for GPRS separately).
Simplify the internal gprs driver api to only report the registration
status (e.g. home, roaming, searching, not registered, etc)
2010-03-26 23:00:28 -05:00
Denis Kenzior
88994bbe81
Refactor: Get rid of DCM properties
...
Be conformant with the API changes from the previous commit
2010-03-26 23:00:28 -05:00
Denis Kenzior
59a2bcd380
Fix: No need to malloc memory for this
2010-03-25 11:39:45 -05:00
Yang Gu
b42248b480
Add parser for help request objects
2010-03-25 11:37:09 -05:00
Yang Gu
765861b82b
Refactor: Use common bool to implement imm resp
2010-03-25 11:36:49 -05:00
Yang Gu
77747fbc4f
Add parser for common bool object
2010-03-25 11:36:11 -05:00
Yang Gu
dcb62b8df1
Add parser for imei objects
2010-03-25 11:36:11 -05:00
Yang Gu
cf38ef05ba
Add parser for location information objects
2010-03-25 11:36:11 -05:00
Yang Gu
a13db81229
Make the function to parse mcc and mnc public
2010-03-25 11:36:11 -05:00
Yang Gu
8ecf7fd24d
Rename: stk data object enum names
...
Be more consistent
2010-03-25 11:35:32 -05:00
Denis Kenzior
e05318aa5a
Refactor: Rename netreg Operator property to Name
2010-03-25 10:57:52 -05:00
Denis Kenzior
538cd6a1cb
Refactor: Rename radio setting type names
2010-03-25 10:42:48 -05:00
Denis Kenzior
77693b697d
Rename AvailableOperators to Operators
2010-03-25 10:37:46 -05:00
Denis Kenzior
1e783b33d9
Refactor: Simplify Technology values
...
Applications don't really understand our current values very well and
would need to look up the spec. Instead we change to much more commonly
accepted terms.
2010-03-25 10:29:01 -05:00
Denis Kenzior
9390dbaf31
Refactor: Remove MobileNetworkCodeLength property
...
Replaced by MNC/MCC properties which is more intuitive for use by
external applications.
2010-03-25 10:21:37 -05:00
Yang Gu
dd2a1e648b
Add enum for cdma sms tpdu data objects
2010-03-24 15:23:50 -05:00
Yang Gu
6e70b6eeea
Fix enum for more time proactive command
2010-03-24 15:23:49 -05:00
Denis Kenzior
d3ac9188f0
Fix: Handle broken modems that returns empty COPS
2010-03-23 21:16:50 -05:00
Denis Kenzior
01a4a93bee
Move netreg interface definitions to dbus.h
2010-03-23 13:35:58 -05:00
Denis Kenzior
5609034d97
Style: Fixup some style issues
...
- Large if statements should be handled as switchcase
- Avoid initialization of variables, even if code needs to be rearranged
2010-03-23 12:31:00 -05:00
Yang Gu
0ef68e31e2
Add parser for file list objects
2010-03-23 12:12:03 -05:00
Denis Kenzior
a5d54581ad
Move sim manager interface definition to dbus.h
2010-03-22 15:39:13 -05:00
Denis Kenzior
0e09221ea5
Move cbs interface definition to dbus.h
2010-03-22 15:36:04 -05:00
Denis Kenzior
500f291030
Move call volume interface definition to dbus.h
2010-03-22 15:33:56 -05:00
Denis Kenzior
bbfd7db3cc
Move mwi interface definition to dbus.h
2010-03-22 15:31:03 -05:00
Denis Kenzior
6425706c9d
Move radio settings interface definition to dbus.h
2010-03-22 15:29:03 -05:00
Denis Kenzior
5ab70ab5f2
Move sms interface definition to dbus.h
2010-03-22 15:28:08 -05:00
Denis Kenzior
e1e036b5df
Move voicecall interface definitions to dbus.h
2010-03-22 15:27:08 -05:00
Marcel Holtmann
256c6e14c7
Revert the default statement for PIN type checking
...
Also fix the coding style for the switch statement and remove the
number assignment for an internal enum.
2010-03-20 02:26:57 +01:00
Denis Kenzior
d6e78f7828
Trivial: Add break statement
...
In case we ever extend the enum/switch and unwittingly introduce a bug.
2010-03-19 13:52:57 -05:00
Pekka Pessi
9a398a1087
Fix: Check password length based on its type
...
The different password types have different length requirements, so
update is_valid_pin to validate according to the password type being
validated (PIN / PUK / NET)
2010-03-19 13:48:04 -05:00
Pekka Pessi
3f6da155bd
Fix: Interrogation of barring does not need pin
2010-03-18 11:36:19 -05:00
Pekka Pessi
7b62731ded
Fix: Number of barring services is constant
2010-03-18 11:36:09 -05:00
Denis Kenzior
d1c85bd14c
Style: Remove the now unnecessary braces
2010-03-18 11:27:06 -05:00
Pekka Pessi
cf18a9df27
Fix: Return newly-queried barring status
...
We were returning the contents of the old locks
2010-03-18 11:13:22 -05:00
Pekka Pessi
15a4ecf8a8
Fix: call barring can only be (de)activated
2010-03-18 11:09:36 -05:00
Denis Kenzior
b3a6883125
Fix: Use g_try_malloc when parsing stk result
2010-03-16 17:42:18 -05:00
Denis Kenzior
e246b414c9
Fix: Use g_try_malloc when parsing stk address
2010-03-16 17:42:08 -05:00
Denis Kenzior
213e1ed65a
Fix: Use g_try_malloc instead of g_malloc in util
...
In these cases we were checking for NULL return, but the function used
should have been g_try_malloc instead.
2010-03-16 17:21:06 -05:00
Denis Kenzior
68b01ce93e
Refactor: create_dirs logic
...
- Remove reference to g_malloc and replace with g_try_malloc
- Be extra pedantic on the inputs
- Refactor the logic to make it slightly easier to follow
2010-03-16 17:19:01 -05:00
Denis Kenzior
62007cd074
Fix: Fixup error paths in sim_op_check_cached
2010-03-16 15:45:04 -05:00
Denis Kenzior
b025179101
Fix: avoid assigning to return structure on error
2010-03-16 15:30:07 -05:00
Denis Kenzior
66557e0d2b
Style: Spaces before / after arithmetic operations
2010-03-16 15:30:07 -05:00
Denis Kenzior
d18d66b712
Style: Align the enum values to be easier to read
2010-03-16 15:30:07 -05:00
Yang Gu
26f28df18a
Handle the conversion failure when parsing item
2010-03-16 15:30:06 -05:00
Yang Gu
69846439e6
Fix the structure of stk_subaddress
2010-03-16 15:30:06 -05:00
Denis Kenzior
79630b2bd4
Add stk tone type enum
2010-03-15 21:11:11 -05:00
Denis Kenzior
e64596f1dc
Add parser for STK send sms proactive commands
2010-03-15 21:02:06 -05:00
Denis Kenzior
a16f270eb1
Refactor: stk send_sms datastructure
2010-03-15 21:02:06 -05:00
Denis Kenzior
6986cc4760
Refactor: stk result dataobject
2010-03-15 21:02:06 -05:00
Denis Kenzior
a74bd04edf
Reorder: stk response length structure
...
Follow the order of the specification
2010-03-15 21:02:06 -05:00