How to figure out for which original call onCharacteristicChanged was triggered?

33 views Asked by At

I have device that accepts commands in write characteristic and returns back data in notification characteristic. Problem is when I call 2 different commands (call 2 writes) and notifications returned back to me all mixed up I need to know for which write call this notification is for.

Q: is there way to find that out? Like call to write returns some id and its included into notification?

0

There are 0 answers