Last active
August 29, 2015 14:22
-
-
Save cgreening/0b8931a34ad34de55d4d to your computer and use it in GitHub Desktop.
write
This file contains 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
profile.services[SERVICE_UUID].characteristics[CHARACTERISTIC_UUID].writeUint8(1); | |
// you can use any of the following methods | |
writeUint8(number); | |
writeUint16(number); | |
writeUint32(number); | |
writeInt8(number); | |
writeInt16(number); | |
writeInt32(number); | |
writeText(string); | |
writeBinary(DataView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment