Skip to content
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

MTU is set to 527 #721

Open
ericlangel opened this issue Mar 14, 2022 · 0 comments
Open

MTU is set to 527 #721

ericlangel opened this issue Mar 14, 2022 · 0 comments
Labels

Comments

@ericlangel
Copy link

Operating System

Windows 10

IDE version

Arduino 1.8.19

Board

Feather nrf52832

BSP version

V1.2

Sketch

Throughput.ino

with Debut output of MTU Size

data_mtu = Bluefruit.Connection(0)->getMtu() - 3;
Serial.print("MTU Size: ");
Serial.println(data_mtu);

What happened ?

MTU Size return Value is 527

My Buffer Size is Set to 247 because i thought that 247 is the absolut maximum.
So the whole stack crash (dosesnt advertise any more after some notifies with 527 Bytes)

Now my Question: Why in Hell does the Bluefruit Stack accept a MTU Size of 527?

How to reproduce ?

Use Throughput Example with Windows BLE Library "Bleak"

Debug Log

MTU Size: 524

Screenshots

No response

@ericlangel ericlangel added the Bug label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant