Skip to content

Instantly share code, notes, and snippets.

@snosrap
Created May 1, 2016 03:57
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 snosrap/9af4db263a721c3bd3aa8195e49e88b7 to your computer and use it in GitHub Desktop.
Save snosrap/9af4db263a721c3bd3aa8195e49e88b7 to your computer and use it in GitHub Desktop.
for(int i=0;i<256;i++) {
CBUUID *u = [CBUUID UUIDWithString:[NSString stringWithFormat:@"18%02X", i]];
if(![u.UUIDString isEqualToString:u.description])
NSLog(@"%@\t%@", u.UUIDString, u.description);
}
// 1800 Generic Access Profile
// 1801 Generic Attribute Profile
// 1805 Current Time
// 1808 Glucose
// 1809 Health Thermometer
// 180A Device Information
// 180D Heart Rate
// 180F Battery
// 1810 Blood Pressure
// 1812 Human Interface Device
// 1816 Cycling Speed and Cadence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment