Commit Graph

667 Commits

Author SHA1 Message Date
Denis Kenzior 56f1e412a0 Make distcheck happy 2009-08-17 17:08:03 -05:00
Denis Kenzior a3d9123ca0 Refactor ECC Support: Update when EFecc is read
We should start with a default set of ECC numbers which are always
available according to 22.101, even if no SIM present.  Then when
EFecc is read, we update the EmergencyNumbers property.  According to
22.101 the 112 and 911 numbers must always be available.  Since these
numbers can also be stored on the SIM itself, we must avoid duplication.
2009-08-17 17:06:38 -05:00
Denis Kenzior 2ebef58855 Refactor ECC Support: Don't bother with g_source
Don't bother playing the g_source tricks for EmergencyNumbers property
changed signal emission.  The list is not bound to change more than
once.
2009-08-17 16:03:01 -05:00
Denis Kenzior 2e432b6ca0 Refactor ECC Support: Free in right spot
The freeing of the emergency list should be in voicecalls_destroy
function, where the rest of the datastructure is being freed
2009-08-17 16:02:53 -05:00
Yang Gu 5a0d8709af Support emergency numbers 2009-08-17 15:51:40 -05:00
Denis Kenzior 72182c2e8f Get rid of unused enum 2009-08-17 15:33:50 -05:00
Denis Kenzior 95573a4d8d Move network-operator status enum out of common.h 2009-08-17 15:32:34 -05:00
Denis Kenzior 00f606b3e8 Move colr-status enum out of common.h 2009-08-17 15:31:46 -05:00
Denis Kenzior 29c122a9a9 Move colp-status enum out of common.h 2009-08-17 15:31:17 -05:00
Denis Kenzior f989e7844d Move clip-status enum out of common.h 2009-08-17 15:30:34 -05:00
Denis Kenzior 1e6bdb36ec Move clir-status enum out of common.h 2009-08-17 15:29:01 -05:00
Denis Kenzior fe2dc0292c Move ussd-status enum out of common.h 2009-08-17 15:27:04 -05:00
Denis Kenzior 75510e7cd5 Move call-forwarding-type enum out of common.h 2009-08-17 15:26:24 -05:00
Denis Kenzior 21b032d3f1 Fix invalid watch id being returned the first time
Should use pre-increment instead of post increment
2009-08-17 15:23:39 -05:00
Denis Kenzior 255c6ba0d9 Cleanup atom watches properly 2009-08-17 15:14:05 -05:00
Denis Kenzior 6d5090eafa Cleanup SSC entries if USSD exits first 2009-08-17 15:08:48 -05:00
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 5e957a7e3e Port the USSD at driver to the new API 2009-08-17 13:46:34 -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
Marcel Holtmann 4ccc50fd06 Source code is not ready for subdir-objects yet 2009-08-16 14:51:12 -07:00
Marcel Holtmann 02d08acb3e Use proper automake subdirectory options 2009-08-16 14:45:01 -07:00
Denis Kenzior 67aa564adb Update the AT modem SSN driver to the new API 2009-08-14 18:51:36 -05: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