Re: [PATCH 2/2] quectel: Power on/off with a gpio pulse

2020-09-30 Thread Denis Kenzior
Hi Lars, Can this be done using g_timeout instead? This was indeed not the first solution I tried. But I used the l_timeout_ thing that is used all over in quectel.c. I could not get this to work in a way I was satisfied with. When I send a SIGTERM to the ofono process close_serial is called

Re: [PATCH 2/2] quectel: Power on/off with a gpio pulse

2020-09-30 Thread Lars Poeschel
Hi Denis, On Tue, Sep 29, 2020 at 09:22:26AM -0500, Denis Kenzior wrote: > > @@ -237,7 +248,7 @@ static void close_ngsm(struct ofono_modem *modem) > > static void close_serial(struct ofono_modem *modem) > > { > > struct quectel_data *data = ofono_modem_get_data(modem); > > - uint32_t