fix(ble/bluedroid): Change maximum length of attribute value to 517

(cherry picked from commit df8c1f7a96a42010349171819ba984916b997db2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
Zhang Hai Peng
2025-05-13 16:14:25 +08:00
parent 0b2f639c62
commit 70f19793f8
2 changed files with 2 additions and 2 deletions
@@ -139,7 +139,7 @@ typedef UINT16 tGATT_DISCONN_REASON;
/* max length of an attribute value
*/
#ifndef GATT_MAX_ATTR_LEN
#define GATT_MAX_ATTR_LEN 512
#define GATT_MAX_ATTR_LEN GATT_MAX_MTU_SIZE
#endif
/* default GATT MTU size over LE link