CharacteristicIdentifier
public protocol CharacteristicIdentifier
                Characteristic protocol specifies how information about characteristics of device should look like. Sample implementation could look like:
enum DeviceCharacteristic: String, CharacteristicIdentifier {
    case manufacturerName = "2A29"
    var uuid: CBUUID {
        return CBUUID(string: self.rawValue)
    }
    var service: ServiceIdentifier {
        switch self {
        case .ManufacturerName:
            return XXXService.DeviceInformation
        }
    }
}
              
          - 
                  
                  
Unique identifier of a characteristic.
Declaration
Swift
var uuid: CBUUID { get } - 
                  
                  
ServiceIdentifierinstance that this characteristic belongs to.Declaration
Swift
var service: ServiceIdentifier { get } 
View on GitHub
        CharacteristicIdentifier Protocol Reference