public static GattNativeServiceUuid GetServiceTypeEnum(Guid serviceUuid) { if (IsSigDefinedUuid(serviceUuid)) { return(EnumHelpers.FirstOrDefault( serviceUuid.ToUShortId(), GattNativeServiceUuid.None)); } return(GattNativeServiceUuid.None); }
public static GattNativeServiceUuid GetServiceTypeEnum(Guid serviceUuid) { if (IsSigDefinedUuid(serviceUuid)) { return(EnumHelpers.FirstOrDefault( serviceUuid.ToUShortId(), GattNativeServiceUuid.None)); } return(GattNativeServiceUuid.None); }