vedderb / vesc_express

The source code for the VESC Express
GNU General Public License v3.0
39 stars 31 forks source link

Reset MTU size on connect #38

Closed contactsimonwilson closed 1 month ago

contactsimonwilson commented 1 month ago

Reset to standard MTU when establishing BLE connection. This ensures that any connecting device isn't forced to negotiate a new MTU size after an existing app/device negotiates any MTU size other than the default.

While this isn't an issue for VESC Tool itself, it can create issues with third-party apps, seemingly only on Android.