cordova-plugin-bluetoothle icon indicating copy to clipboard operation
cordova-plugin-bluetoothle copied to clipboard

clear characteristic or write empty string

Open foofel opened this issue 3 years ago • 0 comments

I would like to write an empty data packet to a characteristic, it seems its not allowed as getPropertyBytes() returns null for an empty ("") string. I am using this to write a key:value store in the device and some keys can contain strings - which can be empty. Is there a way to write an empty string?

foofel avatar Dec 07 '21 20:12 foofel