From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: vendor models and options
Date: Sat, 15 Sep 2018 15:52:04 -0500 [thread overview]
Message-ID: <d0d41734-9982-da27-ab4f-1437443bbfa8@gmail.com> (raw)
In-Reply-To: <CAKSBH7G1zTuDNVaqGNXSgcSpSjrH3N26dkiaMsoiTc1Rm+DY_w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
Hi Giacinto,
> yes, CGAUTH can be queried, but there is no fallback command in case it
> fails, so it has to be pre-defined based on the model used.
You might have to show me more specifics. I don't see why we couldn't
query +CGAUTH=? in all cases and if it isn't supported, fall back to
vendor specific commands?
> No query commands would not return the name of the parameters, which in
> this case is the only difference between username and password.
That's too bad. Some vendors define a different length for username /
password, so you could guess the order by which lengths are returned.
Others use weird strings with password or username in the '=?' response.
However, since you likely want to use a vendor specific gprs-context
driver anyway, this really shouldn't be that big of a deal.
>
> I am introducing a specific gprs-context for some models, using atmodem
> for others, and mbim and qmi for other models.
> I try to stick to gprs (not gprs-context) for most of them, because this
> is pretty much the same for most of them. For some models that have a
> lot of differences we are going to use specific atoms.
> We use the same code for the lte atom as well, unless there is a way to
> factorize it.
It is generally quite easy to share things between AT command based
drivers. See drivers/atmodem/atutil.[ch].
Also, you might want to start by submitting a small subset of changes
you have pending as a trial run to get comfortable with the overall
development process, patch reviews, resubmissions, etc.
Regards,
-Denis
prev parent reply other threads:[~2018-09-15 20:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-07 8:09 vendor models and options Giacinto Cifelli
2018-09-07 15:09 ` Denis Kenzior
2018-09-14 11:48 ` Giacinto Cifelli
2018-09-14 6:00 ` Denis Kenzior
2018-09-15 6:23 ` Giacinto Cifelli
2018-09-15 20:52 ` Denis Kenzior [this message]
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=d0d41734-9982-da27-ab4f-1437443bbfa8@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox