From: Denis Kenzior <denkenz@gmail.com>
To: "Любимов Максим" <m.lyubimov@aqsi.ru>, ofono@lists.linux.dev
Subject: Re: [PATCH 14/15] gatchat: added command completion by timeout
Date: Mon, 30 Oct 2023 09:29:59 -0500 [thread overview]
Message-ID: <a96bcf59-705b-45cd-b734-72c5378eb482@gmail.com> (raw)
In-Reply-To: <681f57cc7909dcbd58b6fa273d11cd96904b5eb5.camel@aqsi.ru>
Hi Максим,
>>
>> Ok, but which modems? Do you have an OFONO_AT_DEBUG log trace you
>> can share?
>
> Similar behavior is observed on simcom modems. There are no logs yet,
> but it clearly shows that there is no response to the command.
A log would be useful to help me understand what is happening.
>
>> Anyhow, at the very least you need to make this an opt-in
>> feature. As I pointed
>> out, opting in *all* modem drivers into this functionality will break
>> some of them.
>
> I can suggest adding a property to the modem driver data that will
> enable this function for it.
Sure, that's fine.
>
> Multiple commands that are sent over an interface shared with a PPP
> connection. I have a suspicion that when switching from data
> transmission to command processing, the modem does not process AT
> commands through this interface. But the time frame for this switch is
> not clear.
Most devices come setup with 2-3 pre-multiplexed AT command ports. Most modem
drivers without a high-speed network interface follow the following pattern:
- One AT command port for most AT commands, always active (Modem)
- One AT command port for PPP. This port is used to send CGDCONT/CGDATA
commands and is suspended for the duration of the PPP session (Data)
Are you saying that when the PPP session is ended (NO CARRIER sent?) then
subsequent commands sent to the Data port time out? Or what is happening?
>> What you're describing is vendor specific behavior and has to be
>> treated as such.
>
> How to properly handle a lack of response to a command? Should I add a
> property to the modem driver to enable this feature in GAtChat? Or
> should we separately process the lack of response for those commands
> for which such modem behavior was observed?
I'd like to better understand the problem before offering solutions. What you
outline above are all possible strategies.
Regards,
-Denis
next prev parent reply other threads:[~2023-10-30 14:30 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-17 10:48 [PATCH 01/15] Skipping AT+CUAD sending for QUECTEL_EC2X vendor MaxLyubimov
2023-10-17 10:48 ` [PATCH 02/15] drivers: adding support for the SIMCom A7605E-H MaxLyubimov
2023-10-19 1:30 ` Denis Kenzior
2023-10-27 7:52 ` Любимов Максим
2023-10-29 21:16 ` Denis Kenzior
2023-10-17 10:48 ` [PATCH 03/15] plugins: " MaxLyubimov
2023-10-19 1:42 ` Denis Kenzior
2023-10-27 9:01 ` Любимов Максим
2023-10-29 20:41 ` Denis Kenzior
2023-10-30 7:11 ` Любимов Максим
2023-10-17 10:48 ` [PATCH 04/15] build: " MaxLyubimov
2023-10-17 10:48 ` [PATCH 05/15] drivers: quectel: Add radio settings MaxLyubimov
2023-10-19 1:49 ` Denis Kenzior
2023-10-17 10:48 ` [PATCH 06/15] build: Add quectel radio settings rules MaxLyubimov
2023-10-17 10:48 ` [PATCH 07/15] plugins: quectel: Add radio settings MaxLyubimov
2023-10-19 2:00 ` Denis Kenzior
2023-10-17 10:48 ` [PATCH 08/15] drivers: gemalto: Add models list MaxLyubimov
2023-10-17 10:48 ` [PATCH 09/15] plugins: gemalto: Include " MaxLyubimov
2023-10-17 10:48 ` [PATCH 10/15] plugins: udevng: Add support gemalto EHS5-E MaxLyubimov
2023-10-17 10:48 ` [PATCH 11/15] gemalto: radio-settings: Add support EHS5-E MaxLyubimov
2023-10-17 10:48 ` [PATCH 12/15] Fix PPP LCP Configure-Reject MaxLyubimov
2023-10-19 2:08 ` Denis Kenzior
2023-10-17 10:49 ` [PATCH 13/15] atmodem: added context deactivation event handling MaxLyubimov
2023-10-19 2:13 ` Denis Kenzior
2023-10-17 10:49 ` [PATCH 14/15] gatchat: added command completion by timeout MaxLyubimov
2023-10-19 2:21 ` Denis Kenzior
2023-10-27 9:45 ` Любимов Максим
2023-10-29 20:59 ` Denis Kenzior
2023-10-30 7:04 ` Любимов Максим
2023-10-30 14:29 ` Denis Kenzior [this message]
2023-10-17 10:49 ` [PATCH 15/15] ppp: message tracing MaxLyubimov
2023-10-19 2:22 ` Denis Kenzior
2023-10-27 10:01 ` Любимов Максим
2023-10-29 21:05 ` Denis Kenzior
2023-10-30 6:34 ` Любимов Максим
2023-10-30 14:30 ` Denis Kenzior
2023-10-19 1:28 ` [PATCH 01/15] Skipping AT+CUAD sending for QUECTEL_EC2X vendor Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a96bcf59-705b-45cd-b734-72c5378eb482@gmail.com \
--to=denkenz@gmail.com \
--cc=m.lyubimov@aqsi.ru \
--cc=ofono@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.