Skip to content

Instantly share code, notes, and snippets.

@ksksue
Created December 13, 2014 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksksue/13954a07fd0e84b87756 to your computer and use it in GitHub Desktop.
Save ksksue/13954a07fd0e84b87756 to your computer and use it in GitHub Desktop.
- (void)peripheral:(CBPeripheral *)peripheral didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error
{
uint8_t *byte = (uint8_t *)[characteristic.value bytes];
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment