<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi Aleksander,</div><div> I had one question about SMS. PIN.</div><div> I had see usage about mmcli and it had some api about pin and sms.</div><div> but i don't know how to use this api, can you give us some help about mmcli ?</div><div> </div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">ght@fibocom:~$ mmcli -L<br><br>Found 1 modems:<br> /org/freedesktop/ModemManager1/Modem/2 [Fibocom] L850 LTE Module","L850<br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">ght@fibocom:~$ <b>mmcli -m 2 --pin=1234</b><br>error: no sim was specified<br>ght@fibocom:~$ mmcli -s 2 --pin=1234<br>error: no sim was specified<br>ght@fibocom:~$<b> mmcli -s 2 --send="123456"</b><br>error: couldn't find SMS at '/org/freedesktop/ModemManager1/SMS/2': 'not found in any modem'<br>ght@fibocom:~$<br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">ght@fibocom:~$ mmcli -i 2<br>SIM '/org/freedesktop/ModemManager1/SIM/2'<br> -------------------------<br> Properties | imsi : '460015646534044'<br> | id : '89860117801059844938'<br> | operator id : '46001'<br> | operator name : 'unknown'<br>ght@fibocom:~$<br></span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;"><b><font color="#3366ff">All the best, Liu</font></b></p><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;"><br></p><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;">LiuQiFeng SW Engineer | Perfect Wireless Experience</p><p style="font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif; font-size: 7px;"> </p><div style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif; border-top-style: solid; border-top-width: 1px; border-top-color: rgb(221, 221, 221); width: 823.5px;"></div><p style="font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif; font-size: 7px;"><b><font color="#009fff"> </font></b><span style="color: rgb(0, 159, 255); font-weight: bold; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"> </span></p><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;"><font color="#12a3e0"><b>Fibocom wireless Inc</b></font></p><p style="font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif; font-size: 7px;"><b style="color: rgb(0, 163, 224);"> </b></p><p style="font-family: 'Microsoft JhengHei UI'; font-size: 14px; line-height: 21px;"><font face="‘Helvetica Neue’, Helvetica, ‘Nimbus Sans L’, Arial, ‘Liberation Sans’, ‘Hiragino Sans GB’, ‘Microsoft YaHei’, sans-serif">5F,Tower A, Technology Building Ⅱ, 1057#Nanhai Avenue,Nanshan District, Shenzhen, China</font></p><p style="font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif; font-size: 7px;"><font color="#000000"> </font></p><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;"><font color="#000000"></font><span ‘helvetica="" neue’',="" helvetica,="" '‘nimbus="" sans="" l’',="" arial,="" '‘liberation="" sans’',="" '‘hiragino="" gb’',="" '‘microsoft="" yahei’',="" sans-serif";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(238,="" 238,="" 238);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: ''; line-height: 1.5;">+86 137 6052 7596 |</span><span style="line-height: 1.5;"> liuqf</span><a href="mailto:zhangls@fibocom.com" ‘helvetica="" neue’',="" helvetica,="" '‘nimbus="" sans="" l’',="" arial,="" '‘liberation="" sans’',="" '‘hiragino="" gb’',="" '‘microsoft="" yahei’',="" sans-serif";="" font-size:="" 14px;="" font-weight:="" normal;="" font-style:="" normal;'="" style="text-decoration: none !important; font-family: ''; line-height: 1.5;"><font color="#000000" class="">@fibocom.com</font></a><span ‘helvetica="" neue’',="" helvetica,="" '‘nimbus="" sans="" l’',="" arial,="" '‘liberation="" sans’',="" '‘hiragino="" gb’',="" '‘microsoft="" yahei’',="" sans-serif";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(238,="" 238,="" 238);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="" style="font-family: ''; line-height: 1.5;"> </span></p><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;"><span style="font-size: 7px;"><br></span></p><p style="font-size: 14px; line-height: 21px; font-family: '‘Helvetica Neue’', Helvetica, '‘Nimbus Sans L’', Arial, '‘Liberation Sans’', '‘Hiragino Sans GB’', '‘Microsoft YaHei’', sans-serif;"><a href="http://www.fibocom.com/" target="_blank" style="text-decoration: none !important; color: rgb(0, 163, 224);">www.fibocom.com</a></p></div></span></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:aleksander@aleksander.es">Aleksander Morgado</a></div><div><b>Date:</b> 2017-04-26 18:18</div><div><b>To:</b> <a href="mailto:liuqf@fibocom.com">fibocom</a></div><div><b>CC:</b> <a href="mailto:modemmanager-devel@lists.freedesktop.org">modemmanager-devel</a></div><div><b>Subject:</b> Re: ModemManager-1.4.12: Cannot compile ModemManager with libmbim-glib on ubuntu 16.04.2 LTS X86_64 env</div></div></div><div><div>Hey,</div>
<div> </div>
<div>See replies inline below.</div>
<div> </div>
<div>> It's the ubuntu 16.04.2 x86_64 pc:</div>
<div>> ght@ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$ cat /etc/issue</div>
<div>> Ubuntu 16.04.2 LTS \n \l</div>
<div>> ght@ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$ uname -a</div>
<div>> Linux ght-ThinkPad-X270 4.8.0-49-generic #52~16.04.1-Ubuntu SMP Thu Apr 20</div>
<div>> 10:55:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</div>
<div> </div>
<div> </div>
<div>For Ubuntu 16.04, you may want to use this PPA with newer</div>
<div>libqmi/libmbim/ModemManager versions:</div>
<div>https://launchpad.net/~aleksander-m/+archive/ubuntu/modemmanager-xenial</div>
<div> </div>
<div>> ght@ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$</div>
<div>></div>
<div>> my configure value : ./configure</div>
<div>> --prefix=/home/ght/Downloads/ModemManager-1.4.12/LIU --without-qmi</div>
<div>> and the configure result show in attached file, it shows 'configure: error:</div>
<div>> Couldn't find libmbim-glib. Install it, or otherwise configure using</div>
<div>> --without-mbim to disable MBIM support.'。</div>
<div>></div>
<div>> I had check the libmbim-glib library in ubuntu system,it's in the system.</div>
<div>> ght@ght-ThinkPad-X270:/usr/lib/x86_64-linux-gnu$ ls libmbim*</div>
<div>> libmbim-glib.a libmbim-glib.so libmbim-glib.so.4 libmbim-glib.so.4.1.0</div>
<div>> ght@ght-ThinkPad-X270:/usr/lib/x86_64-linux-gnu$</div>
<div>></div>
<div>> I had install libmbim-glib-dev as your suggestion.</div>
<div>> ght@ght-ThinkPad-X270:/lib/x86_64-linux-gnu$ sudo apt-get install</div>
<div>> libmbim-glib-dev</div>
<div>> [sudo] password for ght:</div>
<div>> Reading package lists... Done</div>
<div>> Building dependency tree</div>
<div>> Reading state information... Done</div>
<div>> libmbim-glib-dev is already the newest version (1.12.2-2ubuntu1).</div>
<div>> 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.</div>
<div>></div>
<div> </div>
<div>What is the configure output you get after installing libmbim-glib-dev</div>
<div>and re-running configure?</div>
<div> </div>
<div>> But it's faile to install libmbim-glib-devel.</div>
<div>> ght@ght-ThinkPad-X270:/lib/x86_64-linux-gnu$ sudo apt-get install</div>
<div>> libmbim-glib-devel</div>
<div>> Reading package lists... Done</div>
<div>> Building dependency tree</div>
<div>> Reading state information... Done</div>
<div>> E: Unable to locate package libmbim-glib-devel</div>
<div>></div>
<div>> It's still faile to configure after install libmbim-glib-dev.</div>
<div>></div>
<div> </div>
<div>There is no -devel package in Ubuntu, the -dev one should be enough.</div>
<div> </div>
<div>-- </div>
<div>Aleksander</div>
<div>https://aleksander.es</div>
<div> </div>
</div></blockquote>
</body></html>