Ofono的补充服务

问题描述

我正在通过Dbus连接使用ofono服务,并且想通过org.ofono.SupplementaryServices通过蓝牙拨打USSD号码。 在我的dbus系统中,没有org.ofono.SupplementaryServices接口! 如何启用此服务? 我已经使用了代码生成工具并创建了org.ofono.SupplementaryServices服务代码,但是这种方式对我不起作用!

xml文件

    <interface name="org.ofono.SupplementaryServices">
        <method name="Initiate">
            <arg name= "command" type="s" direction="in"/>
            <arg type="a{sv}" direction="out"/>
        </method>
        <method name="Respond">
            <arg name= "reply" type="s" direction="in"/>
            <arg name= "respond" type="s" direction="out"/>
        </method>
        <method name="Cancel">
        </method>
        <method name="GetProperties">
            <arg name= "properties" type="a{sv}" direction="out"/>
        </method>   
        <signal name="NotificationReceived">
            <arg name= "message" type="s"/>
        </signal>
        <signal name="RequestReceived">
            <arg name= "message" type="s"/>
        </signal>
        <signal name="PropertyChanged">
            <arg name= "property" type="s"/>
            <arg name= "value" type="v"/>
        </signal>
        <property name="State" type="s" access="read"></property>
    </interface>
</node>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)