-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLEUart Device disconnects after [BLE ] BLE_EVT_USER_MEM_REQUEST : Conn Handle = 0 #220
Comments
More Logs. Can anyone help? [CFG ] SoftDevice's RAM requires: 0x20002FA0 BSP Library : 0.9.3 --------- SoftDevice Config ---------
--------- BLE Settings --------- |
If its not solveable on this adafruit hardware then suggest me hardware which can work without any issue. Issue happens when data bytes are sent more than 20. Until 20 Bytes it works fine. |
First, you need to tell us how to reproduce the issue: your sketch, which app and what to send etc ... Second, don't expect us to rush fixing the issue, we are working on multiple project and has our own agenda. If you are not happy with adafruit hardware, free fee to use others, google is your best adviser. |
Hi, Thanks for prompt response. I am glad to provide all the information required to reproduce the issue so you can resolve it asap. I am using bleuart example with Adafruit nrf52832 A)I have tested the bluefruit app. Only 20 bytes data is successfully received but more than that is truncated. [BLE ] BLE_EVT_USER_MEM_REQUEST : Conn Handle = 0 Method to reproduce. I am have trust on Adafruit Hardware and due to that I purchased it. Obviously you are guru and if with your little attention issue is resolved it will definitely strengthen my trust on Adafruit hardware. Its definitely not an App Issue, Issue seems to be with Datalength as it works until 20 bytes. I hope you have some quick solution or suggestion to resolve it. |
Thanks for detail information, we will try to reproduce and analyze the issue when possible |
Any chance looking up at this? |
|
Hi @wlamprecht for prompt response. I tested method 1. After changing MTU size it works fine, But I need to know how can I change MTU size within Arduino Code? |
@khawajamechatronics I'm not working with Arduino. But you have to initiate the mtu size change request from the Gatt client. Look for something like GattClient exchange_mtu. |
Hi, Thanks for your time. My actual app is different and it works with ESP32 without sending or requesting MTU (may be MTU is already configured max in ESP32 Software) So I can't make my app to send MTU request. I need to know a way to set max MTU inside Arduino Code. Thanks |
just back from Lunar New Year, working on this issue now, it is part of the Long Write support #91 |
@khawajamechatronics I have implemented the LONG WRITE sequence support, that could handle > MTU bytes write (20 bytes by default) in the master branch. Please try to see if that work for you. You will need to follow this guide to install BSP via git (master branch) to test, once verified we will include this into the next release. Thank you for your patient. |
Thanks for confirming, this issue is fixed, for the Hello it is likely leftover somewhere in your code. Please open another issue if it still exists. |
Hi,
I am having issue with adafruit NRF52832 device. It works fine until
[BLE ] BLE_EVT_USER_MEM_REQUEST : Conn Handle = 0
[BLE ] BLE_GAP_EVT_DISCONNECTED : Conn Handle = 0
[GAP ] Disconnect Reason 0x13
and device loses connection.
Can any one guide whats this issue and how to resolve?
Thanks
The text was updated successfully, but these errors were encountered: