<div dir="ltr">
In file included from /usr/include/libmbim-glib/libmbim-glib.h:40,<br> from qmi-endpoint-mbim.c:27:<br>/usr/include/libmbim-glib/mbim-enum-types.h:978:14: error: redundant redeclaration of ‘mbim_context_type_get_string’ [-Werror=redundant-decls]<br> const gchar *mbim_context_type_get_string (MbimContextType val);<br> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>In file included from /usr/include/libmbim-glib/libmbim-glib.h:32,<br> from qmi-endpoint-mbim.c:27:<br>/usr/include/libmbim-glib/mbim-uuid.h:281:14: note: previous declaration of ‘mbim_context_type_get_string’ was here<br> const gchar *mbim_context_type_get_string (MbimContextType val);<br><div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ <br></div><div><br></div><div>
this variable: mbim_context_type_get_string is declered two time? true? how can i skip this error?</div><div><br></div><div><br></div><div>thanks<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 7 ott 2020 alle ore 12:31 Marco Salatin <<a href="mailto:marco.salatin@gmail.com">marco.salatin@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Making file i have this error:</div><div><br></div><div><br></div><div>ar: `u' modifier ignored since `D' is the default (see `U')<br>make[5]: Leaving directory '/home/pi/libqmi/src/libqmi-glib/generated'<br>make[4]: Leaving directory '/home/pi/libqmi/src/libqmi-glib/generated'<br>Making all in .<br>make[4]: Entering directory '/home/pi/libqmi/src/libqmi-glib'<br> CC libqmi_glib_la-qmi-enums-wds.lo<br> CC libqmi_glib_la-qmi-enums-dms.lo<br> CC libqmi_glib_la-qmi-enums-nas.lo<br> CC libqmi_glib_la-qmi-utils.lo<br> CC libqmi_glib_la-qmi-message.lo<br> CC libqmi_glib_la-qmi-message-context.lo<br> CC libqmi_glib_la-qmi-device.lo<br> CC libqmi_glib_la-qmi-client.lo<br> CC libqmi_glib_la-qmi-proxy.lo<br> CC libqmi_glib_la-qmi-file.lo<br> CC libqmi_glib_la-qmi-endpoint.lo<br> CC libqmi_glib_la-qmi-endpoint-qmux.lo<br> CC libqmi_glib_la-qmi-endpoint-mbim.lo<br>In file included from /usr/include/libmbim-glib/libmbim-glib.h:40,<br> from qmi-endpoint-mbim.c:27:<br>/usr/include/libmbim-glib/mbim-enum-types.h:978:14: error: redundant redeclaration of ‘mbim_context_type_get_string’ [-Werror=redundant-decls]<br> const gchar *mbim_context_type_get_string (MbimContextType val);<br> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>In file included from /usr/include/libmbim-glib/libmbim-glib.h:32,<br> from qmi-endpoint-mbim.c:27:<br>/usr/include/libmbim-glib/mbim-uuid.h:281:14: note: previous declaration of ‘mbim_context_type_get_string’ was here<br> const gchar *mbim_context_type_get_string (MbimContextType val);<br> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>cc1: all warnings being treated as errors<br>make[4]: *** [Makefile:867: libqmi_glib_la-qmi-endpoint-mbim.lo] Error 1<br>make[4]: Leaving directory '/home/pi/libqmi/src/libqmi-glib'<br>make[3]: *** [Makefile:977: all-recursive] Error 1<br>make[3]: Leaving directory '/home/pi/libqmi/src/libqmi-glib'<br>make[2]: *** [Makefile:401: all-recursive] Error 1<br>make[2]: Leaving directory '/home/pi/libqmi/src'<br>make[1]: *** [Makefile:457: all-recursive] Error 1<br>make[1]: Leaving directory '/home/pi/libqmi'<br>make: *** [Makefile:389: all] Error 2</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 7 ott 2020 alle ore 12:23 Marco Salatin <<a href="mailto:marco.salatin@gmail.com" target="_blank">marco.salatin@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>ok,</div><div>
ModemManager+NetworkManager <br></div><div><br></div><div>can i ask you how i install them?</div><div><br></div><div>i have sim7000e from Qualcomm on raspberry pi zero w, you think
ModemManager+NetworkManager works on them?<br></div><div><br></div><div>thanks<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 7 ott 2020 alle ore 12:11 Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey,<br>
<br>
> an other question:<br>
> why you don't provide a bash script to keep connection alive?<br>
><br>
> is impossible to do it?<br>
><br>
<br>
It's not impossible, it's just that different users will have<br>
different requirements, and so implementing something that is generic<br>
enough to be shipped with qmicli/qmi-network is very hard. I've worked<br>
with multiple companies in the past writing different "wwan monitor"<br>
applications, and each company really had their own usecases and<br>
requirements. E.g. in your case, you would like to check signal<br>
quality before attempting a connection, and then check connectivity<br>
with pings to some server out there. I've written such monitors even<br>
on top of ModemManager+NetworkManager, which already give you<br>
"autoconnection" logic, because there may be multiple ways to check<br>
connectivity and multiple ways to attempt to recover the connection<br>
(e.g. including a modem reset).<br>
<br>
My suggestion, if you just want to have autoconnection setup, is to<br>
use ModemManager+NetworkManager instead of the very raw qmicli<br>
communication with the modem.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><strong style="margin:0px;padding:0px;border:0px none;font-family:"Open Sans";font-size:14px;font-stretch:inherit;line-height:18.5px;vertical-align:baseline;color:rgb(102,102,102)">Marco Salatin<br></strong><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">T. +39 388 1947558</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">skype: marco.salatin</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px"><a href="mailto:marco.salatin@gmail.com" target="_blank">marco.salatin@gmail.com</a></span><br style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">Sito web: <a href="http://www.salatin.eu" target="_blank">www.salatin.eu</a></span></p><div style="font-size:12.8px"><p><font color="#333333"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La invito ad eliminarlo senza copiarlo e a non inoltrarlo a terzi, dandomene gentilmente comunicazione. </span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black" lang="EN-GB">Grazie.</span><span style="color:rgb(31,73,125)" lang="EN-US"></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black" lang="EN-GB"><br>Pursuant to Legislative Decree No. 196/2003, you are hereby informed that this message contains confidential information intended only for the use of the addressee. If you are not the addressee, and have received this message by mistake, please delete it and immediately notify us. You may not copy or disseminate this message to anyone. </span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Thank you.</span></font></p><div><font color="#333333"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black"><br></span></font></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><strong style="margin:0px;padding:0px;border:0px none;font-family:"Open Sans";font-size:14px;font-stretch:inherit;line-height:18.5px;vertical-align:baseline;color:rgb(102,102,102)">Marco Salatin<br></strong><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">T. +39 388 1947558</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">skype: marco.salatin</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px"><a href="mailto:marco.salatin@gmail.com" target="_blank">marco.salatin@gmail.com</a></span><br style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">Sito web: <a href="http://www.salatin.eu" target="_blank">www.salatin.eu</a></span></p><div style="font-size:12.8px"><p><font color="#333333"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La invito ad eliminarlo senza copiarlo e a non inoltrarlo a terzi, dandomene gentilmente comunicazione. </span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black" lang="EN-GB">Grazie.</span><span style="color:rgb(31,73,125)" lang="EN-US"></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black" lang="EN-GB"><br>Pursuant to Legislative Decree No. 196/2003, you are hereby informed that this message contains confidential information intended only for the use of the addressee. If you are not the addressee, and have received this message by mistake, please delete it and immediately notify us. You may not copy or disseminate this message to anyone. </span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Thank you.</span></font></p><div><font color="#333333"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black"><br></span></font></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><strong style="margin:0px;padding:0px;border:0px none;font-family:"Open Sans";font-size:14px;font-stretch:inherit;line-height:18.5px;vertical-align:baseline;color:rgb(102,102,102)">Marco Salatin<br></strong><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">T. +39 388 1947558</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">skype: marco.salatin</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px"><a href="mailto:marco.salatin@gmail.com" target="_blank">marco.salatin@gmail.com</a></span><br style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px"><span style="color:rgb(102,102,102);font-family:"Open Sans";font-size:14px;line-height:18.5px">Sito web: <a href="http://www.salatin.eu" target="_blank">www.salatin.eu</a></span></p><div style="font-size:12.8px"><p><font color="#333333"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La invito ad eliminarlo senza copiarlo e a non inoltrarlo a terzi, dandomene gentilmente comunicazione. </span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black" lang="EN-GB">Grazie.</span><span style="color:rgb(31,73,125)" lang="EN-US"></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black" lang="EN-GB"><br>Pursuant to Legislative Decree No. 196/2003, you are hereby informed that this message contains confidential information intended only for the use of the addressee. If you are not the addressee, and have received this message by mistake, please delete it and immediately notify us. You may not copy or disseminate this message to anyone. </span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black">Thank you.</span></font></p><div><font color="#333333"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:black"><br></span></font></div></div></div></div></div></div></div></div></div>