[PATCH] libmbim: Add mbim-proxy support

Greg Suarez gpsuarez2512 at gmail.com
Thu May 29 12:15:39 PDT 2014


On Tue, May 27, 2014 at 10:16 AM, Aleksander Morgado <
aleksander at aleksander.es> wrote:

> Yes. If we get an indication from the device an there wasn't *any*
> client configured to receive it, then we should forward it to
> everyone.
>
>
So now that I've implemented this I've come to realize that there's no way
to tell the difference between
"there's no client configured to receive an indication" vs "a client that's
configured to not receive any indications
from a service"

So what I'm doing is if a client has sent the
MBIM_CID_BASIC_CONNECT_DEVICE_SERVICE_SUBSCRIBE_LIST
it will only receive indications from that list.
A client will receive all indications if the client has never sent the
MBIM_CID_BASIC_CONNECT_DEVICE_SERVICE_SUBSCRIBE_LIST
command or sends the command with no elements, which clears out the list.

Thoughts?

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libmbim-devel/attachments/20140529/bc967cb8/attachment.html>


More information about the libmbim-devel mailing list