Commit Graph

6 Commits

Author SHA1 Message Date
Vinicius Costa Gomes
dafe0b2820 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.
2010-08-09 18:06:44 -04:00
Vinicius Costa Gomes
70a6091ccf Add a way to decode the Read by Group type response
att_read_by_grp_type_decode() returns a attribute data list structure.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
813d9f5c4b Add utility function to convert ATT error code to string 2010-08-09 18:06:44 -04:00
Vinicius Costa Gomes
83915080d7 Add simple implementation of g_attrib_send()
Generic function to send ATT PDUs. Timeout and notification are not
being addressed yet.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
281e98d397 Initial Discover primary service implementation
Add read by group type encode function and initial skeleton for discover
all primary services on attribute client plugin.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
fcc6c7788e 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.
2010-08-09 18:06:44 -04:00