Last active
February 21, 2017 08:22
-
-
Save andreban/77ff027c5a5d76f30879813f290f78f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rowingService.getCharacteristic('ce060031-43e5-11e4-916c-0800200c9a66') // General Info. | |
.then(generalInfoCharacteristic => generalInfoCharacteristic.startNotifications()) | |
.then(generalInfoCharacteristic => { | |
generalInfoCharacteristic.addEventListener('characteristicvaluechanged', e => { | |
// Parse characteristic value. | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment