qt.bluetooth.bluez: Error
Unsolved
Mobile and Embedded
-
Hello,
I am getting this following Error while receiving data sometimeqt.bluetooth.bluez: L2Cap payload size 247 is smaller than specified size 512
From Btmon, I observed that
< HCI Event: Command Complete (0x0e) plen 12 Supported Max TX Octets: 251 Supported Max TX Time: 2120 Supported Max RX Octets: 251 Supported Max RX Time: 2120 ATT: Exchange MTU Request (0x02) len 2 Client RX MTU: 527 ATT: Exchange MTU Response (0x03) len 2 Server RX MTU: 512 > ACL Data RX: Handle 64 flags 0x02 dlen 251 #73 [hci0] 19.977887 > ACL Data RX: Handle 64 flags 0x01 dlen 251 #74 [hci0] 19.977899 > ACL Data RX: Handle 64 flags 0x01 dlen 14 #75 [hci0] 19.977901 ATT: Write Command (0x52) len 511 Handle: 0x0003
I updated the main.conf file
in main.conf [General] MaxMTU=247 # but it does not have any impact even if MaxMTU=512 is used
may be due to this error, Gatt client(IOS) is retransmitting the same data and the overall throughput is low
How can I fixed this issue and increase the throughput for gatt server?
thank you for your cordial support