-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
expose "bool response=false" from writeValue in setValue(..., bool response=false) #157
Comments
fightforlife
changed the title
expose "bool response=false" from NimBLEremoteCharacteristics::writeValue in NimBLEClient::setValue(..., bool response=false)
expose "bool response=false" from writeValue in setValue(..., bool response=false)
Dec 18, 2020
Sure, that could be added easily enough. If you want to make a PR for it please do so. Otherwise I can add it with the other updates this weekend. |
h2zero
added a commit
that referenced
this issue
Dec 20, 2020
@fightforlife this has been added in commit 135e2fa. Please let me know if this works for you. |
Closing this as resolved. |
Thank you very much. I just had time to test this and it is working as expceted! |
h2zero
pushed a commit
that referenced
this issue
Jun 4, 2024
…te callback (#157) Updates the interface to use a typedef'd std::function for the advertise callback, which is backwards compatible but also allows std::bind and lambda functions.
h2zero
pushed a commit
that referenced
this issue
Jun 15, 2024
…te callback (#157) Updates the interface to use a typedef'd std::function for the advertise callback, which is backwards compatible but also allows std::bind and lambda functions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
would it be possible to expose the parameter
bool response=false"
from
NimBLEremoteCharacteristics::writeValue (const std::string &newValue, bool response=false)
as an optional (fourth) parameter in
NimBLEClient::setValue (const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const std::string &value, bool response=false)
Some of my devices only work with bool response=true. (e.g. eQ3 ble thermostats)
And this would really help to declutter alot of my code.
Thanks in advance!
The text was updated successfully, but these errors were encountered: