Re: Quectel EC25 & AT connection Catch-22

2024-04-23 Thread Filip Kubicz
Hi Bruce, You can use ModemManager's API to set APN. ModemManager will do it using QMI protocol and there should be no need to send additional AT command unless you're doing something more custom not handled by ModemManager. I've been using Quectel (EG/EC) modems over USB with ModemManager and

Re: Empty APN, 2 PDP contexts and 1 PDP context

2024-04-12 Thread Filip Kubicz
Hi Aleksander, Thank you for all the explanations. I wasn't aware the initial EPS bearer needs to be configured separately. Your guesses about the empty APN were right, I can see: # qmicli -d /dev/cdc-wdm0 -p --wds-get-lte-attach-pdn-list Attach PDN list retrieved: Current list: '1' Pending

Empty APN, 2 PDP contexts and 1 PDP context

2024-04-03 Thread Filip Kubicz
ModemManager with QMI it will tell me the accurate modem state. 2. Why do some devices have only 1 PDP context with empty APN, while others have 2 PDP contexts with the right APN in context 2? We'd like to make sure all devices use European APN as it positively impacts the latency and download speed. Thank you! Filip Kubicz

Re: Get modem SIM properties for mmcli

2023-04-24 Thread Filip Kubicz
I assumed you need to parse it for a program, but if you just need a human-readable version, you can also use mmcli -i 0 For a quick overview, and to filter it, grep for the line that you are interested in. Kind regards, Filip On Mon, Apr 24, 2023 at 12:58 PM Filip Kubicz wrote: > Hi Bren

Re: Get modem SIM properties for mmcli

2023-04-24 Thread Filip Kubicz
Hi Brendan, There are a few approaches but a convenient method to retrieve values from mmcli is to use -J flag to get the JSON output. For example, to get modem IMEI, you can do (in bash): modem="$(mmcli --list-modems -J | jq '."modem-list"[0]' -r)" imei="$(mmcli -m ${modem} -J |

ModemManager and modem low power with USB/QMI

2023-02-23 Thread Filip Kubicz
Hi! I'm using Quectel EC21EUX modem, connected with USB, and QMI to control it via ModemManager. I have a question about going to sleep with a TCP connection kept so the device can wake up. I have configured the modem to go to low power mode whenever there is no traffic (AT+QSCLK=1,

Re: Linux system cannot use the data connection

2022-09-14 Thread Filip Kubicz
ext deactivation using ModemManager? Kind regards, Filip -- Forwarded message - From: Filip Kubicz Date: Wed, Jul 27, 2022 at 9:33 AM Subject: Re: Linux system cannot use the data connection To: Amol Lad Cc: modemmanager-devel@lists.freedesktop.org < modemmanager

Re: Linux system cannot use the data connection

2022-07-27 Thread Filip Kubicz
mol Lad > Sent: Friday, 15 July 2022 6:39 PM > To: Filip Kubicz > Cc: modemmanager-devel@lists.freedesktop.org; Kamil Sroka < > kamil.sr...@tier.app> > Subject: RE: Linux system cannot use the data connection > > Please try below (skip dns resolution) > >

Re: Linux system cannot use the data connection

2022-07-16 Thread Filip Kubicz
On Fri, Jul 15, 2022 at 2:52 PM Amol Lad wrote: > Please also try downloading a test file as below and see the result. Does > it download any file at all? > > > > wget http://speedtest.ftp.otenet.gr/files/test10Mb.db > > > > > > > > *From:* Filip Kubi

Re: Linux system cannot use the data connection

2022-07-16 Thread Filip Kubicz
in this case? (all logs attached to the first message) Kind regards, Filip On Fri, Jul 15, 2022 at 3:08 PM Amol Lad wrote: > Please try below (skip dns resolution) > > > > wget > http://193.63.62.31/sites/default/files/publications/civic_renewal_forms.zip > > > >

Re: Linux system cannot use the data connection

2022-07-15 Thread Filip Kubicz
28 PM Amol Lad wrote: > I generally run into similar situation when my SIM card runs out of money. > Do you want to try topping-up SIM card and see if ping is successful? > > > > Amol > > > > *From:* ModemManager-devel < > modemmanager-devel-boun...@lists.freedesk