History log of /external/bluetooth/bluez/attrib/att.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1f8969c0435f8d49c20f46dba9bece21031997c7 26-Apr-2011 Johan Hedberg <johan.hedberg@nokia.com> Clean up ATT CID & PSM magic values & definititions

Use proper defines for the ATT CID and PSM. The values are really ATT
and not GATT specific so move them from gatt.h to att.h.
/external/bluetooth/bluez/attrib/att.h
52727904b677cabf296e343fb16c583b0e988c7b 29-Mar-2011 Claudio Takahasi <claudio.takahasi@openbossa.org> Remove "authen" and "autho" short versions for ATT constants
/external/bluetooth/bluez/attrib/att.h
a278db781a26c639267b1d88d5fbe08f99af6c61 15-Mar-2011 Elvis Pfützenreuter <epx@signove.com> Use new UUID functions in GATT

This patch puts the new UUID functions into use for GATT-related
code, and adds some convenience functions to ATT API (att.h).
Example GATT server is also changed.
/external/bluetooth/bluez/attrib/att.h
448456a19f74226062b3157a203bfe25dbdfef90 24-Feb-2011 Claudio Takahasi <claudio.takahasi@openbossa.org> Coding standard change replacing malloc by glib functions

Use glib memory allocation functions instead of malloc for attribute
data list in ATT protocol utility functions.
/external/bluetooth/bluez/attrib/att.h
c3717e342076126f2dd4b9b8dba81e86c14c1972 23-Feb-2011 Anderson Lizardo <anderson.lizardo@openbossa.org> Add read/write callbacks to attribute server

These callbacks will allow profiles to act before an attribute is read
and after it is written, to e.g. update the attribute value to/from an
external source.

Note that by the time the callback is called, the necessary security
checks (attribute permissions, authentication and encryption) were
already performed by the core attribute server.

The callback can optionally return an ATT status code, which will be
sent to the client using an Error Response PDU.
/external/bluetooth/bluez/attrib/att.h
ec141a423b38c74dfee428ade29c57da3a817c19 15-Feb-2011 Bruna Moreira <bruna.moreira@openbossa.org> Add encode/decode for write response

The encode/decode functions for Write Response operations were created
to keep consistency with the rest of GATT API.
/external/bluetooth/bluez/attrib/att.h
05133a40fd1a27c94a186b27b6abb83b65419af6 03-Feb-2011 Elvis Pfützenreuter <epx@signove.com> Fix parameter type in att_put_u32
/external/bluetooth/bluez/attrib/att.h
8865beb9a3ff88a4285ba382460ac91684c11bdc 20-Jan-2011 Brian Gix <bgix@codeaurora.org> Fix incoming attrib-server connection MTUs

It is important for the Attribute Server to be aware of and completely
fill response packets up to the full MTU when reading long attributes.
Some remote devices will only request additional (READ_BLOB) data if the
preceding read sent the maximum amount of data.

Incoming connections are identified as L2CAP or LE by pointers to the
Service IO channel the incoming connection was recieved on in the
user_data parameter. L2CAP channels are set to the BR/EDR minimum MTU of
48, and LE channels to the LE payload size of 23.
/external/bluetooth/bluez/attrib/att.h
8648c3b198f7585d49b89b43b2780ec80aaef72a 19-Jan-2011 Brian Gix <bgix@codeaurora.org> Add READ_BLOB_REQUEST support to attribute server
/external/bluetooth/bluez/attrib/att.h
46be88cb8b2f2770e93ec7cf0b0d3728cd46097e 17-Jan-2011 Bruna Moreira <bruna.moreira@openbossa.org> Move common code from Discover all Characteristics to GATT library

The attribute client (attrib/client.c) and gatttool share similar code
to parse the PDU coming from server. This commit moves this common code
to attrib/gatt.c, and simplifies the callbacks implemented by the
clients. The client callbacks are now called just once and get a GSList
of characteristics, instead of the raw PDU.
/external/bluetooth/bluez/attrib/att.h
d3cb258b9b9af0dcacfba0e6aa0db3f280554fb0 22-Dec-2010 Sheldon Demario <sheldon.demario@openbossa.org> Move primary service storage to device.c

Discover All Primary Services has beed moved to device.c in order
to follow a similar approach of BR/EDR service records.
/external/bluetooth/bluez/attrib/att.h
7749241702ba89147edb52a30ed7c4c902bc8564 17-Dec-2010 Brian Gix <bgix@codeaurora.org> Add enc_read_blob_req() as defined in BT Core Spec v4.0
/external/bluetooth/bluez/attrib/att.h
dd7a2acf88f7a926876820af9c9b11ca4c47dd9e 03-Dec-2010 Bruna Moreira <bruna.moreira@openbossa.org> Initial attribute permission implementation

Add enums for attribute read/write requirements, which may be "none",
"authentication required" or "authorization required". Additionally, a
"not permitted" requirement means that operation is not permitted,
allowing read-only or write-only attributes.

The attrib_db_add() API was changed to allow setting these requirements,
and the example server was changed to set requirements for its
attributes.
/external/bluetooth/bluez/attrib/att.h
2b3f200f291b5e55c31063e10f5d46f891caedde 18-Nov-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Add Find By Type Value Response encoding/decoding functions

Find by type operation is used by Discover Primary Service by Service
UUID. Find By Type Value Response shall contain one or more group handles.
/external/bluetooth/bluez/attrib/att.h
b0d886549332013daec34aa1fa6eeec2eb031aaf 17-Nov-2010 Bruna Moreira <bruna.moreira@openbossa.org> Implement Find by Type request encode/decoding
/external/bluetooth/bluez/attrib/att.h
0a70694d3afd91470a83567c18d20a29ad1996e6 07-Oct-2010 Anderson Lizardo <anderson.lizardo@openbossa.org> Add support for Attribute Write Request

Implement encoders/decoders for Write Request/Response and the handling
on attribute server. The attribute client still uses the Write Command
because currently SetProperty() has no means to wait for the server
response.
/external/bluetooth/bluez/attrib/att.h
fa58d42ae682c52a28363bb6697b92dc9316b1bd 05-Oct-2010 Johan Hedberg <johan.hedberg@nokia.com> Fix ATT OP codes to match spec
/external/bluetooth/bluez/attrib/att.h
6352f7b918d21ff93cc1ea9b031160c7cee3df81 04-Oct-2010 Anderson Lizardo <anderson.lizardo@openbossa.org> Modify dec_read_req() to get PDU length as parameter

This is consistent with other att.h functions, and allows length checks.
/external/bluetooth/bluez/attrib/att.h
805d059af37e8e8ad88f908137efc472677609c0 04-Oct-2010 Anderson Lizardo <anderson.lizardo@openbossa.org> Fix constness of att_get_u{8,16,32}() functions
/external/bluetooth/bluez/attrib/att.h
48b01d5006f6b4a185804dea501a69078493a5d4 27-Sep-2010 Bruna Moreira <bruna.moreira@openbossa.org> Add encoders/decoders for the Write command
/external/bluetooth/bluez/attrib/att.h
9041deab6519ccf61b33041cbc2c5b39c1f32650 18-Aug-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add encoders/decoders for Indication/Confirmation
/external/bluetooth/bluez/attrib/att.h
f6c5bd6417e08b706e12dec3e59512e624b6a82d 09-Sep-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Define maximum and default MTU values
/external/bluetooth/bluez/attrib/att.h
8487d21c9999efc433e7ea82c4e2966c58c0c1b3 03-Sep-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add encoders/decoders for MTU Exchange
/external/bluetooth/bluez/attrib/att.h
f3349f57664851a7279aaa4f99400976daf54ace 17-Aug-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Add attribute handle value notification

Initial changes in attribute server to send notifications to all
connected clients when an attribute has changed. Characteristic
Configuration descriptor is not being addressed yet.
/external/bluetooth/bluez/attrib/att.h
5d82240f498b875a5683018a67679fc552fcca97 19-Aug-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Fix alignment access issues during encoding/decoding

When encoding/decoding PDU fields, we have to be careful and use
alignment safe functions to load/store the values.

These functions will be exported so other parts of the code can reuse
them.
/external/bluetooth/bluez/attrib/att.h
8307634aa6d9dd96c12cec8b8acf1059b54e0ae6 09-Aug-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Update copyright information of GATT library/tools
/external/bluetooth/bluez/attrib/att.h
eabdd736c689e760b22cfa14dbeeeaa8b04992a1 04-Aug-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add encoders and decoders for the Find Information PDU's
/external/bluetooth/bluez/attrib/att.h
dd5279755e9ba6f487e6c03eab621902f767c0bb 28-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Discover all characteristics of the primary services

Adds characteristics discovery in the attrib client plugin. Fetches
all characteristics declaraction for each primary service found.
/external/bluetooth/bluez/attrib/att.h
b0dc1632e42d5315b88b9d43902d3a2309104850 27-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add the missing Read by Type functions

This adds the functions necessary to implement a GATT server. The encoder
for the Read by Type Response and the decoder for the Request.
/external/bluetooth/bluez/attrib/att.h
387d69382e8e8f99c52526d4ba6b3c438331fe52 23-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Implement read by group type in the attribute server

Returns an attribute data list containing found services. Each
element of the list contains the start, end group handle and the
UUID16 of the given service. UUID128 is not being addressed yet.
/external/bluetooth/bluez/attrib/att.h
d55fa3f45dce2fe1e2580e297fe37d12f794ef9f 23-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add stubs for dealing with Read Request/Response PDUs
/external/bluetooth/bluez/attrib/att.h
25d27208696bfd5cb10e61b1e066ca226102ee74 23-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add encoder for Read By Group Type Response PDU
/external/bluetooth/bluez/attrib/att.h
02641ec20b62487556739cf2d311e1bd75a8766d 23-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add decoder for Attribute Read by Group Type request
/external/bluetooth/bluez/attrib/att.h
2581dc90f0dd3e3a15964efba6aeda2f958b5db2 23-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Remove __ATT_H macro definition
/external/bluetooth/bluez/attrib/att.h
735bc5019a487e62b293c60c0fd819481c9925ed 22-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Fix ATT utility functions naming

If we want to support both client and server roles, we must be clear that we
are encoding/decoding requests or responses.
/external/bluetooth/bluez/attrib/att.h
dafe0b2820611bf40851eb6b551ccb80e6b42deb 21-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add support to deal with Read by Type PDUs

This adds att_read_by_type_{encode,decode}, so we can create Read by Type
Requests and parse Read by Type Responses.
/external/bluetooth/bluez/attrib/att.h
70a6091ccf356ea56f46220b007675b80f6c58cf 20-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add a way to decode the Read by Group type response

att_read_by_grp_type_decode() returns a attribute data list structure.
/external/bluetooth/bluez/attrib/att.h
813d9f5c4b067e74d6e2ac117062ce8efcbfefa4 21-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Add utility function to convert ATT error code to string
/external/bluetooth/bluez/attrib/att.h
83915080d7f4abfbd407d3c6bc7765fefa59ebcc 16-Jul-2010 Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Add simple implementation of g_attrib_send()

Generic function to send ATT PDUs. Timeout and notification are not
being addressed yet.
/external/bluetooth/bluez/attrib/att.h
281e98d3973dabad039ee274fae24d44b463ad17 15-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Initial Discover primary service implementation

Add read by group type encode function and initial skeleton for discover
all primary services on attribute client plugin.
/external/bluetooth/bluez/attrib/att.h
fcc6c7788e864ea44ba3c83b4595fc7102fcfce7 14-Jul-2010 Claudio Takahasi <claudio.takahasi@openbossa.org> Initial GAttrib functions

GAttrib aims to provide high level functions to hide GATT/ATT internals.
GATT client and server shall use these functions to serialize ATT
requests/responses.
/external/bluetooth/bluez/attrib/att.h