Change MTU BLE Server

Hi, how can i change the MTU in a BLE server application?
How can i read the actual value of the MTU?
Thanks

I changed the definition in “BLERemoteCharacteristic.h” and “BLECharacteristic.h”

from
#define CHAR_VALUE_MAX_LEN 230

to #define CHAR_VALUE_MAX_LEN 1024

and now i’m able to receive 512 byte max, is this an hardware limit or can i increase it with other setup?

Hi @Ivan ,

The maximum length of a BLE attribute value is 512 bytes, as stated in Core Specification | Bluetooth® Technology Website (pg.1485).

Thank you.