Fibocom L850-GL hangs upon connect.

2018-08-07 Thread Daniel Wood
I have been given a Fibocom L850-GL that seems to be stuck in NCM mode. As I have not had any luck changing the mode back to MBIM: ModemManager[25270]: [1533696762.104669] (ttyACM0): --> 'AT+GTUSBMODE?' ModemManager[25270]: [1533696762.121517] (ttyACM0): <-- '+CME ERROR: 4' ModemManager[25270]:

[PATCH 1/2] broadband-modem-mbim: check if modem implements MBIM_CID_PCO

2018-08-07 Thread Ben Chan
Being a part of a series that adds PCO support for MBIM modems that implement the MBIM_CID_PCO extension, this patch issues a MBIM_CID_DEVICE_SERVICES query during the modem initialization to check if a modem implements MBIM_CID_PCO. If the modem does, ModemManager will subscribe to MBIM_CID_PCO

[PATCH 2/2] broadband-modem-mbim: subscribe to MBIM_CID_PCO notifications

2018-08-07 Thread Ben Chan
This patch changes MMBroadbandModem to subscribe to MBIM_CID_PCO notifications if the modem supports that. --- src/mm-broadband-modem-mbim.c | 76 --- 1 file changed, 71 insertions(+), 5 deletions(-) diff --git a/src/mm-broadband-modem-mbim.c

Re: [RFC] Deprecate SubscriptionState?

2018-08-07 Thread Ben Chan
On Tue, Aug 7, 2018 at 7:22 AM Dan Williams wrote: > > On Tue, 2018-08-07 at 01:07 +0200, Aleksander Morgado wrote: > > Hey, > > > > Why raw PCO data in hex string? Why not directly the binary data? > > e.g. > > "ay" instead of "s". The signature could be then "a(iay)" > > Yeah I'd vote for byte

Re: [RFC] Deprecate SubscriptionState?

2018-08-07 Thread Dan Williams
On Tue, 2018-08-07 at 01:07 +0200, Aleksander Morgado wrote: > Hey, > > > > > > > At some point we need to handle network-initiated bearers in MM > > > though. > > > > > > > Given that the SessionId reported in a MBIM_CID_PCO notification > > may > > not be associated with any CID

Re: Adding AT commands to activate call audio over USB endpoint

2018-08-07 Thread Aleksander Morgado
Hey, > We're using a SIMCom SIM7100 modem which has the ability to exchange > call audio data over a USB serial endpoint⁰. To enable this, the modem > needs an AT command after the call has connected, AT+CPCMREG=1, and a > command after call has disconnected, AT+CPCMREG=0. > Would these

Adding AT commands to activate call audio over USB endpoint

2018-08-07 Thread Bob Ham
Hi there, We're using a SIMCom SIM7100 modem which has the ability to exchange call audio data over a USB serial endpoint⁰. To enable this, the modem needs an AT command after the call has connected, AT+CPCMREG=1, and a command after call has disconnected, AT+CPCMREG=0. Not knowing the