Re: How other applications use the ports that occupied by MM

2019-03-21 Thread Ben Chan
On Thu, Mar 21, 2019 at 9:25 AM Aleksander Morgado wrote: > > > > > Yeah, mixed feelings from me too. I guess before we do that, can we ask > > what commands people want to use? I'd rather it not be used a short > > circuit for stuff that could be fixed in MM or implemented fairly > > easily for

Re: How other applications use the ports that occupied by MM

2019-03-21 Thread Bjørn Mork
"Bowden, Brendan" writes: > We're looking at using the AT port to get a few status values that > don't appear to be readily available from QMI. One we need in > particular is device temperature (there's a hardware failure condition > that manifests as a very high temperature value). Of course

[PATCH v2] broadband-modem-mbim: parse nw_error in register_state_set_ready only if MBIM_STATUS_FAILURE

2019-03-21 Thread Lech Perczak
Some modems (Namely: Telit LE910 V2) report nonzero NwError code, outside of 3GPP TS 24.008 - in "register-state set command-done" response, while status code equals MBIM_STATUS_ERROR_NONE. In such cases network is operational. According to MBIM specification 1.0 table 10.5.9.8 "Status codes",

Re: How other applications use the ports that occupied by MM

2019-03-21 Thread Aleksander Morgado
> > Yeah, mixed feelings from me too. I guess before we do that, can we ask > what commands people want to use? I'd rather it not be used a short > circuit for stuff that could be fixed in MM or implemented fairly > easily for a device. That's my only reservation, that having it may > reduce the

Re: How other applications use the ports that occupied by MM

2019-03-21 Thread Aleksander Morgado
> We're looking at using the AT port to get a few status values that don't > appear to be readily available from QMI. One we need in particular is device > temperature (there's a hardware failure condition that manifests as a very > high temperature value). Of course any hints on how to pull

RE: How other applications use the ports that occupied by MM

2019-03-21 Thread Bowden, Brendan
> From: ModemManager-devel boun...@lists.freedesktop.org> On Behalf Of Dan Williams > Sent: Thursday, March 21, 2019 10:20 AM > To: Aleksander Morgado ; 王道之 > > Cc: ModemManager (development) de...@lists.freedesktop.org> > Subject: Re: How other applications use the ports that occupied by MM >

Re: How other applications use the ports that occupied by MM

2019-03-21 Thread Dan Williams
On Mon, 2019-03-18 at 11:24 +0100, Aleksander Morgado wrote: > Hey, > > > I am trying to find a way to use the AT ports or mbim ports that > > occupied by MM as all the device ports were used by MM. eg. I want > > send AT command to the modem, but MM occupies the AT port. Is there > > any way to

Re: [PATCH] broadband-modem-mbim: parse nw_error in register_state_set_ready only if MBIM_STATUS_FAILURE

2019-03-21 Thread Lech Perczak
Hi Aleksander, Thank you for such a swift response! I will post updated patch shortly, after testing updated changes locally. W dniu 21.03.2019 o 13:42, Aleksander Morgado pisze: > Hey! > > See comments below. > > On Thu, Mar 21, 2019 at 1:14 PM Lech Perczak > wrote: >> Some modems (Namely:

Re: [PATCH] broadband-modem-mbim: parse nw_error in register_state_set_ready only if MBIM_STATUS_FAILURE

2019-03-21 Thread Aleksander Morgado
Hey! See comments below. On Thu, Mar 21, 2019 at 1:14 PM Lech Perczak wrote: > > Some modems (Namely: Telit LE910 V2) report nonzero NwError code, > outside of 3GPP TS 24.008 - in "register-state set command-done" response, > while status code equals MBIM_STATUS_ERROR_NONE. > In such cases

[PATCH] broadband-modem-mbim: parse nw_error in register_state_set_ready only if MBIM_STATUS_FAILURE

2019-03-21 Thread Lech Perczak
Some modems (Namely: Telit LE910 V2) report nonzero NwError code, outside of 3GPP TS 24.008 - in "register-state set command-done" response, while status code equals MBIM_STATUS_ERROR_NONE. In such cases network is operational. According to MBIM specification 1.0 table 10.5.9.8 "Status codes",