“org.ofono”服务中缺少“org.ofono.MessageManager 接口”

问题描述 投票:0回答:1

我正在使用“org.ofono.MessageManager”接口来检测当前连接的蓝牙设备上的“MessageAdded”信号。然而,在检查对象路径时,我注意到“MessageManager”接口在“org.ofono”服务中不可用。

这是我用来反思的命令:

user@user:~$ busctl introspect org.ofono /hfp/org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx

设备上可用的接口有:

org.ofono.CallVolume
org.ofono.Handsfree
org.ofono.Modem
org.ofono.NetworkRegistration
org.ofono.VoiceCallManager

我可以看到呼叫控制接口(例如 VoiceCallManager),但看不到消息控制接口(MessageManager)。我正在寻找捕获“MessageAdded”信号,但似乎缺少“MessageManager”接口

是否需要配置或安装任何其他内容才能使“org.ofono.MessageManager”接口可用?是否与我使用的设备、设置或 oFono 版本有关?任何有关解决此问题的指导将不胜感激。

linux bluetooth dbus bluez
1个回答
0
投票

oFono 仅在其调制解调器驱动程序确定调制解调器具有 SMS 存储时才调用

ofono_sms_register()
,例如对基于 AT 的调制解调器成功进行 AT+CNMI 响应后(与 QMI 或 MBIM 等类似)。如果接口丢失,则意味着调制解调器没有宣传 SMS 功能。

© www.soinside.com 2019 - 2024. All rights reserved.