ofono: use new oFono GPRS interfaces
authorPekka Pessi <Pekka.Pessi@nokia.com>
Thu, 9 Sep 2010 13:35:58 +0000 (15:35 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 9 Sep 2010 18:44:44 +0000 (20:44 +0200)
commit11beb25536e8565ead7d55618054321fc1b38a25
tree89f8f26f68838185a451726a7c48ddf9f8e72467
parenta1d4e7edc4f584173b3e0689d596f730cab8d418
ofono: use new oFono GPRS interfaces

The plugin keeps now a hash table for networks.

The improved oFono GPRS interface (ConnectionManager) relay the complete
network information in ContextAdded signal and in GetContexts reply.  A
connman_network is immediately created for each Internet context.

The kludge used to create a new context in case the initial context list
was empty is removed.

The oFono context interface (ContextManager) has no essential changes,
it is just removed.

Information from the oFono NetworkRegistration interface is now cached
in the connman_device.  Cached registration information is stored in the
newly created connman_network, too. Later changes in the registration
info get propagated to the connman_network.

TODO:
        - handle ConnectionManager.ContextAdded
        - handle ConnectionManager.ContextRemoved
plugins/ofono.c