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

Fix to allow setting of empty values #435

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Conversation

bkems
Copy link
Contributor

@bkems bkems commented Jun 27, 2017

Currently getValue does not allow the setting of 0-length values, but setting a characteristic's value to empty is a perfectly valid thing to want to do.

Currently getValue does not allow the setting of 0-length values, but setting a characteristic's value to empty is a perfectly valid thing to want to do.
@randdusing
Copy link
Owner

I'll need to change for OSx as well to keep them consistent

@bkems
Copy link
Contributor Author

bkems commented Jun 28, 2017

Yes, there are a couple of other places where the same behaviour exists - assuming empty values are not valid. I think I saw it in addValue, for instance. Do you want me to make those changes or are you going to run with it from here?

@bkems
Copy link
Contributor Author

bkems commented Jun 28, 2017

Thanks for the plugin and for sharing it by the way. 👍

@randdusing
Copy link
Owner

I would prefer you! I'm hoping for more contributors since I don't have much time to devote to this repo anymore.

@randdusing randdusing merged commit 9d39f46 into randdusing:master Jun 29, 2017
@bkems bkems deleted the patch-1 branch June 29, 2017 03:23
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