diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2010-08-04 16:15:46 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-08-09 18:06:49 -0400 |
commit | eabdd736c689e760b22cfa14dbeeeaa8b04992a1 (patch) | |
tree | 5bcdcc449f94cd04781f965239a2ba5fa8d996be /attrib/att.h | |
parent | c606feeb48f9949083f8f9eb75356759f4018071 (diff) | |
download | bluez-eabdd736c689e760b22cfa14dbeeeaa8b04992a1.tar.gz |
Add encoders and decoders for the Find Information PDU's
Diffstat (limited to 'attrib/att.h')
-rw-r--r-- | attrib/att.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/attrib/att.h b/attrib/att.h index a7fc84c19..a6b7ccec8 100644 --- a/attrib/att.h +++ b/attrib/att.h @@ -144,3 +144,10 @@ uint16_t enc_read_resp(uint8_t *value, int vlen, uint8_t *pdu, int len); uint16_t dec_read_resp(const uint8_t *pdu, int len, uint8_t *value, int *vlen); uint16_t enc_error_resp(uint8_t opcode, uint16_t handle, uint8_t status, uint8_t *pdu, int len); +uint16_t enc_find_info_req(uint16_t start, uint16_t end, uint8_t *pdu, int len); +uint16_t dec_find_info_req(const uint8_t *pdu, int len, uint16_t *start, + uint16_t *end); +uint16_t enc_find_info_resp(uint8_t format, struct att_data_list *list, + uint8_t *pdu, int len); +struct att_data_list *dec_find_info_resp(const uint8_t *pdu, int len, + uint8_t *format); |