Re: Confirming APN in use

2022-10-20 Thread Julien
Is it the case when trying to send a MMS? My mobile operator uses 2 distinct APNs for the Internet and MMS, I can receive MMS when switching to the APN for MMS but it seems to be trickier to send MMS.envoyé : 20 octobre 2022 à 18:41de : Peter Naulls à : Aleksander Morgado Cc: "ModemManager (devel

Re: Confirming APN in use

2022-10-20 Thread Peter Naulls
On 10/20/22 05:06, Aleksander Morgado wrote: Hey Peter, In 4G there are 2 different sets of APNs required for a successful data connection: first, the initial EPS bearer settings (a.k.a. attach APN), which is used during modem registration phase; and second the data connection settings (a.k.

T-Mobile registration trouble (USA)

2022-10-20 Thread Bruce Johnson
After something of a hiatus induced by work priorities, I am back to my project that uses ModemManager and a "glue" program to tell it to connect. Code that was working back in July isn't working, and our IT folks gave us new SIMs from T-Mobile. Here in the USA, T-Mobile has instituted a requir

Re: +CEREG signals denied before being registered

2022-10-20 Thread Sven Schwermer
On 10/20/22 11:16, Aleksander Morgado wrote: There is probably no generic way to resolve this because the current implementation seems correct. But do you have guidance how to fix this with - perhaps with a non-upstreamed patch? Perhaps, we could start a timer when getting the denied status up

Re: Registration wait timeout

2022-10-20 Thread Sven Schwermer
Hi Aleksander, just to be clear, this is what I'm referring to: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/ec28c85a6a29e819266c4fb167e4defe9a2a33d9/src/mm-iface-modem-simple.c#L186 What would you suggest setting this to? Should this value be retrieved via the modem's

Re: +CEREG signals denied before being registered

2022-10-20 Thread Aleksander Morgado
Hey, > >> I have another question about the Fibocom MA510-GL: When +COPS=0 is > >> issued, often the modem emits the following sequence of URC which makes > >> ModemManager abort the simple connect flow: > >> > >> +CEREG: 0 (idle) > >> +CEREG: 2 (searching) > >> +CEREG: 3 (denied) > >> +CEREG: 5,.

Re: +CEREG signals denied before being registered

2022-10-20 Thread Sven Schwermer
Hi Aleksander, On 10/20/22 10:51, Aleksander Morgado wrote: Hey, I have another question about the Fibocom MA510-GL: When +COPS=0 is issued, often the modem emits the following sequence of URC which makes ModemManager abort the simple connect flow: +CEREG: 0 (idle) +CEREG: 2 (searching) +CERE

Re: Beware of memory leaks in ModemManager + glib2 2.73.1

2022-10-20 Thread Aleksander Morgado
Hey hey, > > A recent change > (https://gitlab.gnome.org/GNOME/glib/-/commit/95caffcd260457c488136cd4a922adead4df6cfe) > in glib2 has introduced an enormous amount of memory leaks in > ModemManager: > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/624 > > If you're intereste

Re: Confirming APN in use

2022-10-20 Thread Aleksander Morgado
Hey Peter, > > This is with ModemManager 1.18.6 and libqmi 1.30.4, but that I'm not > necessarily > tied to those, that's just what's in our stable code base. This is on OpenWrt > 22.03. > > You'll also excuse the lack of detail in this; I don't think I need to report > here the actual APNs we're

Re: +CEREG signals denied before being registered

2022-10-20 Thread Aleksander Morgado
Hey, > I have another question about the Fibocom MA510-GL: When +COPS=0 is > issued, often the modem emits the following sequence of URC which makes > ModemManager abort the simple connect flow: > > +CEREG: 0 (idle) > +CEREG: 2 (searching) > +CEREG: 3 (denied) > +CEREG: 5,... (registered, roaming)

Re: Registration wait timeout

2022-10-20 Thread Aleksander Morgado
Hey, > > I saw that the registration timeout, i.e. the max time to wait from > +COPS=0 to registered state to be reached, is set to 60s. On a modem I > am working on (Fibocom MA510-GL), I can see that this can take multiple > if not many minutes in certain cases. This appears to depend on what > R