hi~

I use "context-listen Cellular.SignalStrength" to listen the contextkit, but
I could not get the information.
the message show from Cellular Provider is:
                       *CellularProvider First subscriber appeared,
connecting to ofono
                       ProviderProvider No NetworkRegistration interface
found *

And  the code in CellularProvider.cpp (from contextkit-meego-provider src
rpm) :

*void CellularProvider::initProvider()
{
        qDebug() << "CellularProvider" << "First subscriber appeared,
connecting to ofono";

        **Manager
managerProxy("org.ofono","/",QDBusConnection::systemBus());
        **QVariantMap managerProps = managerProxy.GetProperties();
        QList<QDBusObjectPath> paths = qdbus_cast<QList<QDBusObjectPath>
>(managerProps["Modems"]);*
*        QString modemPath;
        foreach (QDBusObjectPath p, paths){
              .........          }
       }
      if (!networkProps)
      {
          qDebug() << "ProviderProvider" << "No NetworkRegistration
interface found";
      }
}
*
I run "context-listen Cellular.SignalStrength" and the void
CellularProvider::initProvider() will load when the "CellularProvider First
subscriber appeared". But the code was stopped at
        *Manager managerProxy("org.ofono","/",QDBusConnection::systemBus());
*
*        **QVariantMap managerProps = managerProxy.GetProperties();
        QList<QDBusObjectPath> paths = qdbus_cast<QList<QDBusObjectPath>
>(managerProps["Modems"]);*

And I try to found out the defination of *Manager and* *GetProperties()*,
but there is no such file like
         #include "ofono_interface.h"
         #include "manager_interface.h"
Or other source file about the Manager and GetProperties().


anyone know where could I find the defination of *Manager and* *
GetProperties()* used in the CellularProvicer??
Or anyone know that why void CellularProvider::initProvider() fail at
*GetProperties()??
*
It seems some problem of the defination of  Manager and GetProperties()....


thanks.
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to