Espressif is unable to exchange Bluetooth data with Android 10 device if MTU size is increased
Posted: Thu Oct 15, 2020 1:51 pm
Hi,
I am using an Espressif esp32 wroom-32d running the ESP-IDF in a product that connects to mobile phones over Bluetooth. I am using the Bluedroid stack.
Android has a default MTU size when transferring data over Bluetooth. In some cases I need to send large amounts of data so I set the MTU size greater than the default.
I am seeing on my Samsung device running Android 10, the Espressif device is not able to exchange data if the MTU size is set greater than the default. If I set the MTU size and attempt to send data to the Espressif, it will disconnect from the mobile. However, I am not having this problem if I negotiate the MTU size between another Bluetooth module (not Espressif ) and a mobile running Android 10.
Also MTU negotiation between the Espressif and a mobile running Android 9 works, so it seems to be a problem with Android 10.
Does anyone have any insight into the possible cause of this? Is there any known issue with the Espressif negotiating MTU with Android 10 devices?
Thanks in advance.
I am using an Espressif esp32 wroom-32d running the ESP-IDF in a product that connects to mobile phones over Bluetooth. I am using the Bluedroid stack.
Android has a default MTU size when transferring data over Bluetooth. In some cases I need to send large amounts of data so I set the MTU size greater than the default.
I am seeing on my Samsung device running Android 10, the Espressif device is not able to exchange data if the MTU size is set greater than the default. If I set the MTU size and attempt to send data to the Espressif, it will disconnect from the mobile. However, I am not having this problem if I negotiate the MTU size between another Bluetooth module (not Espressif ) and a mobile running Android 10.
Also MTU negotiation between the Espressif and a mobile running Android 9 works, so it seems to be a problem with Android 10.
Does anyone have any insight into the possible cause of this? Is there any known issue with the Espressif negotiating MTU with Android 10 devices?
Thanks in advance.