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

Reinhard Speyerer rspmn at arcor.de
Sun May 14 20:02:06 UTC 2017


On Sun, May 14, 2017 at 11:07:27AM -0600, matthew stanger wrote:
> Logic is sound.
> 
>  the user ends up changing the CID that the device uses for default LTE
> > attachment (e.g. CID=1 for Qualcomm or CID=16 for Huawei ME909u)
> 
> Wouldn't this still end up being okay for users too. Once they realize
> they're using the wrong CDC & switch pdp-cid (& the lte back off timer
> expires), the next 4g connection attempt should re-set the LTE(1 /14)
> pdp-cid? That's how I read the Cinterion AT doc.
> 
> Code LGTM
> 

Hi Matthew,

unless the CID which is used for LTE attach is also reset back to the
default e.g. with AT+CGDCONT=1,"IPV4V6","" before the next EPS attach
is attempted this will most likely not work.

Users of the pdp-cid feature will also have to keep in mind that the PDP
context activated during LTE attach will be reused instead of sending a
PDN connectivity request to the network if the APN matches.
As a consequence e.g. CID=1 instead of the value given to the pdp-cid
parameter would have to be used for AT commands like AT+CGCONTRDP,
AT!SCPADDR, ... in this case.

Regards,
Reinhard


More information about the ModemManager-devel mailing list