/// <summary> /// Add a reserved attribute GIUD. This will require BLE broadcasts to advertise at least one of the guids provided /// </summary> public static ScanFilter AddAdvertisedService(this ScanFilter filter, UInt16 reserved) { return(filter.AddAdvertisedService(reserved.CreateGuidFromAdoptedKey())); }
/// <summary> /// Add an attribute GIUD. This will require BLE broadcasts to advertise at least one of the guids provided /// </summary> /// <exception cref="ArgumentNullException">If <paramref name="guid" /> is null</exception> /// <exception cref="FormatException">If <paramref name="guid" /> is not properly formatted as a GUID</exception> public static ScanFilter AddAdvertisedService(this ScanFilter filter, String guid) { return(filter.AddAdvertisedService(Guid.Parse(guid))); }