When the client (esp32) forms a connection to the server (any) the MTU is automatically negotiated and reported using the BLECFGMTU event.
Any writes using AT+BLEGATTCWR would be allowed to be above MTU-3 and module would internally manage this.
MTU negotiation is no longer done and writing to characteristics now fail if the write is larger than MTU-3.
****** Previously working commit (102d512) *****
AT+BLESCANPARAM=0,0,0,100,50
OK
AT+BLESCAN=1,10
<data omitted>
OK
AT+BLESCAN=0
OK
AT+BLECONN=0,"F8:8A:5E:0D:20:BC",0
+BLESCANDONE
+BLECFGMTU:0,247
+BLECONN:0,"f8:8a:5e:0d:20:bc"
OK
AT+BLEGATTCWR=0,2,2,1,1
OK
AT+BLEGATTCWR=0,3,2,,496
<data omitted>
OK
***** commit ed86344 *****
AT+BLESCANPARAM=0,0,0,100,50
OK
AT+BLESCAN=1,10
<data omitted>
OK
AT+BLESCAN=0
OK
AT+BLECONN=0,"F8:8A:5E:0D:20:BC",0
+BLESCANDONE
+BLECONN:0,"f8:8a:5e:0d:20:bc"
OK
AT+BLEGATTCWR=0,2,2,1,1
OK
AT+BLEGATTCWR=0,3,2,,496
ERROR
Silenced due to binary size.
Answers checklist
AT+GMR
AT version:4.2.0.0-dev(s-ae87b55 - ESP32 - Mar 3 2026 09:05:26)
SDK version:v5.4.1-643-g8ad0d3d8f2-dirty
compile time(ed86344):Mar 9 2026 16:12:28
Bin version:v5.0.0.0(WROOM-32)
ESP-AT Firmware Source
Built from github using commit ed86344
Features modified to disable OTA and enable BTC.
Hardware Information
ESP32-WROOM, also confirmed using ESP32 DevKitc v4
Power Supply used
External 3.3V
What is the expected behavior?
When the client (esp32) forms a connection to the server (any) the MTU is automatically negotiated and reported using the
BLECFGMTUevent.Any writes using
AT+BLEGATTCWRwould be allowed to be above MTU-3 and module would internally manage this.What is the actual behavior?
MTU negotiation is no longer done and writing to characteristics now fail if the write is larger than MTU-3.
Probability of recurrence
100%
AT+SYSRAM?
N/A
Steps to reproduce
AT command port output
AT log port output
More Information.
No response