Implement Compound GATT Procedures and Long Reads
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Fix g_attrib_send() to include a new ID parameterattrib/ attrib/ attrib/ +3 more | +28 | 1 reply | |
| 2/2 | Fix gatt_read_char() to support long Attrib Valuesattrib/ | +132 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Implement Compound GATT Procedures and Long Reads
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).
Signature · 4 lines
Brian Gix [email protected] Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum