All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Implement Compound GATT procedures, Long Reads
@ 2011-01-07  0:39 Brian Gix
  2011-01-07  0:39 ` [PATCH 1/2] Fix g_attrib_send() to include a new ID parameter Brian Gix
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Brian Gix @ 2011-01-07  0:39 UTC (permalink / raw)
  Cc: vinicius.gomes, claudio.takahasi, johan.hedberg, padovan,
	linux-bluetooth


These patches address the concerns raised by Vinicius and Claudio.

They are based on a rebase as of:

commit 3fd5fa3890e3db3857f212ef6a187f7744d07cba
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Date:   Mon Jan 3 18:45:54 2011 -0300


-- 
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] Implement Compound GATT Procedures and Long Reads
@ 2011-01-05  0:01 Brian Gix
  2011-01-05  0:01 ` [PATCH 1/2] Fix g_attrib_send() to include a new ID parameter Brian Gix
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Gix @ 2011-01-05  0:01 UTC (permalink / raw)
  Cc: claudio.takahasi, padovan, rshaffer, linux-bluetooth

These two patches implement Compound GATT procedures, so that they
are executed atomically, and in the order that they are invoked,
regardless of whether they can be performed in a single or multiple
ATT Req/Resp transaction.

Patch 1 adds an ID parameter to g_attrib_send which shall be Zero for the
first ATT transaction, and shall be the previously returned ID for all
subsequent ATT transactions for that GATT procedure.  The underlying
code will enqueue the requested pkt at the Tail of the queue for Zero
ID'd pkts, and at the Head of the queue for non-zero (continuation)
pkts. The queue is then only services (next item sent) after the
callbacks have been made, to allow any continuation pkts to be created.


Patch 2 then uses this new feature of g_attrib_send to implement
support for Long Attribute Reads (using READ_BLOB).



-- 
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-07 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07  0:39 [PATCH 0/2] Implement Compound GATT procedures, Long Reads Brian Gix
2011-01-07  0:39 ` [PATCH 1/2] Fix g_attrib_send() to include a new ID parameter Brian Gix
2011-01-07  0:39 ` [PATCH 2/2] Fix gatt_read_char() to support long Attrib Values Brian Gix
2011-01-07 19:32 ` [PATCH 0/2] Implement Compound GATT procedures, Long Reads Johan Hedberg
  -- strict thread matches above, loose matches on Subject: below --
2011-01-05  0:01 [PATCH 0/2] Implement Compound GATT Procedures and " Brian Gix
2011-01-05  0:01 ` [PATCH 1/2] Fix g_attrib_send() to include a new ID parameter Brian Gix
2011-01-06 17:17   ` Claudio Takahasi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.