String to NSUuid?

Hi everyone,

I've been attempting to reconnect with some BLE devices that I've paired to and have run into some trouble. I've successfully saved off an array of identifiers as strings to a user default file and can retrieve those strings. I can then turn those strings into CBUUids with the CBUUID.FromString(someString) call. The issue I have is that when attempting to make the RetrieveKnownPeripherals call to get the known CBPeripherals[], it requires an array of NSUuid's. I can't seem to find a method or workaround to convert the CBUuid's into NSUuid's, or the strings into NSUuids, has anyone got any advice to convert either the string directly, or the CBUuid into an NSUuid? Any help would be appreciated...


Sign In or Register to comment.