You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a characteristic and I want to run some code on on_write only if the new value is different than the current value. However, I can't access the current value inside the on_write callback. Is there a better solution than storing another copy of the value outside the characteristic?
The text was updated successfully, but these errors were encountered:
I have a characteristic and I want to run some code on
on_write
only if the new value is different than the current value. However, I can't access the current value inside theon_write
callback. Is there a better solution than storing another copy of the value outside the characteristic?The text was updated successfully, but these errors were encountered: