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

2017-05-15 Thread Aleksander Morgado
On Mon, May 15, 2017 at 4:57 PM, Dan Williams wrote: > If we really want to do this for QMI, we need to complicate the setup > logic. Maybe we should do it anyway. > > But whenever connecting with a pdp-cid, we'd need to WDSGetProfileList, > then for each profile we WDSGetProfileSettings for the

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

2017-05-15 Thread Dan Williams
On Mon, 2017-05-15 at 12:05 +0200, Bjørn Mork wrote: > Aleksander Morgado writes: > > > On Mon, May 15, 2017 at 10:42 AM, Bjørn Mork 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

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

2017-05-15 Thread Bjørn Mork
Aleksander Morgado writes: > On Mon, May 15, 2017 at 10:42 AM, Bjørn Mork 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

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

2017-05-15 Thread Aleksander Morgado
On Mon, May 15, 2017 at 10:42 AM, Bjørn Mork 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? >> >

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

2017-05-15 Thread Bjørn Mork
Aleksander Morgado writes: > On Mon, May 15, 2017 at 4:52 AM, Dan Williams 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 can

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

2017-05-15 Thread Aleksander Morgado
On Mon, May 15, 2017 at 4:52 AM, Dan Williams wrote: >> Some operators, most notably Verizon, require connection to be >> performed through a specific PDP context (#3). This API update allows >> the user to specify the PDP CID via a new 'pdp-cid' parameter given >> in >> either the Simple.Connect(

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

2017-05-14 Thread Dan Williams
On Sun, 2017-05-14 at 16:51 +0200, Aleksander Morgado wrote: > Some operators, most notably Verizon, require connection to be > performed through a specific PDP context (#3). This API update allows > the user to specify the PDP CID via a new 'pdp-cid' parameter given > in > either the Simple.Connec

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

2017-05-14 Thread Reinhard Speyerer
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 re

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

2017-05-14 Thread matthew stanger
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

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

2017-05-14 Thread Aleksander Morgado
Some operators, most notably Verizon, require connection to be performed through a specific PDP context (#3). This API update allows the user to specify the PDP CID via a new 'pdp-cid' parameter given in either the Simple.Connect() or the Modem.CreateBearer() methods. This implementation is curren