Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8a170fa authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Jack He
Browse files

Set maximum attribute value to defined by spec Core 5.3

'The maximum length of an attribute value shall be 512 octets.' Core
5.3, Vol 3, Part F, 3.2.9

Test: atest net_test_stack_gatt
Sponsor: @jpawlowski
Bug: 150670922
Bug: 234988131
Change-Id: I214f2d1d142dc1ce5b24522bf820890d4599c702
parent 27d53fb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ inline std::string gatt_disconnection_reason_text(
/* max legth of an attribute value
*/
#ifndef GATT_MAX_ATTR_LEN
#define GATT_MAX_ATTR_LEN 600
#define GATT_MAX_ATTR_LEN 512
#endif

/* default GATT MTU size over LE link