diff options
author | Alvaro Silva <alvaro.silva@openbossa.org> | 2013-07-19 13:34:15 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-07-24 08:43:05 -0700 |
commit | 1ed64821ac7ec9ed1c6cfe197257e47c58f2494c (patch) | |
tree | b6cef7be40c78c17b7d7cbe15fd045f9f3ef8141 /attrib/att.h | |
parent | 38487a99155988699aa0dc4f3505a2da5980ceee (diff) | |
download | bluez-1ed64821ac7ec9ed1c6cfe197257e47c58f2494c.tar.gz |
attrib: Add encode/decode execute write support
Add functions for encoding/decoding Execute Write Request PDUs.
Diffstat (limited to 'attrib/att.h')
-rw-r--r-- | attrib/att.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/attrib/att.h b/attrib/att.h index cd102f98e..28bc94445 100644 --- a/attrib/att.h +++ b/attrib/att.h @@ -281,4 +281,6 @@ uint16_t dec_prep_write_resp(const uint8_t *pdu, size_t len, uint16_t *handle, uint16_t *offset, uint8_t *value, size_t *vlen); uint16_t enc_exec_write_req(uint8_t flags, uint8_t *pdu, size_t len); +uint16_t dec_exec_write_req(const uint8_t *pdu, size_t len, uint8_t *flags); +uint16_t enc_exec_write_resp(uint8_t *pdu); uint16_t dec_exec_write_resp(const uint8_t *pdu, size_t len); |