<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">this patch add modem_power_down feature for telit plugin.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The change is quite simple, it sends +CFUN=4 to the modem in order to let it go to low power state.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best regards,<br>Carlo Lobrano</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">diff --git a/plugins/telit/mm-broadband-modem-telit.c b/plugins/telit/mm-broadband-modem-telit.c</div><div class="gmail_default">index 971e85e..f4fe03c 100644</div><div class="gmail_default">--- a/plugins/telit/mm-broadband-modem-telit.c</div><div class="gmail_default">+++ b/plugins/telit/mm-broadband-modem-telit.c</div><div class="gmail_default">@@ -40,6 +40,30 @@ G_DEFINE_TYPE_EXTENDED (MMBroadbandModemTelit, mm_broadband_modem_telit, MM_TYPE</div><div class="gmail_default">                         G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_3GPP, iface_modem_3gpp_init));</div><div class="gmail_default"> </div><div class="gmail_default"> /*****************************************************************************/</div><div class="gmail_default">+/* Modem power down (Modem interface) */</div><div class="gmail_default">+</div><div class="gmail_default">+static gboolean</div><div class="gmail_default">+modem_power_down_finish (MMIfaceModem *self,</div><div class="gmail_default">+                         GAsyncResult *res,</div><div class="gmail_default">+                         GError **error)</div><div class="gmail_default">+{</div><div class="gmail_default">+    return !!mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, error);</div><div class="gmail_default">+}</div><div class="gmail_default">+</div><div class="gmail_default">+static void</div><div class="gmail_default">+modem_power_down (MMIfaceModem *self,</div><div class="gmail_default">+                  GAsyncReadyCallback callback,</div><div class="gmail_default">+                  gpointer user_data)</div><div class="gmail_default">+{</div><div class="gmail_default">+    mm_base_modem_at_command (MM_BASE_MODEM (self),</div><div class="gmail_default">+                              "+CFUN=4",</div><div class="gmail_default">+                              20,</div><div class="gmail_default">+                              FALSE,</div><div class="gmail_default">+                              callback,</div><div class="gmail_default">+                              user_data);</div><div class="gmail_default">+}</div><div class="gmail_default">+</div><div class="gmail_default">+/*****************************************************************************/</div><div class="gmail_default"> /* Load access technologies (Modem interface) */</div><div class="gmail_default"> </div><div class="gmail_default"> static gboolean</div><div class="gmail_default">@@ -289,6 +313,8 @@ mm_broadband_modem_telit_init (MMBroadbandModemTelit *self)</div><div class="gmail_default"> static void</div><div class="gmail_default"> iface_modem_init (MMIfaceModem *iface)</div><div class="gmail_default"> {</div><div class="gmail_default">+    iface->modem_power_down = modem_power_down;</div><div class="gmail_default">+    iface->modem_power_down_finish = modem_power_down_finish;</div><div class="gmail_default">     iface->load_access_technologies = load_access_technologies;</div><div class="gmail_default">     iface->load_access_technologies_finish = load_access_technologies_finish;</div><div class="gmail_default">     iface->setup_flow_control = setup_flow_control;</div><div><br></div></div></div>