Commit Graph

979 Commits

Author SHA1 Message Date
Yang Gu 642a7ed3ec stkutil: Add parser for frame layout objects 2010-04-23 11:52:17 -05:00
Yang Gu b0d9e6df17 stkutil: Add parser for browsing status objects 2010-04-23 11:52:17 -05:00
Zhenhua Zhang 7111325311 Fix a typo in telephony_error_to_str 2010-04-23 11:52:17 -05:00
Andrzej Zaborowski 6e28fd9396 Fix CTLV three-byte tag parsing. 2010-04-22 17:44:20 -05:00
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