[PATCH] api: allow specifying the PDP CID to use

Aleksander Morgado aleksander at aleksander.es
Mon May 15 09:59:41 UTC 2017


On Mon, May 15, 2017 at 10:42 AM, Bjørn Mork <bjorn at mork.no> wrote:
>>> Lastly, QMI doesn't even use PDP contexts, so how is that going to
>>> work?  I guess you can assign the context # in the creation message,
>>> but still, what does verizon recommend that QMI users do if they cannot
>>> use PDP contexts?
>>
>> In a QMI based implementation the "pdp-cid" setting would be ignored,
>> and the connection setting would just go on only with the APN setting
>> given. I'm assuming that having "carrier certified" QMI firmware
>> configuration images would have something to do with how all this is
>> organized internally, but not sure. Although, QMI also has APIs for
>> profiles and these match the PDP context configurations seen with
>> AT+CGDCONT, or not? I didn't play much with the QMI profiles myself,
>> no idea.
>
> I believe they match.  You should be able to use the "Profile Index"
> TLVs of the "Start Network" request to force it.

So, can we specify e.g. APN and "profile index" in the same Start
Network request, and make the firmware reconfigure the given profile
with the given APN? or is the "profile index" just a way to select
which profile to start network with?


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list