Commit Graph

902 Commits

Author SHA1 Message Date
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