Skip to content

Instantly share code, notes, and snippets.

@ksksue
Created December 13, 2014 00:07
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/89ab397834aa622f609f to your computer and use it in GitHub Desktop.
Save ksksue/89ab397834aa622f609f to your computer and use it in GitHub Desktop.
- (void)peripheral:(CBPeripheral *)peripheral didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error
{
NSString* str = [[NSString alloc] initWithData:characteristic.value encoding:NSUTF8StringEncoding];
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment