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:
parent
14ff92cea0
commit
66d6cf77ce
1 changed files with 4 additions and 4 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue