Commit Graph

354 Commits

Author SHA1 Message Date
Denis Kenzior 5abd3c14d8 Port call-settings to the new USSD API 2009-08-17 15:08:48 -05:00
Denis Kenzior 91789b2680 Port call-forwarding to new USSD API 2009-08-17 15:08:48 -05:00
Denis Kenzior c4d9393fa3 Get rid of unneeded variable 2009-08-17 15:08:48 -05:00
Denis Kenzior 65eb5e2089 Refactor call barring to the new USSD API 2009-08-17 15:08:48 -05:00
Denis Kenzior d5339edc44 Refactor supplementary service control strings
The registration was done by using the storage in the modem.  Refactored
to use the new atom watch APIs and storing the control entries in the
ussd atom itself
2009-08-17 15:08:43 -05:00
Denis Kenzior 229bb3a4ed Evolve the USSD API 2009-08-17 13:45:55 -05:00
Denis Kenzior 5fdc6fd395 Get rid of unused functions 2009-08-17 11:38:36 -05:00
Marcel Holtmann 6d73540f22 Use $(AM_V_GEN) for symbol export generation 2009-08-16 14:51:40 -07:00
Denis Kenzior 314c0facc3 Refactor cssn into ofono_ssn
Make this into a fully fledged entity, with a driver instead of the
current kludge.  This means modem drivers can actually choose whether
to instantiate a CSSN atom or not

Move the notification functions from voicecall.c into ssn.c.

Move the cssn.h header into include/ssn.h and refactor

Update call barring to utilize ofono_ssn and use the new atom_watch
functionality to detect when ssn has been added or removed
2009-08-14 18:49:01 -05:00
Denis Kenzior 6482d98e56 Add atom get_registered function 2009-08-14 18:47:12 -05:00
Denis Kenzior e36c8b1d5d Follow the more common glib convention for destroy 2009-08-14 17:06:59 -05:00
Yang Gu 3c6b6b908f Remove trailing whitespace 2009-08-14 16:35:34 -05:00
Denis Kenzior c48e739669 Fix whitespace issue 2009-08-14 16:35:02 -05:00
Denis Kenzior 9ca3c0e321 Utilize call_watches 2009-08-14 16:33:48 -05:00
Denis Kenzior 99e3fe8285 Move CALL_SETTINGS_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior ed1720ea36 Move PHONEBOOK_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior b82042c5e9 Move CALL_METER_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior f82b9a32fd Move CALL_FORWARDING_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior ae4ea4cd5e Move CALL_BARRING_INTERFACE definition to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior 2da0fc6070 Add call_watches utility 2009-08-14 16:33:48 -05:00
Denis Kenzior c1c04e8c8d Add atom_watch functions 2009-08-14 16:33:43 -05:00
Denis Kenzior c5f3388c36 Use atom's modem in phonebook 2009-08-14 16:31:48 -05:00
Denis Kenzior fff46fd758 Use atom's modem storage in call settings 2009-08-14 16:31:48 -05:00
Denis Kenzior 3e50c22f57 Use atom's modem in call meter 2009-08-14 16:31:48 -05:00
Denis Kenzior 8a64f93f30 Use atom's modem in call-forwarding 2009-08-14 16:31:48 -05:00
Denis Kenzior 31a940825b Use atom's modem storage in call barring 2009-08-14 16:31:48 -05:00
Denis Kenzior 9ad3ad6664 Update to use the new atom_free API 2009-08-14 16:31:46 -05:00
Denis Kenzior 6119c08c28 Rework ofono_modem_remove_atom
Change to ofono_atom_free since the atom now carries all necessary
information about the modem it is attached to
2009-08-14 16:31:34 -05:00
Denis Kenzior 9020b1dc7e Add getter functions for atoms 2009-08-14 16:24:46 -05:00
Denis Kenzior a6ef7f8711 Sanity check the atom register/unregister funcs 2009-08-14 15:15:06 -05:00
Denis Kenzior 622221e90f Fix passing in modem where call_barring expected 2009-08-14 15:15:06 -05:00
Denis Kenzior ecdfbebc51 Evolve the phonebook driver 2009-08-14 11:19:10 -05:00
Denis Kenzior 0e3cc07966 Remove defunct pointer to call waiting data
Doesn't exist anymore
2009-08-14 11:19:10 -05:00
Denis Kenzior 04926379e5 Evolve call settings driver 2009-08-14 11:19:10 -05:00
Denis Kenzior 6342e1b2dc Move clir and cug option enums to types.h 2009-08-14 11:19:10 -05:00
Denis Kenzior 521039596a Evolve the call meter driver API 2009-08-14 11:19:09 -05:00
Denis Kenzior 872a24690d Evolve the call-forwarding driver 2009-08-14 11:19:09 -05:00
Denis Kenzior 67e19dc14c Evolve the call-barring driver
- Move call barring related functionality out of driver.h into a
  dedicated file, call-barring.h
- Update to use the new atom framework
- Remove over-reliance on the modem structure, call-barring structure
  should now be used instead whenever possible
2009-08-14 11:19:09 -05:00
Denis Kenzior 01b4c49447 Move certain parts of driver.h to types.h 2009-08-13 10:08:32 -05:00
Denis Kenzior 03e90fff16 Add ofono atom routines 2009-08-13 10:08:32 -05:00
Denis Kenzior 00482e341e Make ss_passwd_register slightly more efficient 2009-08-13 10:08:32 -05:00
Denis Kenzior 6f8acce8ec Make ss_control_register slightly more efficient 2009-08-13 10:08:32 -05:00
Denis Kenzior b1d0bda4b3 Always output useable FN in VCard
If text is NULL or empty, use the number field for the FN VCard entry
instead.
2009-08-12 19:49:23 -05:00
Denis Kenzior 715067d38d Fix a segfault in need_merge 2009-08-12 19:49:23 -05:00
Denis Kenzior 70b758f8be Bail out early if text & number are empty 2009-08-12 19:49:23 -05:00
Marcel Holtmann 5641f1974a Fix comment 2009-08-12 17:40:41 -07:00
Marcel Holtmann 08f6629d60 Add function for printing warnings 2009-08-12 17:33:44 -07:00
Denis Kenzior 19858da361 Fix compile warning 2009-08-08 22:39:50 -05:00
Denis Kenzior 07cca7ab13 Quiet an error if a modem is removed quickly 2009-08-07 20:11:34 -05:00
Denis Kenzior 6db2762d75 Fix segfault upon modem removal due to g_source
Network registration was not removing operator list scan g_source,
which was causing a crash in one of two potential places.
2009-08-07 20:06:05 -05:00