[web-bluetooth] Helper functions to read values

g-ortuno has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Helper functions to read values ==
In Android we have helper functions to more easily read and write 
values to and from characteristics:

[getFloatValue()](https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getFloatValue(int,
 int))
[getIntValue()](https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getIntValue(int,
 int))
[getStringValue()](https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getStringValue(int))

There are really useful since developers don't have to worry about 
bytes if all they are doing is reading/writing integers. Could we add 
similar helper functions?

See https://github.com/WebBluetoothCG/web-bluetooth/issues/126

Received on Friday, 29 May 2015 18:19:45 UTC