cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
clear characteristic or write empty string
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?