Skip to content

Conversation

@pkoscik
Copy link
Contributor

@pkoscik pkoscik commented Oct 20, 2025

This PR fixes incorrect MTU handling when using BlueZ as the BLE backend.
BlueZ always reports a fixed MTU of 23, which causes the printer to stutter.

This change enforces manual MTU negotiation for BleakClientBlueZDBus instances.

Tested on Arch Linux with BlueZ 5.84 and an X6 Mini Thermal Printer.

@pkoscik pkoscik changed the title fix: ble: bluez: force manual MTE negotiation fix: ble: bluez: force manual MTU negotiation Oct 21, 2025
@pkoscik
Copy link
Contributor Author

pkoscik commented Oct 21, 2025

((fixed typo))

@rbaron
Copy link
Owner

rbaron commented Oct 21, 2025

Awesome, thanks @pkoscik.

@rbaron rbaron merged commit 0638ca6 into rbaron:main Oct 21, 2025
2 checks passed
@pkoscik pkoscik deleted the pkos-x6 branch October 24, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants