<div dir="ltr"><div>The modem manager version is 1.4.2<br></div><div><br></div><div>I will try to check with MM developers.</div><div><br></div><div>Sorry for send the message just for you.</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 10:20 AM, Jan Grulich <span dir="ltr"><<a href="mailto:jgrulich@redhat.com" target="_blank">jgrulich@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then it looks like a ModemManager issue, at least my understanding is that<br>
ModemManager should emit signal when a new message is received. It's also<br>
possible that it doesn't work that way, but that's something you would need to<br>
check with ModemManager developers.<br>
<br>
Btw. what is your ModemManager version? And please keep sending your emails<br>
also to the kde-hardware-devel mailing list.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Friday 22 of January 2016 10:15:31 Daniel wrote:<br>
> Hi Jan,<br>
><br>
> I ran the dbus-monitor in order to watch the dbus traffic but there is<br>
> nothing there while I am sending the messages.<br>
><br>
> If i ran:<br>
><br>
> # disable the modem<br>
> mmcli -m 0 -d<br>
><br>
> and after that<br>
><br>
> mmcli -m 0 -e<br>
><br>
> all messages that were sent will be received at same time and the signals<br>
> are emitted in the dbus, as follows:<br>
><br>
> signal sender=:1.3 -> dest=(null destination) serial=197<br>
> path=/org/freedesktop/ModemManager1/<br>
> Modem/0; interface=org.freedesktop.ModemManager1.Modem.Messaging;<br>
> member=Added<br>
>   object path "/org/freedesktop/ModemManager1/SMS/5"<br>
>   boolean true<br>
><br>
> When the signal is emitted my application works perfectly, so the MMQt is<br>
> doing the right job.<br>
><br>
> So, I am thinking that there is a problem or in modem driver or in modem<br>
> manager.<br>
><br>
> Thanks in advance.<br>
><br>
> On Fri, Jan 22, 2016 at 9:43 AM, Jan Grulich <<a href="mailto:jgrulich@redhat.com">jgrulich@redhat.com</a>> wrote:<br>
> > Hi Daniel,<br>
> ><br>
> > I would try to check whether there is a problem in ModemManager or in the<br>
> > communication between ModemManager and MMQT.<br>
> ><br>
> > 1) Check whether ModemManager really sends signals about received<br>
> > messages.<br>
> > You can use dbus-monitor to watch ModemManager activity over dbus.<br>
> ><br>
> > Use:<br>
> > dbus-monitor --system<br>
> > "type='signal',sender='org.freedesktop.ModemManager1'"<br>
> ><br>
> > 2) If you see ModemManager sending signal Added()  from<br>
> > org.freedesktop.ModemManager1.Modem.Messaging interface then there is<br>
> > probably<br>
> > problem in MMQT. You can try to put some debug output to onMessageAdded()<br>
> > slot<br>
> > in modemmessaging.cpp from MMQT library to see what's going on and whether<br>
> > the<br>
> > slot is called.<br>
> ><br>
> > I hope this will help to identify where is your problem.<br>
> ><br>
> > Regards,<br>
> > Jan<br>
> > --<br>
> > Jan Grulich <<a href="mailto:jgrulich@redhat.com">jgrulich@redhat.com</a>><br>
> > Software Engineer, Desktop team<br>
> > Red Hat Czech<br>
> ><br>
> > On Friday 22 of January 2016 07:54:41 Daniel wrote:<br>
> > > Hi all,<br>
> > ><br>
> > > I am using the MMQt in order to handle SMSs in an embedded device.<br>
> ><br>
> > Sending<br>
> ><br>
> > > SMS it's ok. But receiving a message it is a bit weird. In the truth if<br>
> > > I<br>
> > > send a SMS to the device, the SMS will be available after a reboot.<br>
> > ><br>
> > > How can I debug the process of receiving a SMS?<br>
> > ><br>
> > > Follow some information:<br>
> > ><br>
> > > root@ts-imx6-s:~# mmcli -m 0<br>
> > ><br>
> > > /org/freedesktop/ModemManager1/Modem/0 (device id<br>
> > > '3fba001a3e3ce5ffefda417609400ad882ef3c7f')<br>
> > ><br>
> > >  -------------------------<br>
> > >  Hardware |   manufacturer: 'Telit'<br>
> > ><br>
> > >           |          model: 'HE910-EUD'<br>
> > >           |<br>
> > >           |       revision: '12.00.224'<br>
> > >           |<br>
> > >           |      supported: 'gsm-umts'<br>
> > >           |<br>
> > >           |        current: 'gsm-umts'<br>
> > >           |<br>
> > >           |   equipment id: '354043052132539'<br>
> > ><br>
> > >  -------------------------<br>
> > ><br>
> > >  System   |         device:<br>
> > > '/sys/devices/soc0/soc.1/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb2/2-1<br>
> > > '<br>
> > ><br>
> > >           |        drivers: 'cdc_acm'<br>
> > >           |<br>
> > >           |         plugin: 'Generic'<br>
> > >           |<br>
> > >           |   primary port: 'ttyACM3'<br>
> > >           |<br>
> > >           |          ports: 'ttyACM3 (at), ttyACM0 (at)'<br>
> > ><br>
> > >  -------------------------<br>
> > >  Numbers  |           own : 'unknown'<br>
> > >  -------------------------<br>
> > >  Status   |           lock: 'none'<br>
> > ><br>
> > >           | unlock retries: 'unknown'<br>
> > >           |<br>
> > >           |          state: 'connected'<br>
> > >           |<br>
> > >           |    power state: 'on'<br>
> > >           |    access tech: 'umts'<br>
> > >           |<br>
> > >           | signal quality: '42' (recent)<br>
> > ><br>
> > >  -------------------------<br>
> > >  Modes    |      supported: 'allowed: 2g, 3g; preferred: none'<br>
> > ><br>
> > >           |        current: 'allowed: 2g, 3g; preferred: none'<br>
> > ><br>
> > >  -------------------------<br>
> > >  Bands    |      supported: 'unknown'<br>
> > ><br>
> > >           |        current: 'unknown'<br>
> > ><br>
> > >  -------------------------<br>
> > >  IP       |      supported: 'ipv4, ipv6, ipv4v6'<br>
> > >  -------------------------<br>
> > >  3GPP     |           imei: '354043052132539'<br>
> > ><br>
> > >           |  enabled locks: 'none'<br>
> > >           |<br>
> > >           |    operator id: '72410'<br>
> > >           |<br>
> > >           |  operator name: 'VIVO'<br>
> > >           |<br>
> > >           |   subscription: 'unknown'<br>
> > >           |   registration: 'home'<br>
> > ><br>
> > >  -------------------------<br>
> > >  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'<br>
> > ><br>
> > >  -------------------------<br>
> > >  Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/0'<br>
> > ><br>
> > > Thanks in advance.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Daniel Vaz</div>
</div>