core/gatt: Parse InProgress error code from err_msg 66/51266/1
authorGowtham Anandha Babu <gowtham.ab@samsung.com>
Fri, 6 Nov 2015 05:01:15 +0000 (10:31 +0530)
committerGowtham Anandha Babu <gowtham.ab@samsung.com>
Fri, 6 Nov 2015 05:01:15 +0000 (10:31 +0530)
commit428b383208de03c1c644730682da11e6c074409f
treeafc1a66629a9dc7a7d101421cdeb51687d2f49fb
parent115242da386168ba8fdf9159b498722952d253fa
core/gatt: Parse InProgress error code from err_msg

In Common Profile and Service Error Code descriptions (Supplement
to Bluetooth Core Specification, sections 1.2 and 2), it is
mentioned that following error codes are sent over the Attribute
Protocol.
1)Client Characteristic Configuration Descriptor Improperly Configured(0xFD)
2)Procedure Already in Progress(0xFE)
3)Out of Range(0xFF)

It should be treated as ATT Error codes. So, moved those to att-types.h
and handled org.bluez.Error.InProgress.

git repo link:
https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=70489204d769568707d9a7607981c197e935391e

Change-Id: I17707fa3a6d5ed52ef6634cbe725ac0322a8292f
src/gatt-database.c
src/shared/att-types.h
src/shared/att.c