Hello All,
I've been googling and also searching here in this forum for an answer, but there is none even though I found several discussions on the topic.
I am not able to read a valid uuid from the BLECharacteristic.uuid() inside the event handler. Those who'd recommend holding it static apart, please do not give the advices. My usecase is very similar to this one: https://forum.arduino.cc/t/seteventhandler-not-returning-uuid/700273 (which I do not understand why was closed, as it was not resolved at all). I have a set of BLEServices with a set of identical BLECharacteristic added under each of them. The only way I might be able to chose the proper action in my eventHandler is based on the knowledge of which service/characteristic value was written - and this info should be clear from the characteristic uuid ... but nonsense content is returned by its .uuid() member. Thank you for any help. If you do not know what I am writing about, please do not reply by "copy your sources here". Those who know won't need them. Thank you very much in advance.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.