Commit Graph

2212 Commits

Author SHA1 Message Date
Aki Niemi 1a52b68573 Fix build warning on 64bit system 2010-04-20 17:47:17 +03:00
Aki Niemi 8b61fde2fb Add user authentication to gprs context driver 2010-04-20 17:47:17 +03:00
Pekka Pessi fa3501b8d2 Refactor isimodem and gisi/netlink
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi 793710d800 Parse Interface key for isimodem and n900modem 2010-04-20 17:47:16 +03:00
Pekka Pessi 2dd6923dfa Add infoserver to isimodem
The info server provides information from the mobile station to the
ISI modem.  Currently it returns the Software Version Number (SVN)
that is used in mobile identification.
2010-04-20 17:47:16 +03:00
Pekka Pessi 3ddc7ab7c3 gisi: add gisi server API 2010-04-20 17:47:16 +03:00
Pekka Pessi 66e87b42b3 gisi: fix cast-align warnings 2010-04-20 17:47:16 +03:00
Pekka Pessi 7c8fd12d9a gisi: check for NULL client and remove warnings 2010-04-20 17:47:16 +03:00
Pekka Pessi 12acb80e98 gisi: move GIsiDebugFunc into modem.h 2010-04-20 17:47:16 +03:00
Pekka Pessi 2cc99fdaa6 Add SIM server state detection
Register isimodem SIM driver only when SIM server is ready. The best
way to find out that the server is truly ready is to read some data.
2010-04-20 17:47:16 +03:00
Pekka Pessi 540656ebfe Fix: s/bootsrap/bootstrap/ 2010-04-20 17:47:16 +03:00
Denis Kenzior 92cb776fae phonesim: Disable polling in phonesim for now
Seems that polling support in phonesim is less than working
2010-04-20 09:12:43 -05:00
Denis Kenzior 53a2520ab8 Trivial: Remove extra ':' from history output 2010-04-20 09:12:43 -05:00
Aki Niemi 1e75518c30 Improve GPRS test scripts
Catch some errors and add a script for removing contexts.
2010-04-20 14:16:33 +03:00
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