Commit Graph

2198 Commits

Author SHA1 Message Date
Aki Niemi 144b30ac6d Add isimodem gprs context driver 2010-04-20 14:16:26 +03:00
Aki Niemi a7989b7cbb Add isimodem gprs driver 2010-04-20 14:16:18 +03:00
Aki Niemi f62f6076c1 Add PN_GPDS code points and debugging 2010-04-20 14:11:07 +03:00
Aki Niemi eefcdc9f44 Add SIM inserted notification
TODO: This is a temporary solution. Trigger the inserted notification
on actual SIM state changes instead.
2010-04-20 14:10:52 +03:00
Aki Niemi 19d9b37c58 gisi: fix pointer checking 2010-04-20 14:10:38 +03:00
Aki Niemi 5d7bf546ef gisi/pep: check for NULL callback 2010-04-20 14:10:33 +03:00
Aki Niemi 0f1db581da Remove declaration of unused dump_msg() 2010-04-20 14:10:17 +03: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 cc0ffd1720 Rename ofono_atmodem_poll_enable
This is not official oFono API
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski 14bcca32c0 Implement STATUS polling in atmodem driver. 2010-04-15 16:49:43 -05:00
Denis Kenzior f1b61640f7 Fix: should be unsigned char not guint8 2010-04-15 16:49:43 -05:00
Denis Kenzior 110de93f4c Style: Proper indentation 2010-04-15 16:49:43 -05:00
Andrzej Zaborowski b34c35d822 Add AT driver for STK atom. 2010-04-15 16:49:42 -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 54552f1c33 Fix: Style issues in stk driver API 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
Marcel Holtmann 123b87de2c No to check for NULL pointers with g_free 2010-04-15 04:42:03 -07:00
Kristen Carlson Accardi 60643ee287 ppp: nak unknown auth protocol
If we are sent a Config-Request for an auth proto other than
CHAP with MD5, send a NAK.
2010-04-14 17:16:03 -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