Moddable Nimble MTU size increase issue #1333
Replies: 4 comments 24 replies
-
FWIW – that is already the default: From your explanation, there is no obvious mistake. It looks like the MTU size has been successfully set based on the nRF Connect output you report. If you don't set the MTU size, are you able to write a characteristic? |
Beta Was this translation helpful? Give feedback.
-
I see. It is new information that you are using Android. Perhaps NimBLE does not support updating the MTU size after the connection is established?
The link you shared does not propose a specific change. In fact, the developer who opened the issue noted, "In fact, I can not find the functions for increasing LL packet size...". |
Beta Was this translation helpful? Give feedback.
-
Can you please do one favor for me? Can you please run uart-server demo that you have run earlier with android nrf connect app with below steps?
I am not using latest ESP-IDF and Moddable versions as old versions are already integrated in my project. So, Intention behind asking you for this testing is to check whether this scenario is working with latest ESP-IDF and Moddable version successfully or not. If this is working successfully then we can conclude that it may fix in newer versions and I may need to integrate new ESP-IDF and Moddable in my project. Again, thanks for the efforts and appreciate your help and support here. |
Beta Was this translation helpful? Give feedback.
-
Closing this out as it has gone dormant and the issue appears to be outside the scope of the Moddable SDK. |
Beta Was this translation helpful? Give feedback.
-
I am using moddable Nimble in one project. I want to transfer 256/512 bytes over BLE between BLE server (custom esp32s3 hardware) and nrf connect mobile application (BLE client).
In esp32s3 firmware, I have created one characteristic with write and notify properties. I have increased MTU size from nrf connect mobile application by using "requesting MTU" feature and set size to 256. On esp32s3 firmware, I used "CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=256" to increase MTU size to 256. On nrf connect application log, I see message "new MTU set to: 256". After increasing MTU on nrf connect, if I try to write on characteristic it is not successful and mobile app disconnects BLE connection after some seconds (may be due to timeout or not able to send packet over BLE). App log shows - Error 133(0x85): GATT ERROR and Error 22(0x16): GATT CONN TERMINATE LOCAL HOST.
Is there any other change or configurations required on esp32s3 firmware side to increase MTU size. Please help me suggesting required changes to fix this issue.
Beta Was this translation helpful? Give feedback.
All reactions