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