Can I ask what is the BLE device at the other hand ? And if it's phone
what app ?
Please note that if device at other end handles both write and
write_without_response, BlueZ would pick write method, see code I
pointed you at.
By saying "Please check that characteristic that you're writing to
have proper properties set, otherwise BlueZ might pick wrong method."
I meant you should check that write without response is set, and
regular write is not.
You can use some bluetooth debugging tool, i.e. btmon. I think there's
bluetooth scanner android app that would show you all properties, or
some iOS app.