{"action":"created","issue":{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/126","labels_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/126/comments","events_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/126/events","html_url":"https://github.com/WebBluetoothCG/web-bluetooth/issues/126","id":82531942,"number":126,"title":"Helper functions to read values","user":{"login":"g-ortuno","id":3117611,"avatar_url":"https://avatars.githubusercontent.com/u/3117611?v=3","gravatar_id":"","url":"https://api.github.com/users/g-ortuno","html_url":"https://github.com/g-ortuno","followers_url":"https://api.github.com/users/g-ortuno/followers","following_url":"https://api.github.com/users/g-ortuno/following{/other_user}","gists_url":"https://api.github.com/users/g-ortuno/gists{/gist_id}","starred_url":"https://api.github.com/users/g-ortuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-ortuno/subscriptions","organizations_url":"https://api.github.com/users/g-ortuno/orgs","repos_url":"https://api.github.com/users/g-ortuno/repos","events_url":"https://api.github.com/users/g-ortuno/events{/privacy}","received_events_url":"https://api.github.com/users/g-ortuno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T18:19:43Z","updated_at":"2015-05-29T19:09:42Z","closed_at":null,"body":"In Android we have helper functions to more easily read and write values to and from characteristics:\r\n\r\n[getFloatValue()](https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getFloatValue(int, int))\r\n[getIntValue()](https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getIntValue(int, int))\r\n[getStringValue()](https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html#getStringValue(int))\r\n\r\nThey 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?"},"comment":{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/comments/106905589","html_url":"https://github.com/WebBluetoothCG/web-bluetooth/issues/126#issuecomment-106905589","issue_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/126","id":106905589,"user":{"login":"g-ortuno","id":3117611,"avatar_url":"https://avatars.githubusercontent.com/u/3117611?v=3","gravatar_id":"","url":"https://api.github.com/users/g-ortuno","html_url":"https://github.com/g-ortuno","followers_url":"https://api.github.com/users/g-ortuno/followers","following_url":"https://api.github.com/users/g-ortuno/following{/other_user}","gists_url":"https://api.github.com/users/g-ortuno/gists{/gist_id}","starred_url":"https://api.github.com/users/g-ortuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-ortuno/subscriptions","organizations_url":"https://api.github.com/users/g-ortuno/orgs","repos_url":"https://api.github.com/users/g-ortuno/repos","events_url":"https://api.github.com/users/g-ortuno/events{/privacy}","received_events_url":"https://api.github.com/users/g-ortuno/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T19:09:42Z","updated_at":"2015-05-29T19:09:42Z","body":"Eventually we should, for now let's focus on the spec and implementation."}}