[Kde-hardware-devel] MMQt - SMS
Jan Grulich
jgrulich at redhat.com
Fri Jan 22 11:43:17 UTC 2016
Hi Daniel,
I would try to check whether there is a problem in ModemManager or in the
communication between ModemManager and MMQT.
1) Check whether ModemManager really sends signals about received messages.
You can use dbus-monitor to watch ModemManager activity over dbus.
Use:
dbus-monitor --system "type='signal',sender='org.freedesktop.ModemManager1'"
2) If you see ModemManager sending signal Added() from
org.freedesktop.ModemManager1.Modem.Messaging interface then there is probably
problem in MMQT. You can try to put some debug output to onMessageAdded() slot
in modemmessaging.cpp from MMQT library to see what's going on and whether the
slot is called.
I hope this will help to identify where is your problem.
Regards,
Jan
--
Jan Grulich <jgrulich at redhat.com>
Software Engineer, Desktop team
Red Hat Czech
On Friday 22 of January 2016 07:54:41 Daniel wrote:
> Hi all,
>
> I am using the MMQt in order to handle SMSs in an embedded device. Sending
> SMS it's ok. But receiving a message it is a bit weird. In the truth if I
> send a SMS to the device, the SMS will be available after a reboot.
>
> How can I debug the process of receiving a SMS?
>
> Follow some information:
>
> root at ts-imx6-s:~# mmcli -m 0
>
> /org/freedesktop/ModemManager1/Modem/0 (device id
> '3fba001a3e3ce5ffefda417609400ad882ef3c7f')
> -------------------------
> Hardware | manufacturer: 'Telit'
>
> | model: 'HE910-EUD'
> |
> | revision: '12.00.224'
> |
> | supported: 'gsm-umts'
> |
> | current: 'gsm-umts'
> |
> | equipment id: '354043052132539'
>
> -------------------------
> System | device:
> '/sys/devices/soc0/soc.1/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb2/2-1'
>
> | drivers: 'cdc_acm'
> |
> | plugin: 'Generic'
> |
> | primary port: 'ttyACM3'
> |
> | ports: 'ttyACM3 (at), ttyACM0 (at)'
>
> -------------------------
> Numbers | own : 'unknown'
> -------------------------
> Status | lock: 'none'
>
> | unlock retries: 'unknown'
> |
> | state: 'connected'
> |
> | power state: 'on'
> | access tech: 'umts'
> |
> | signal quality: '42' (recent)
>
> -------------------------
> Modes | supported: 'allowed: 2g, 3g; preferred: none'
>
> | current: 'allowed: 2g, 3g; preferred: none'
>
> -------------------------
> Bands | supported: 'unknown'
>
> | current: 'unknown'
>
> -------------------------
> IP | supported: 'ipv4, ipv6, ipv4v6'
> -------------------------
> 3GPP | imei: '354043052132539'
>
> | enabled locks: 'none'
> |
> | operator id: '72410'
> |
> | operator name: 'VIVO'
> |
> | subscription: 'unknown'
> | registration: 'home'
>
> -------------------------
> SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
>
> -------------------------
> Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'
>
>
> Thanks in advance.
More information about the Kde-hardware-devel
mailing list