Bluetooth: Att: Added define for max attribute length
Added a #define for the maximum attribute length defined by the core spec. Usefull for GATT servers and clients that deals with long values. Signed-off-by: Emil Gydesen <emil_gydesen@bose.com>
This commit is contained in:
parent
71a3cc6a60
commit
b9f09d785b
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ extern "C" {
|
|||
#define BT_ATT_ERR_PROCEDURE_IN_PROGRESS 0xfe
|
||||
#define BT_ATT_ERR_OUT_OF_RANGE 0xff
|
||||
|
||||
/* Version 5.2, Vol 3, Part F, 3.2.9 defines maximum attribute length to 512 */
|
||||
#define BT_ATT_MAX_ATTRIBUTE_LEN 512
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue