commit | 46be88cb8b2f2770e93ec7cf0b0d3728cd46097e | [log] [tgz] |
---|---|---|
author | Bruna Moreira <bruna.moreira@openbossa.org> | Mon Jan 17 15:37:49 2011 -0400 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Wed Jan 19 20:41:11 2011 +0530 |
tree | f933a36b01c96826930719d3490b2dd0877afe5a | |
parent | e04efbaddf3d6a178dbbab9e5355dfecaa4da3ad [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.