-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
BLE Mesh: Send Data at High Data Rate (Error: Out of network buffers) (IDFGH-13256) #14190
Comments
Hi, @Florian-ger |
Hi @forx157, Thank you for your response. By retransmission of packets, do you mean the I understand that achieving a transmission rate of 100 kbps is not possible, but I thought that sending packets would be much faster than a 100 ms delay. |
@Florian-ger You can change the log level of BLE Mesh in menuconfig by following the path below: |
If I set the BLE Mesh Stack Debug Log Level to Info, the program stops after 38 sent messages and does not print any further information on the serial monitor:
If I leave the debug log level on Warning, the server receives a total of 288 messages and the output looks like this:
|
Hi, @Florian-ger Secondly can you easily tell me what you did in your test code? Or is there any way in which I can reproduce the problem you are having. |
Hi @forx157 , |
Answers checklist.
General issue report
Hello everyone,
I want to send data at a high data rate over BLE mesh. Theoretically, BLE mesh supports a data rate of 2 Mbps when using the 2M PHY. The practical rate is, of course, lower, but in my application, I can't even achieve a data rate of 1 kbps. The data packets with a size of 7 bytes are sent in the following loop with a delay of 10 ms, which corresponds to a data rate of approximately 0.7-1 kbps. (The transmission works with a delay of 100 ms and there is no error message)
Code Example:
Issue:
When sending 300 packets, I receive the error message after 256 packets:
BLE_MESH: Out of network buffers
. I have set the network buffers to the maximum value of 256 in the sdkconfig. This means that the network buffer is not being emptied quickly enough or the data is not being sent quickly enough. How can I configure my sdkconfig or code to achieve a higher data rate? What is the maximum transmission rate of the ESP32-C6?Environment:
sdkconfig.txt
The text was updated successfully, but these errors were encountered: