Re: [PATCH] ublox: netreg: Also subscribe to UREG URC's

2019-09-30 Thread Richard Röjfors
Den mån 30 sep. 2019 kl 19:00 skrev Denis Kenzior : > Hi Richard, > > On 9/29/19 2:39 PM, richard.rojf...@gmail.com wrote: > > From: Richard Röjfors > > > > It turns out that both L2xx and L4xx modems are a bit > > buggy when it comes to send CREG URC's when the tech changes. > > Try to overcome

Re: [PATCH] ublox: netreg: Also subscribe to UREG URC's

2019-09-30 Thread Denis Kenzior
Hi Richard, On 9/29/19 2:39 PM, richard.rojf...@gmail.com wrote: From: Richard Röjfors It turns out that both L2xx and L4xx modems are a bit buggy when it comes to send CREG URC's when the tech changes. Try to overcome this by subscribing to both UREG and CREG, and poll the other when any of

Re: [PATCH] ublox: netreg: Also subscribe to UREG URC's

2019-09-29 Thread Richard Röjfors
Hi, Here is a log showing why this is needed, no CREG for more than 30 minutes when changing tech from UTRAN to E-UTRAN. This happens on a L210, but as I understood Jonas, and comments in the code, the L4xx suffers from similar issues, so I added this for both L4 and L2. Sep 23 21:45:37 info :

[PATCH] ublox: netreg: Also subscribe to UREG URC's

2019-09-29 Thread richard . rojfors
From: Richard Röjfors It turns out that both L2xx and L4xx modems are a bit buggy when it comes to send CREG URC's when the tech changes. Try to overcome this by subscribing to both UREG and CREG, and poll the other when any of the URC's are received. Protect from doing simultanious polls