Denis Kenzior
a7fb1624fd
stkutil: Another trivial indentation fix
2010-04-21 10:29:27 -05:00
Yang Gu
29e03d316b
Add parser for battery state objects
2010-04-21 10:28:43 -05:00
Yang Gu
3e52bb0503
Add parser for network search mode objects
2010-04-21 10:28:21 -05:00
Yang Gu
cabb1c89a8
Add parser for imeisv objects
2010-04-21 10:27:58 -05:00
Yang Gu
e374b558a2
Add parser for item text attribute list objects
2010-04-21 10:26:04 -05:00
Yang Gu
3e5bf2f6bb
Add parser for cdma sms tpdu objects
2010-04-21 10:25:38 -05:00
Denis Kenzior
fdfff04073
stkutil: Refactor network access name
...
Don't allow 0 byte objects
2010-04-21 10:23:56 -05:00
Yang Gu
ee85ca8d7a
Add parser for network access name objects
2010-04-21 10:18:16 -05:00
Denis Kenzior
d2830249c6
stkutil: Trivial indentation fix
2010-04-21 10:17:20 -05:00
Yang Gu
6ac8188ce2
Add parser for esn objects
2010-04-21 10:16:57 -05:00
Denis Kenzior
d211da15b2
stkutil: Refactor remote entity address
...
Don't assign to the return structure until we know we can successfully
parse.
2010-04-21 10:14:04 -05:00
Yang Gu
fdfb64d9f1
Add parser for remote entity address objects
2010-04-21 10:12:41 -05:00
Yang Gu
f78de0f762
Add parser for service availability objects
2010-04-21 10:10:56 -05:00
Denis Kenzior
24aee7a6b0
stkutil: Refactor attribute information
...
Only Bluetooth & IRDA are really defined by the specification
2010-04-21 10:09:12 -05:00
Yang Gu
9b911a8d59
Add parser for attribute information objects
2010-04-21 10:08:28 -05:00
Denis Kenzior
9fa51c4fb5
stkutil: Refactor service search
...
Only Bluetooth & IRDA are really defined by the specification
2010-04-21 10:07:32 -05:00
Yang Gu
2c2bcced5e
Add parser for service search objects
2010-04-21 10:05:43 -05:00
Denis Kenzior
432effa755
stkutil: refactor device filter
...
Only Bluetooth & IRDA are really defined by the specification
2010-04-21 10:04:13 -05:00
Yang Gu
515eef4db0
Add parser for device filter objects
2010-04-21 09:08:53 -05:00
Yang Gu
05e13603f4
Add parser for service record objects
2010-04-21 09:03:14 -05:00
Yang Gu
aac9596714
Add parser for display parameters objects
2010-04-21 09:02:39 -05:00
Yang Gu
244d4d261e
Add parser for access technology objects
2010-04-21 09:02:17 -05:00
Yang Gu
3dc106c627
Add parser for aid objects
2010-04-20 15:48:46 -05:00
Yang Gu
5bc4834c19
Add parser for UICC/TE transport interface level
2010-04-20 15:45:43 -05:00
Denis Kenzior
88be6109a2
Fix: Don't crash by calling sim watch too early
...
The modem sim watch is only watching for removed and ready conditions,
so no need to call it prematurely
2010-04-15 16:49:43 -05:00
Denis Kenzior
214c7dd776
Fix: Make distcheck happy
2010-04-15 16:49:43 -05:00
Denis Kenzior
50264a311d
Style: Proper indentation
2010-04-15 16:49:42 -05:00
Denis Kenzior
9a9a05095d
Refactor: Keep separate lists for pre/post atoms
2010-04-15 16:49:42 -05:00
Denis Kenzior
0ac64d66e8
Refactor: use a switch/case to make more readable
2010-04-15 16:49:42 -05:00
Andrzej Zaborowski
f27946b4b0
Remove post-sim atoms after SIM is extracted.
2010-04-15 16:49:42 -05:00
Denis Kenzior
1786c17c3f
Refactor: Store the sim object inside voicecalls
...
Makes the logic a bit easier to follow. Also use a switch/case inside
the sim state watcher.
2010-04-15 16:49:42 -05:00
Denis Kenzior
fa37f158d1
Style: Proper indentation
2010-04-15 16:49:42 -05:00
Denis Kenzior
ab4cae5479
Fix: The null check should be done elsewhere
2010-04-15 16:49:41 -05:00
Denis Kenzior
9271842748
Fix: Make the name a bit clearer
2010-04-15 16:49:41 -05:00
Denis Kenzior
632dc4c7e9
Fix: No glib types in oFono public API
2010-04-15 16:49:41 -05:00
Andrzej Zaborowski
1ca8671d11
Handle EFen list when SIM inserted / removed
2010-04-15 16:49:41 -05:00
Denis Kenzior
ee74f53160
Fix: Look for the STK atom, not SIM atom
2010-04-15 16:49:41 -05:00
Denis Kenzior
8f00272563
Fix: Process CBS sim downloads if STK atom exists
2010-04-15 16:49:41 -05:00
Andrzej Zaborowski
aad4d0de78
Add Sim Toolkit atom
...
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00
Denis Kenzior
228e1e735c
Fix: Minor style issues
2010-04-15 16:49:40 -05:00
Denis Kenzior
c63b2c9d44
Fix: Uncomplicate the logic for SIM initialization
...
If we get a sim inserted notify before we are registered, we need to
initialize the SIM once ofono_sim_register is called. The logic for
doing so is rather twisted, simplify it.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
6dc4799d1b
Add SIM "Present" property.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
ddfe8acf11
Drivers can notify core of SIM insertion / removal
...
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.
Make every plugin generate a sim inserted event on start. For devices
with removable card, the event should be emitted after the
plugin detects such event. For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
22cbe98146
Extend sim-ready watch with card insert/eject
2010-04-15 16:49:40 -05:00
Denis Kenzior
962d2fff50
Fix: Use a union for other address objects
2010-04-14 13:10:45 -05:00
Yang Gu
f86c13ce8b
Add parser for other address objects
2010-04-14 12:57:28 -05:00
Yang Gu
db1e61cf3c
Add parser for card reader identifier objects
2010-04-14 12:52:09 -05:00
Yang Gu
c48a6f0c21
Add parser for channel status objects
2010-04-14 12:50:58 -05:00
Yang Gu
491832b907
Add parser for buffer size objects
2010-04-14 12:49:13 -05:00
Yang Gu
c25fba0f07
Add parser for channel data length objects
2010-04-14 12:41:33 -05:00
Yang Gu
4cf275ba8d
Add parser for channel data objects
2010-04-14 12:41:19 -05:00
Yang Gu
3bc3d985ab
Add parser for bearer description objects
2010-04-14 12:40:32 -05:00
Yang Gu
9b3d97d705
Add parser for browser termination cause objects
2010-04-14 12:38:58 -05:00
Yang Gu
03b6249f1e
Add parser for provisioning file reference objects
2010-04-14 12:36:52 -05:00
Yang Gu
b08d90c816
Refactor: Break out stk_file iterator
...
For use by other data object parsers besides file lists
2010-04-14 12:34:02 -05:00
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