-
Notifications
You must be signed in to change notification settings - Fork 85
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
writeWithoutResponse method returns "value must be provided" error #689
Comments
So I realized my first mistake was using Changed code
Error message from Xcode console
Screenshot |
I figured out the issue—it was due to me using |
Thanks for reporting back with your eventual solution here @natehurley Glad you were able to figure this out in the end! |
Describe the bug
When using the
writeWithoutResponse
method from@capacitor-community/bluetooth-le
to send data to a BLE device, I receive an error stating that thevalue
must be provided, even though thevalue
parameter is included in the method call. I'm sure I'm attempting to write to the correct deviceId, service, and characteristic after checking the results of thedebugCharacteristics
method that I wrote.Error message from Xcode console
To Reproduce
Expected behavior
I expect the
writeWithoutResponse
method to successfully write the provided data to the BLE device without errors. The data should be transmitted to the specified characteristic of the connected BLE device.Screenshots
Plugin version:
Smartphone:
The text was updated successfully, but these errors were encountered: