commit | 9e40e7b24a18c360eac96e46bc740a3a8798f4c0 | [log] [tgz] |
---|---|---|
author | Bruna Moreira <bruna.moreira@openbossa.org> | Mon Jan 17 15:37:49 2011 -0400 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Thu Mar 10 16:48:13 2011 -0800 |
tree | f933a36b01c96826930719d3490b2dd0877afe5a | |
parent | a35126159fbaace21836b9ae906e5f32adf15abb [diff] |
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.