diff options
author | Bruna Moreira <bruna.moreira@openbossa.org> | 2010-11-17 16:09:41 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-11-18 16:44:19 +0200 |
commit | b0d886549332013daec34aa1fa6eeec2eb031aaf (patch) | |
tree | 518fb2fe7e7acbce4ddec33dfffb58d18c63ca7b /attrib/att.h | |
parent | d23b28b125123883edd58de478255793883adddf (diff) | |
download | bluez-b0d886549332013daec34aa1fa6eeec2eb031aaf.tar.gz |
Implement Find by Type request encode/decoding
Diffstat (limited to 'attrib/att.h')
-rw-r--r-- | attrib/att.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/attrib/att.h b/attrib/att.h index ea49dc221..9de338da5 100644 --- a/attrib/att.h +++ b/attrib/att.h @@ -165,7 +165,9 @@ uint16_t dec_read_by_grp_req(const uint8_t *pdu, int len, uint16_t *start, uint16_t *end, uuid_t *uuid); uint16_t enc_read_by_grp_resp(struct att_data_list *list, uint8_t *pdu, int len); uint16_t enc_find_by_type_req(uint16_t start, uint16_t end, uuid_t *uuid, - uint8_t *pdu, int len); + const uint8_t *value, int vlen, uint8_t *pdu, int len); +uint16_t dec_find_by_type_req(const uint8_t *pdu, int len, uint16_t *start, + uint16_t *end, uuid_t *uuid, uint8_t *value, int *vlen); struct att_data_list *dec_read_by_grp_resp(const uint8_t *pdu, int len); uint16_t enc_read_by_type_req(uint16_t start, uint16_t end, uuid_t *uuid, uint8_t *pdu, int len); |