platform/upstream/ofono.git
14 years agoPhonet: add modem parameter to ISI client API
Rémi Denis-Courmont [Tue, 18 Aug 2009 11:34:27 +0000 (14:34 +0300)]
Phonet: add modem parameter to ISI client API

14 years agogisi: provide modem identifier through Netlink API
Rémi Denis-Courmont [Wed, 19 Aug 2009 12:58:04 +0000 (15:58 +0300)]
gisi: provide modem identifier through Netlink API

14 years agogisi: warn if GIsiModem is missing rather than fail
Rémi Denis-Courmont [Wed, 19 Aug 2009 14:04:27 +0000 (17:04 +0300)]
gisi: warn if GIsiModem is missing rather than fail

14 years agogisi: low-level modem scoping for sockets
Rémi Denis-Courmont [Wed, 19 Aug 2009 12:55:47 +0000 (15:55 +0300)]
gisi: low-level modem scoping for sockets

14 years agoRemove the use of driver.h
Denis Kenzior [Mon, 17 Aug 2009 22:14:01 +0000 (17:14 -0500)]
Remove the use of driver.h

14 years agoRemove unused header
Denis Kenzior [Mon, 17 Aug 2009 22:09:58 +0000 (17:09 -0500)]
Remove unused header

14 years agoMake distcheck happy
Denis Kenzior [Mon, 17 Aug 2009 22:08:03 +0000 (17:08 -0500)]
Make distcheck happy

14 years agoRefactor ECC Support: Update when EFecc is read
Denis Kenzior [Mon, 17 Aug 2009 21:56:32 +0000 (16:56 -0500)]
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.

14 years agoRefactor ECC Support: Don't bother with g_source
Denis Kenzior [Mon, 17 Aug 2009 21:03:01 +0000 (16:03 -0500)]
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.

14 years agoRefactor ECC Support: Free in right spot
Denis Kenzior [Mon, 17 Aug 2009 20:55:48 +0000 (15:55 -0500)]
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

14 years agoSupport emergency numbers
Yang Gu [Fri, 14 Aug 2009 08:38:10 +0000 (16:38 +0800)]
Support emergency numbers

14 years agoGet rid of unused enum
Denis Kenzior [Mon, 17 Aug 2009 20:33:50 +0000 (15:33 -0500)]
Get rid of unused enum

14 years agoMove network-operator status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:32:34 +0000 (15:32 -0500)]
Move network-operator status enum out of common.h

14 years agoMove colr-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:31:46 +0000 (15:31 -0500)]
Move colr-status enum out of common.h

14 years agoMove colp-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:31:17 +0000 (15:31 -0500)]
Move colp-status enum out of common.h

14 years agoMove clip-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:30:34 +0000 (15:30 -0500)]
Move clip-status enum out of common.h

14 years agoMove clir-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:29:01 +0000 (15:29 -0500)]
Move clir-status enum out of common.h

14 years agoMove ussd-status enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:27:04 +0000 (15:27 -0500)]
Move ussd-status enum out of common.h

14 years agoMove call-forwarding-type enum out of common.h
Denis Kenzior [Mon, 17 Aug 2009 20:26:24 +0000 (15:26 -0500)]
Move call-forwarding-type enum out of common.h

14 years agoFix invalid watch id being returned the first time
Denis Kenzior [Mon, 17 Aug 2009 20:23:39 +0000 (15:23 -0500)]
Fix invalid watch id being returned the first time

Should use pre-increment instead of post increment

14 years agoCleanup atom watches properly
Denis Kenzior [Mon, 17 Aug 2009 20:14:05 +0000 (15:14 -0500)]
Cleanup atom watches properly

14 years agoCleanup SSC entries if USSD exits first
Denis Kenzior [Mon, 17 Aug 2009 20:08:14 +0000 (15:08 -0500)]
Cleanup SSC entries if USSD exits first

14 years agoPort call-settings to the new USSD API
Denis Kenzior [Mon, 17 Aug 2009 19:49:43 +0000 (14:49 -0500)]
Port call-settings to the new USSD API

14 years agoPort call-forwarding to new USSD API
Denis Kenzior [Mon, 17 Aug 2009 19:41:09 +0000 (14:41 -0500)]
Port call-forwarding to new USSD API

14 years agoGet rid of unneeded variable
Denis Kenzior [Mon, 17 Aug 2009 19:34:48 +0000 (14:34 -0500)]
Get rid of unneeded variable

14 years agoRefactor call barring to the new USSD API
Denis Kenzior [Mon, 17 Aug 2009 19:33:12 +0000 (14:33 -0500)]
Refactor call barring to the new USSD API

14 years agoRefactor supplementary service control strings
Denis Kenzior [Mon, 17 Aug 2009 19:32:06 +0000 (14:32 -0500)]
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

14 years agoPort the USSD at driver to the new API
Denis Kenzior [Mon, 17 Aug 2009 18:46:34 +0000 (13:46 -0500)]
Port the USSD at driver to the new API

14 years agoEvolve the USSD API
Denis Kenzior [Mon, 17 Aug 2009 18:45:55 +0000 (13:45 -0500)]
Evolve the USSD API

14 years agoGet rid of unused functions
Denis Kenzior [Mon, 17 Aug 2009 16:38:36 +0000 (11:38 -0500)]
Get rid of unused functions

14 years agoUse $(AM_V_GEN) for symbol export generation
Marcel Holtmann [Sun, 16 Aug 2009 21:51:40 +0000 (14:51 -0700)]
Use $(AM_V_GEN) for symbol export generation

14 years agoSource code is not ready for subdir-objects yet
Marcel Holtmann [Sun, 16 Aug 2009 21:51:12 +0000 (14:51 -0700)]
Source code is not ready for subdir-objects yet

14 years agoUse proper automake subdirectory options
Marcel Holtmann [Sun, 16 Aug 2009 21:45:01 +0000 (14:45 -0700)]
Use proper automake subdirectory options

14 years agoUpdate the AT modem SSN driver to the new API
Denis Kenzior [Fri, 14 Aug 2009 23:51:36 +0000 (18:51 -0500)]
Update the AT modem SSN driver to the new API

14 years agoRefactor cssn into ofono_ssn
Denis Kenzior [Fri, 14 Aug 2009 23:49:01 +0000 (18:49 -0500)]
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

14 years agoAdd atom get_registered function
Denis Kenzior [Fri, 14 Aug 2009 23:47:12 +0000 (18:47 -0500)]
Add atom get_registered function

14 years agoFollow the more common glib convention for destroy
Denis Kenzior [Fri, 14 Aug 2009 22:06:59 +0000 (17:06 -0500)]
Follow the more common glib convention for destroy

14 years agoRemove trailing whitespace
Yang Gu [Fri, 14 Aug 2009 01:56:06 +0000 (09:56 +0800)]
Remove trailing whitespace

14 years agoFix whitespace issue
Denis Kenzior [Fri, 14 Aug 2009 21:35:02 +0000 (16:35 -0500)]
Fix whitespace issue

14 years agoUtilize call_watches
Denis Kenzior [Fri, 14 Aug 2009 21:21:23 +0000 (16:21 -0500)]
Utilize call_watches

14 years agoMove CALL_SETTINGS_INTERFACE define to dbus.h
Denis Kenzior [Fri, 14 Aug 2009 21:15:09 +0000 (16:15 -0500)]
Move CALL_SETTINGS_INTERFACE define to dbus.h

14 years agoMove PHONEBOOK_INTERFACE define to dbus.h
Denis Kenzior [Fri, 14 Aug 2009 21:08:56 +0000 (16:08 -0500)]
Move PHONEBOOK_INTERFACE define to dbus.h

14 years agoMove CALL_METER_INTERFACE define to dbus.h
Denis Kenzior [Fri, 14 Aug 2009 21:06:34 +0000 (16:06 -0500)]
Move CALL_METER_INTERFACE define to dbus.h

14 years agoMove CALL_FORWARDING_INTERFACE define to dbus.h
Denis Kenzior [Fri, 14 Aug 2009 21:04:08 +0000 (16:04 -0500)]
Move CALL_FORWARDING_INTERFACE define to dbus.h

14 years agoMove CALL_BARRING_INTERFACE definition to dbus.h
Denis Kenzior [Fri, 14 Aug 2009 21:01:43 +0000 (16:01 -0500)]
Move CALL_BARRING_INTERFACE definition to dbus.h

14 years agoAdd call_watches utility
Denis Kenzior [Fri, 14 Aug 2009 20:13:58 +0000 (15:13 -0500)]
Add call_watches utility

14 years agoAdd atom_watch functions
Denis Kenzior [Fri, 14 Aug 2009 19:51:35 +0000 (14:51 -0500)]
Add atom_watch functions

14 years agoUse atom's modem in phonebook
Denis Kenzior [Fri, 14 Aug 2009 20:58:39 +0000 (15:58 -0500)]
Use atom's modem in phonebook

14 years agoUse atom's modem storage in call settings
Denis Kenzior [Fri, 14 Aug 2009 20:54:52 +0000 (15:54 -0500)]
Use atom's modem storage in call settings

14 years agoUse atom's modem in call meter
Denis Kenzior [Fri, 14 Aug 2009 20:50:02 +0000 (15:50 -0500)]
Use atom's modem in call meter

14 years agoUse atom's modem in call-forwarding
Denis Kenzior [Fri, 14 Aug 2009 20:46:51 +0000 (15:46 -0500)]
Use atom's modem in call-forwarding

14 years agoUse atom's modem storage in call barring
Denis Kenzior [Fri, 14 Aug 2009 20:43:06 +0000 (15:43 -0500)]
Use atom's modem storage in call barring

14 years agoUpdate to use the new atom_free API
Denis Kenzior [Fri, 14 Aug 2009 20:39:30 +0000 (15:39 -0500)]
Update to use the new atom_free API

14 years agoRework ofono_modem_remove_atom
Denis Kenzior [Fri, 14 Aug 2009 20:38:42 +0000 (15:38 -0500)]
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

14 years agoAdd getter functions for atoms
Denis Kenzior [Fri, 14 Aug 2009 20:30:54 +0000 (15:30 -0500)]
Add getter functions for atoms

14 years agoSanity check the atom register/unregister funcs
Denis Kenzior [Fri, 14 Aug 2009 19:56:47 +0000 (14:56 -0500)]
Sanity check the atom register/unregister funcs

14 years agoFix passing in modem where call_barring expected
Denis Kenzior [Fri, 14 Aug 2009 20:13:19 +0000 (15:13 -0500)]
Fix passing in modem where call_barring expected

14 years agoPort over ISI modem driver to the new API
Denis Kenzior [Fri, 14 Aug 2009 17:10:05 +0000 (12:10 -0500)]
Port over ISI modem driver to the new API

14 years agoUpdate the at phonebook driver to the new API
Denis Kenzior [Thu, 13 Aug 2009 21:40:08 +0000 (16:40 -0500)]
Update the at phonebook driver to the new API

14 years agoEvolve the phonebook driver
Denis Kenzior [Thu, 13 Aug 2009 21:39:21 +0000 (16:39 -0500)]
Evolve the phonebook driver

14 years agoRemove defunct pointer to call waiting data
Denis Kenzior [Thu, 13 Aug 2009 20:11:15 +0000 (15:11 -0500)]
Remove defunct pointer to call waiting data

Doesn't exist anymore

14 years agoUpdate at call settings driver to new API
Denis Kenzior [Thu, 13 Aug 2009 20:00:52 +0000 (15:00 -0500)]
Update at call settings driver to new API

14 years agoEvolve call settings driver
Denis Kenzior [Thu, 13 Aug 2009 20:00:36 +0000 (15:00 -0500)]
Evolve call settings driver

14 years agoMove clir and cug option enums to types.h
Denis Kenzior [Thu, 13 Aug 2009 19:31:29 +0000 (14:31 -0500)]
Move clir and cug option enums to types.h

14 years agoUpdate the at call meter driver for new API
Denis Kenzior [Thu, 13 Aug 2009 17:59:26 +0000 (12:59 -0500)]
Update the at call meter driver for new API

14 years agoEvolve the call meter driver API
Denis Kenzior [Thu, 13 Aug 2009 17:58:54 +0000 (12:58 -0500)]
Evolve the call meter driver API

14 years agoUpdate at modem call forwarding driver
Denis Kenzior [Thu, 13 Aug 2009 15:59:51 +0000 (10:59 -0500)]
Update at modem call forwarding driver

14 years agoEvolve the call-forwarding driver
Denis Kenzior [Thu, 13 Aug 2009 15:58:42 +0000 (10:58 -0500)]
Evolve the call-forwarding driver

14 years agoUpdate at modem call-barring driver to the new API
Denis Kenzior [Wed, 12 Aug 2009 21:55:26 +0000 (16:55 -0500)]
Update at modem call-barring driver to the new API

14 years agoEvolve the call-barring driver
Denis Kenzior [Wed, 12 Aug 2009 21:52:20 +0000 (16:52 -0500)]
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

14 years agoPhonet: basic pipe owner support
Rémi Denis-Courmont [Fri, 7 Aug 2009 12:19:12 +0000 (15:19 +0300)]
Phonet: basic pipe owner support

This will be needed for GPRS support.

14 years agoAdd ISI modem SIM phonebook support
Alexander Kanavin [Thu, 13 Aug 2009 16:54:26 +0000 (19:54 +0300)]
Add ISI modem SIM phonebook support

This patch only provides access to the SIM phonebook. Note that the
interface to the SIM phonebook is quite slow, which may cause timeouts
on phonebooks with a large number of entries using the default D-Bus
timeout value.

14 years agoMove certain parts of driver.h to types.h
Denis Kenzior [Wed, 12 Aug 2009 21:47:31 +0000 (16:47 -0500)]
Move certain parts of driver.h to types.h

14 years agoAdd ofono atom routines
Denis Kenzior [Wed, 12 Aug 2009 19:46:59 +0000 (14:46 -0500)]
Add ofono atom routines

14 years agoMake ss_passwd_register slightly more efficient
Denis Kenzior [Wed, 12 Aug 2009 21:57:01 +0000 (16:57 -0500)]
Make ss_passwd_register slightly more efficient

14 years agoMake ss_control_register slightly more efficient
Denis Kenzior [Wed, 12 Aug 2009 21:56:45 +0000 (16:56 -0500)]
Make ss_control_register slightly more efficient

14 years agoRelease 0.3 0.3
Marcel Holtmann [Thu, 13 Aug 2009 01:00:24 +0000 (18:00 -0700)]
Release 0.3

14 years agoWarn when (potentially) invalid input encountered
Denis Kenzior [Thu, 13 Aug 2009 00:47:22 +0000 (19:47 -0500)]
Warn when (potentially) invalid input encountered

14 years agoAlways output useable FN in VCard
Denis Kenzior [Thu, 13 Aug 2009 00:37:39 +0000 (19:37 -0500)]
Always output useable FN in VCard

If text is NULL or empty, use the number field for the FN VCard entry
instead.

14 years agoFix a segfault in need_merge
Denis Kenzior [Thu, 13 Aug 2009 00:37:29 +0000 (19:37 -0500)]
Fix a segfault in need_merge

14 years agoBail out early if text & number are empty
Denis Kenzior [Thu, 13 Aug 2009 00:35:36 +0000 (19:35 -0500)]
Bail out early if text & number are empty

14 years agoFix comment
Marcel Holtmann [Thu, 13 Aug 2009 00:40:41 +0000 (17:40 -0700)]
Fix comment

14 years agoAdd function for printing warnings
Marcel Holtmann [Thu, 13 Aug 2009 00:33:44 +0000 (17:33 -0700)]
Add function for printing warnings

14 years agoAdd API documentation for voice call interfaces
Marcel Holtmann [Wed, 12 Aug 2009 23:43:34 +0000 (16:43 -0700)]
Add API documentation for voice call interfaces

14 years agoAdd some initial API documents
Marcel Holtmann [Wed, 12 Aug 2009 23:33:45 +0000 (16:33 -0700)]
Add some initial API documents

14 years agoFix compile warning
Denis Kenzior [Sun, 9 Aug 2009 03:38:43 +0000 (22:38 -0500)]
Fix compile warning

14 years agoUse NameHasOwner instead of ListNames for name checking
Johan Hedberg [Sat, 8 Aug 2009 17:21:26 +0000 (20:21 +0300)]
Use NameHasOwner instead of ListNames for name checking

14 years agoQuiet an error if a modem is removed quickly
Denis Kenzior [Sat, 8 Aug 2009 01:11:34 +0000 (20:11 -0500)]
Quiet an error if a modem is removed quickly

14 years agoFix segfault upon modem removal due to g_source
Denis Kenzior [Sat, 8 Aug 2009 01:05:39 +0000 (20:05 -0500)]
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.

14 years agoRefactor SIM file cache
Denis Kenzior [Sat, 8 Aug 2009 00:50:09 +0000 (19:50 -0500)]
Refactor SIM file cache

14 years agoRe-enable reading of SPN & PNN on phonesim
Denis Kenzior [Sat, 8 Aug 2009 00:47:37 +0000 (19:47 -0500)]
Re-enable reading of SPN & PNN on phonesim

14 years agoMake the sim op queue have a removable gsource
Denis Kenzior [Fri, 7 Aug 2009 22:58:59 +0000 (17:58 -0500)]
Make the sim op queue have a removable gsource

14 years agoDon't use g_timeout_add to retrieve imsi
Denis Kenzior [Fri, 7 Aug 2009 22:47:57 +0000 (17:47 -0500)]
Don't use g_timeout_add to retrieve imsi

14 years agoNo need to use g_timeout_add here
Denis Kenzior [Fri, 7 Aug 2009 22:45:48 +0000 (17:45 -0500)]
No need to use g_timeout_add here

14 years agoNo need to use g_timeout_add here
Denis Kenzior [Fri, 7 Aug 2009 22:40:54 +0000 (17:40 -0500)]
No need to use g_timeout_add here

14 years agoNo need to use g_timeout_add here
Denis Kenzior [Fri, 7 Aug 2009 22:36:26 +0000 (17:36 -0500)]
No need to use g_timeout_add here

14 years agoNo need to use g_timeout_add here
Denis Kenzior [Fri, 7 Aug 2009 22:30:28 +0000 (17:30 -0500)]
No need to use g_timeout_add here

14 years agoNo need to use g_timeout_add
Denis Kenzior [Fri, 7 Aug 2009 21:33:31 +0000 (16:33 -0500)]
No need to use g_timeout_add

Simply calling the function here should be sufficient

14 years agoEnsure g_timeout_add source can be removed safely
Denis Kenzior [Fri, 7 Aug 2009 21:20:59 +0000 (16:20 -0500)]
Ensure g_timeout_add source can be removed safely

14 years agoStore the tx_next g_source so it can be removed
Denis Kenzior [Fri, 7 Aug 2009 21:12:55 +0000 (16:12 -0500)]
Store the tx_next g_source so it can be removed