Bluetooth: Fix GATT CEP not using 16 bits

Characteristic Extended Properties has 16 bits not 8 bits as value.

Change-Id: I307fd27a6d589d6614829df178ff890301a9b6be
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2015-06-11 13:07:19 +03:00 committed by Anas Nashif
commit 66d6cf77ce

View file

@ -190,13 +190,13 @@ struct bt_gatt_chrc {
};
/* Characteristic Extended Properties Bitfield values */
#define BT_GATT_CEP_RELIABLE_WRITE 0x01
#define BT_GATT_CEP_WRITABLE_AUX 0x02
#define BT_GATT_CEP_RELIABLE_WRITE 0x0001
#define BT_GATT_CEP_WRITABLE_AUX 0x0002
/*! @brief Characteristic Extended Properties Attribute Value. */
struct bt_gatt_cep {
/*! Characteristic Extended properties. */
uint8_t properties;
/*! Characteristic Extended properties */
uint16_t properties;
};
/* @brief Characteristic User Description Attribute Value. */