[PATCH] libmbim-glib, proxy: Filter indications based on MBIM_CID_BASIC_CONNECT_DEVICE_SERVICE_SUBSCRIBE_LIST

Aleksander Morgado aleksander at aleksander.es
Mon Jun 23 11:31:46 PDT 2014


On Mon, Jun 23, 2014 at 8:25 PM, Greg Suarez <gpsuarez2512 at gmail.com> wrote:
>> There's one key thing missing still in the behavior we're supposed to
>> see w.r.t. indications. In the current code with your latest patches,
>> there is no difference between standard and non-standard services. If
>> I'm not mistaken, by default all indications of "standard" services
>> should be treated as enabled; while all indications of non-standard
>> services shouldn't.
>
>
> Just so I understand what you're saying...
> So Client-A enables indications for non-standard services and then Client-B
> connects to the proxy and expects the non-standard indications disabled.
> So the proxy shouldn't forward the non-standard indications to Client-B
> until
> Client-B enables the indications, correct?

Yes.

Another flow:
 * Client A starts, and by default expects standard indications.
 * Client B starts, and by default expects standard indications.
 * At this point, all standard indications should go to both clients A and B.
 * Client B unregisters itself from all standard indications, and
registers some non-standard ones.
 * At this point, all standard indications should go to client A, and
client B should only get those non-standard indications it was
registered for.

Could you re-check the standard to confirm this logic, and if so,
provide in the commit message the section in which this is explained?

-- 
Aleksander
https://aleksander.es


More information about the libmbim-devel mailing list