diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2011-02-16 21:07:29 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-02-17 15:35:54 -0300 |
commit | aaa550fe5165a115c32c6eb7b8fca91eac06aed8 (patch) | |
tree | 9fb4f8fc7ee5a3bafa092f2163995ed595008b3e /src/attrib-server.h | |
parent | 98ea92d146260bb110abcb87339bc7afe7959a66 (diff) |
Update Device Appearance Characteristic based on device class
Appearance Characteristic value is still under discussion. Temporary
solution which maps directly the device class of device(major and minor)
into Device Characteristic value without shifting the two less significant
bits reserved to Format Type. The second byte of the device class
contains the major class in the 5 less significant bits.
Diffstat (limited to 'src/attrib-server.h')
-rw-r--r-- | src/attrib-server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/attrib-server.h b/src/attrib-server.h index ba90ff4c..252700fd 100644 --- a/src/attrib-server.h +++ b/src/attrib-server.h @@ -30,3 +30,5 @@ int attrib_db_add(uint16_t handle, uuid_t *uuid, int read_reqs, int write_reqs, int attrib_db_update(uint16_t handle, uuid_t *uuid, const uint8_t *value, int len); int attrib_db_del(uint16_t handle); + +int attrib_gap_set(uint16_t uuid, const uint8_t *value, int len); |