Establishing connections to multiple PDPs simultaneously with MBIM

Aleksander Morgado aleksander at aleksander.es
Wed Aug 5 11:17:33 PDT 2015


On Wed, Aug 5, 2015 at 8:13 PM, Bjørn Mork <bjorn at mork.no> wrote:
>> I just posted a patch for this; comments?  The only thing I don't like
>> is how --connect specifies the session id, but I'm not sure how else to
>> do it since adding an additional parameter --session-id wouldn't really
>> fit with the mbimcli model, as --session-id is only applicable to 3
>> commands in basic-connect.  So I chose the :-based approach...
>
> I'm not much of an User Interface designer.  I do note that we already
> have the comma-separated authentication suboptions, but I agree that it
> doesn't make much sense to add the session-id after all those.  The
> :-based approach is better.
>
> But then we have the DSS Session ID, making this somewhat inconsistent
> again:
>
>  Device Service Stream options
>    --dss-connect=[(UUID),(Session ID)]                                         Connect DSS session
>    --dss-disconnect=[(UUID),(Session ID)]                                      Disconnect DSS session
>
>
> And there are still suboptions missing from the connect command.  We
> do want the ability to change both IP type and Context type, because
> these will often be the reason you want multiple APNs in the first
> place.

Ahh; there's already multiple options for the auth username/pass...
yeah, then prefixing session id with ":" may make more sense. But for
the ip type and context type... those fit better in the
comma-separated existing model I guess?


-- 
Aleksander
https://aleksander.es


More information about the libmbim-devel mailing list