Build Information
Successful build of Bluetooth, reference 7.2.0 (3aeeb3
), with Swift 6.1 for Linux on 30 Apr 2025 07:59:35 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
Build Log
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:28:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.alertStatus }
27 |
28 | public var states: BitMaskOptionSet<State>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | public init(states: BitMaskOptionSet<State>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:30:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | public var states: BitMaskOptionSet<State>
29 |
30 | public init(states: BitMaskOptionSet<State>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | self.states = states
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:69:31: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
67 | extension GATTAlertStatus {
68 |
69 | public enum State: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
70 |
71 | // Ringer state
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTAlertStatus.swift:40:23: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | self.states = BitMaskOptionSet<State>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 | }
42 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:24:26: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal static let length = MemoryLayout<UInt16>.size
23 |
24 | public var features: BitMaskOptionSet<Feature>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:26:27: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var features: BitMaskOptionSet<Feature>
25 |
26 | public init(features: BitMaskOptionSet<Feature>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.features = features
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:49:34: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
47 |
48 | /// Blood Pressure Feature
49 | public enum Feature: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
50 |
51 | internal static let length = MemoryLayout<UInt16>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureFeature.swift:36:24: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
34 | else { return nil }
35 |
36 | let features = BitMaskOptionSet<Feature>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
37 |
38 | self.init(features: features)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:28:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 | /// The Flags field is included in the Blood Pressure Measurement characteristic.
27 | /// Reserved for Future Use (RFU) bits in the Flags field shall be set to 0.
28 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
29 |
30 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:73:35: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
71 |
72 | /// Measurement Status
73 | public var measurementStatus: BitMaskOptionSet<MeasurementStatus>?
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
74 |
75 | public init(
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:80:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
78 | pulseRate: SFloat? = nil,
79 | userIdentifier: UInt8? = nil,
80 | measurementStatus: BitMaskOptionSet<MeasurementStatus>? = nil
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
81 | ) {
82 |
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:241:32: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
239 |
240 | /// These flags define which data fields are present in the Characteristic value.
241 | internal enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
242 |
243 | /// Blood pressure for Systolic, Diastolic and MAP in units of kPa
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:305:44: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
303 | }
304 |
305 | public enum MeasurementStatus: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
306 |
307 | case bodyMovement = 0b01
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:30:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
28 | internal var flags: BitMaskOptionSet<Flag> {
29 |
30 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
31 |
32 | if case .kPa = compoundValue.unit {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:95:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
93 | else { return nil }
94 |
95 | let flags = BitMaskOptionSet<Flag>(rawValue: data[0])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
96 |
97 | let unit: Unit = flags.contains(.bloodPressureUnits) ? .kPa : .mmHg
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBloodPressureManagement.swift:159:38: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
157 | else { return nil }
158 |
159 | self.measurementStatus = BitMaskOptionSet<MeasurementStatus>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[index + 1], data[index + 2]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
160 |
161 | index += MemoryLayout<MeasurementStatus.RawValue>.size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:22:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
20 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.bodyCompositionMeasurement }
21 |
22 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 |
24 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:452:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
450 |
451 | /// These flags define which data fields are present in the Characteristic value.
452 | internal enum Flag: UInt16, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
453 |
454 | /// Measurement Units
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:24:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | internal var flags: BitMaskOptionSet<Flag> {
23 |
24 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | if timestamp != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTBodyCompositionMeasurement.swift:151:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
149 | else { return nil }
150 |
151 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt16(littleEndian: UInt16(bytes: (data[0], data[1]))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
152 |
153 | massUnit = flags.contains(.measurementUnitImperial) ? .pound : .kilogram
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:23:25: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
21 | public static var uuid: BluetoothUUID { BluetoothUUID.Characteristic.crossTrainerData }
22 |
23 | internal var flags: BitMaskOptionSet<Flag> {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 |
25 | var flags = BitMaskOptionSet<Flag>()
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:640:33: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
638 |
639 | /// These flags define which data fields are present in the Characteristic value.
640 | internal enum Flag: UInt32, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
641 |
642 | /// More Data
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:25:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
23 | internal var flags: BitMaskOptionSet<Flag> {
24 |
25 | var flags = BitMaskOptionSet<Flag>()
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
26 |
27 | if instantaneousSpeed != nil {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCrossTrainerData.swift:196:21: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
194 | else { return nil }
195 |
196 | let flags = BitMaskOptionSet<Flag>(rawValue: UInt32(littleEndian: UInt32(bytes: (data[0], data[1], data[2], 0))))
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
197 |
198 | var index = 2 // flags size
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:24:30: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
22 | public var exactTime: GATTExactTime256
23 |
24 | public var adjustReason: BitMaskOptionSet<Flag>
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:26:60: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
24 | public var adjustReason: BitMaskOptionSet<Flag>
25 |
26 | public init(exactTime: GATTExactTime256, adjustReason: BitMaskOptionSet<Flag>) {
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
27 |
28 | self.exactTime = exactTime
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:53:30: warning: 'BitMaskOption' is deprecated: Use OptionSet instead
51 | extension GATTCurrentTime {
52 |
53 | public enum Flag: UInt8, BitMaskOption {
| `- warning: 'BitMaskOption' is deprecated: Use OptionSet instead
54 |
55 | /// Manual time update
/host/spi-builder-workspace/Sources/BluetoothGATT/GATTCurrentTime.swift:40:28: warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
38 | else { return nil }
39 |
40 | let adjustReason = BitMaskOptionSet<Flag>(rawValue: data[GATTExactTime256.length])
| `- warning: 'BitMaskOptionSet' is deprecated: Use OptionSet instead
41 |
42 | self.init(exactTime: exactTime, adjustReason: adjustReason)
Build complete! (123.17s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.1",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "Bluetooth",
"name" : "Bluetooth",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Bluetooth",
"targets" : [
"Bluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothMetadata",
"targets" : [
"BluetoothMetadata"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothGAP",
"targets" : [
"BluetoothGAP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothGATT",
"targets" : [
"BluetoothGATT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothHCI",
"targets" : [
"BluetoothHCI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GenerateBluetooth",
"targets" : [
"GenerateBluetooth"
],
"type" : {
"executable" : null
}
},
{
"name" : "BluetoothMacros",
"targets" : [
"BluetoothMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "GenerateBluetoothDefinitions",
"module_type" : "PluginTarget",
"name" : "GenerateBluetoothDefinitions",
"path" : "Plugins/GenerateBluetoothDefinitions",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"Bluetooth",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI"
],
"sources" : [
"BluetoothUUID.swift",
"CompanyIdentifier.swift",
"Plugin.swift",
"UnitIdentifier.swift"
],
"target_dependencies" : [
"GenerateBluetooth"
],
"type" : "plugin"
},
{
"c99name" : "GenerateBluetooth",
"module_type" : "SwiftTarget",
"name" : "GenerateBluetooth",
"path" : "Sources/GenerateBluetooth",
"product_memberships" : [
"Bluetooth",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI",
"GenerateBluetooth"
],
"sources" : [
"BluetoothUUID.swift",
"CompanyIdentifier.swift",
"Extensions/Hexadecimal.swift",
"Extensions/String.swift",
"Generate.swift",
"UnitIdentifier.swift"
],
"target_dependencies" : [
"BluetoothMetadata"
],
"type" : "executable"
},
{
"c99name" : "BluetoothTests",
"module_type" : "SwiftTarget",
"name" : "BluetoothTests",
"path" : "Tests/BluetoothTests",
"sources" : [
"AddressTests.swift",
"AttributeProtocolTests.swift",
"BluetoothTests.swift",
"BluetoothUUIDTests.swift",
"DarwinTests.swift",
"GAPTests.swift",
"GATTCharacteristicTests.swift",
"GATTDatabaseTests.swift",
"GATTDescriptorTests.swift",
"GATTTests.swift",
"HCITests.swift",
"HostController.swift",
"IntegerTests.swift",
"L2CAPSocket.swift",
"TestProfile.swift",
"UInt128Tests.swift",
"UInt24Tests.swift",
"UInt256Tests.swift",
"UInt40Tests.swift",
"UInt48Tests.swift",
"UInt512Tests.swift",
"UUIDTests.swift",
"iBeaconTests.swift"
],
"target_dependencies" : [
"Bluetooth",
"BluetoothMetadata",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI"
],
"type" : "test"
},
{
"c99name" : "BluetoothMetadata",
"module_type" : "SwiftTarget",
"name" : "BluetoothMetadata",
"path" : "Sources/BluetoothMetadata",
"product_memberships" : [
"Bluetooth",
"BluetoothMetadata",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI",
"GenerateBluetooth"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/CharacteristicUUID.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/CompanyIdentifier.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/DeclarationUUID.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/DescriptorUUID.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/MemberUUID.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/ServiceUUID.json",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/BluetoothMetadata/Resources/UnitIdentifier.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BluetoothMetadata.swift",
"BluetoothUUID.swift",
"CompanyIdentifier.swift"
],
"type" : "library"
},
{
"c99name" : "BluetoothMacros",
"module_type" : "SwiftTarget",
"name" : "BluetoothMacros",
"path" : "Sources/BluetoothMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Bluetooth",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI",
"BluetoothMacros"
],
"sources" : [
"BluetoothAddress.swift",
"BluetoothUUID.swift",
"Extensions/Hexadecimal.swift",
"Plugins.swift"
],
"type" : "macro"
},
{
"c99name" : "BluetoothHCI",
"module_type" : "SwiftTarget",
"name" : "BluetoothHCI",
"path" : "Sources/BluetoothHCI",
"product_memberships" : [
"BluetoothHCI"
],
"sources" : [
"AdvertisingChannelHeader.swift",
"AdvertisingInterval.swift",
"BluetoothHostController.swift",
"ChannelIdentifier.swift",
"ConnectionAcceptTimeout.swift",
"Extensions/Bool.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/String.swift",
"Extensions/System.swift",
"HCI.swift",
"HCIAcceptConnectionRequest.swift",
"HCIAuthenticationComplete.swift",
"HCIAuthenticationRequested.swift",
"HCIChangeConnectionPacketType.swift",
"HCICommand.swift",
"HCICommandComplete.swift",
"HCICommandStatus.swift",
"HCICommandTimeout.swift",
"HCIConnectionComplete.swift",
"HCIConnectionPacketTypeChange.swift",
"HCIConnectionRequest.swift",
"HCICreateConnection.swift",
"HCICreateConnectionCancel.swift",
"HCIDeleteStoredLinkKey.swift",
"HCIDisconnect.swift",
"HCIDisconnectionComplete.swift",
"HCIEncryptionChange.swift",
"HCIEncryptionKeyRefreshComplete.swift",
"HCIError.swift",
"HCIEvent.swift",
"HCIExitPeriodicInquiryMode.swift",
"HCIGeneralEvent.swift",
"HCIHoldMode.swift",
"HCIIOCapabilityRequest.swift",
"HCIIOCapabilityRequestReply.swift",
"HCIIOCapabilityResponse.swift",
"HCIInquiry.swift",
"HCIInquiryCancel.swift",
"HCIInquiryComplete.swift",
"HCIInquiryResult.swift",
"HCILEAddDeviceToPeriodicAdvertiserList.swift",
"HCILEAddDeviceToResolvingList.swift",
"HCILEAddDeviceToWhiteList.swift",
"HCILEAdvertisingReport.swift",
"HCILEAdvertisingSetTerminated.swift",
"HCILEChannelSelectionAlgorithm.swift",
"HCILEConnectionComplete.swift",
"HCILEConnectionUpdateComplete.swift",
"HCILECreateConnection.swift",
"HCILEDataLengthChange.swift",
"HCILEDirectedAdvertisingReport.swift",
"HCILEEncrypt.swift",
"HCILEEnhancedConnectionComplete.swift",
"HCILEEnhancedReceiverTest.swift",
"HCILEEnhancedTransmitterTest.swift",
"HCILEExtendedAdvertisingReport.swift",
"HCILEExtendedCreateConnection.swift",
"HCILEGenerateDHKey.swift",
"HCILEGenerateDHKeyComplete.swift",
"HCILELongTermKeyRequest.swift",
"HCILELongTermKeyRequestNegativeReply.swift",
"HCILELongTermKeyRequestReply.swift",
"HCILEPeriodicAdvertisingCreateSync.swift",
"HCILEPeriodicAdvertisingReport.swift",
"HCILEPeriodicAdvertisingSyncEstablished.swift",
"HCILEPeriodicAdvertisingSyncLost.swift",
"HCILEPeriodicAdvertisingTerminateSync.swift",
"HCILEPhyUpdateComplete.swift",
"HCILERandom.swift",
"HCILEReadAdvertisingChannelTxPower.swift",
"HCILEReadBufferSize.swift",
"HCILEReadChannelMap.swift",
"HCILEReadLocalP256PublicKeyComplete.swift",
"HCILEReadLocalResolvableAddressReturn.swift",
"HCILEReadLocalSupportedFeatures.swift",
"HCILEReadMaximumAdvertisingDataLength.swift",
"HCILEReadMaximumDataLength.swift",
"HCILEReadNumberOfSupportedAdvertisingSets.swift",
"HCILEReadPeerResolvableAddressReturn.swift",
"HCILEReadPeriodicAdvertisingListSize.swift",
"HCILEReadPhy.swift",
"HCILEReadRemoteUsedFeatures.swift",
"HCILEReadRemoteUsedFeaturesComplete.swift",
"HCILEReadResolvingListSize.swift",
"HCILEReadRfPathCompensation.swift",
"HCILEReadSuggestedDefaultDataLength.swift",
"HCILEReadSupportedStates.swift",
"HCILEReadTransmitPower.swift",
"HCILEReadWhiteListSize.swift",
"HCILEReceiverTest.swift",
"HCILERemoteConnectionParameterRequest.swift",
"HCILERemoteConnectionParameterRequestNegativeReply.swift",
"HCILERemoteConnectionParameterRequestReply.swift",
"HCILERemoveAdvertisingSet.swift",
"HCILERemoveDeviceFromResolvingList.swift",
"HCILERemoveDeviceFromWhiteList.swift",
"HCILERemoveDeviceToPeriodicAdvertiserList.swift",
"HCILEScanRequestReceived.swift",
"HCILESetAddressResolutionEnable.swift",
"HCILESetAdvertiseEnable.swift",
"HCILESetAdvertisingData.swift",
"HCILESetAdvertisingParameters.swift",
"HCILESetAdvertisingSetRandomAddress.swift",
"HCILESetDataLength.swift",
"HCILESetDefaultPhy.swift",
"HCILESetEventMask.swift",
"HCILESetExtendedAdvertisingData.swift",
"HCILESetExtendedAdvertisingParameters.swift",
"HCILESetExtendedScanEnable.swift",
"HCILESetExtendedScanParameters.swift",
"HCILESetExtendedScanResponseData.swift",
"HCILESetHostChannelClassification.swift",
"HCILESetPeriodicAdvertisingData.swift",
"HCILESetPeriodicAdvertisingEnable.swift",
"HCILESetPeriodicAdvertisingParameters.swift",
"HCILESetPhy.swift",
"HCILESetPrivacyMode.swift",
"HCILESetRandomAddress.swift",
"HCILESetResolvablePrivateAddressTimeout.swift",
"HCILESetScanEnable.swift",
"HCILESetScanParameters.swift",
"HCILESetScanResponseData.swift",
"HCILEStartEncryption.swift",
"HCILETestEnd.swift",
"HCILETransmitterTest.swift",
"HCILEUpdateConnection.swift",
"HCILEWriteRfPathCompensation.swift",
"HCILEWriteSuggestedDefaultDataLength.swift",
"HCILinkKeyNotification.swift",
"HCILinkKeyRequest.swift",
"HCILinkKeyRequestNegativeReply.swift",
"HCILinkKeyRequestReply.swift",
"HCILowEnergyMetaEvent.swift",
"HCIMaxSlotsChange.swift",
"HCIModeChange.swift",
"HCINumberOfCompletedPackets.swift",
"HCIPINCodeRequest.swift",
"HCIPINCodeRequestReply.swift",
"HCIPacketHeader.swift",
"HCIPageScanRepetitionMode.swift",
"HCIPeriodicInquiryMode.swift",
"HCIQoSSetup.swift",
"HCIQoSSetupComplete.swift",
"HCIReadClassOfDevice.swift",
"HCIReadClockOffset.swift",
"HCIReadClockOffsetComplete.swift",
"HCIReadConnectionAcceptTimeout.swift",
"HCIReadDataBlockSize.swift",
"HCIReadDeviceAddress.swift",
"HCIReadLMPHandle.swift",
"HCIReadLocalName.swift",
"HCIReadLocalSupportedFeatures.swift",
"HCIReadLocalVersionInformation.swift",
"HCIReadPageTimeout.swift",
"HCIReadRemoteExtendedFeatures.swift",
"HCIReadRemoteExtendedFeaturesComplete.swift",
"HCIReadRemoteFeaturesComplete.swift",
"HCIReadRemoteSupportedFeatures.swift",
"HCIReadRemoteVersionInformation.swift",
"HCIReadRemoteVersionInformationComplete.swift",
"HCIReadStoredLinkKey.swift",
"HCIRejectConnectionRequest.swift",
"HCIRemoteNameRequest.swift",
"HCIRemoteNameRequestComplete.swift",
"HCIReset.swift",
"HCISetConnectionEncryption.swift",
"HCISetEventFilter.swift",
"HCISimplePairingComplete.swift",
"HCIUserConfirmationRequest.swift",
"HCIUserConfirmationRequestReply.swift",
"HCIVersion.swift",
"HCIWriteClassOfDevice.swift",
"HCIWriteConnectionAcceptTimeout.swift",
"HCIWriteLinkPolicySettings.swift",
"HCIWriteLinkSupervisionTimeout.swift",
"HCIWriteLocalName.swift",
"HCIWritePageScanActivity.swift",
"HCIWritePageScanType.swift",
"HCIWritePageTimeout.swift",
"HCIWriteScanEnable.swift",
"HostControllerBasebandCommand.swift",
"InformationalCommand.swift",
"LMPFeature.swift",
"LinkControlCommand.swift",
"LinkPolicyCommand.swift",
"LowEnergyAddressType.swift",
"LowEnergyAdvertiserAddressType.swift",
"LowEnergyAdvertising.swift",
"LowEnergyAllPhys.swift",
"LowEnergyChannelMap.swift",
"LowEnergyClockAccuracy.swift",
"LowEnergyCommand.swift",
"LowEnergyConnection.swift",
"LowEnergyConnectionInterval.swift",
"LowEnergyConnectionIntervalRange.swift",
"LowEnergyConnectionLatency.swift",
"LowEnergyConnectionLength.swift",
"LowEnergyEvent.swift",
"LowEnergyFeature.swift",
"LowEnergyFragmentPreference.swift",
"LowEnergyMaxTxOctets.swift",
"LowEnergyMaxTxTime.swift",
"LowEnergyPacketPayload.swift",
"LowEnergyPeerIdentifyAddressType.swift",
"LowEnergyPhyOptions.swift",
"LowEnergyResolvingList.swift",
"LowEnergyRfRxPathCompensationValue.swift",
"LowEnergyRfTxPathCompensationValue.swift",
"LowEnergyRole.swift",
"LowEnergyRxChannel.swift",
"LowEnergyRxPhy.swift",
"LowEnergyRxPhys.swift",
"LowEnergyScanInterval.swift",
"LowEnergyState.swift",
"LowEnergySupervisionTimeout.swift",
"LowEnergyTxChannel.swift",
"LowEnergyTxPhy.swift",
"LowEnergyTxPhys.swift",
"LowEnergyTxPower.swift",
"LowEnergyWhiteList.swift",
"LowEnergyWhiteListDevice.swift",
"PacketType.swift",
"ProtocolServiceMultiplexer.swift",
"StatusParametersCommand.swift",
"VendorCommand.swift",
"iBeacon.swift"
],
"target_dependencies" : [
"Bluetooth",
"BluetoothGAP",
"GenerateBluetoothDefinitions"
],
"type" : "library"
},
{
"c99name" : "BluetoothGATT",
"module_type" : "SwiftTarget",
"name" : "BluetoothGATT",
"path" : "Sources/BluetoothGATT",
"product_memberships" : [
"BluetoothGATT"
],
"sources" : [
"ATTAttributePermissions.swift",
"ATTConnection.swift",
"ATTError.swift",
"ATTErrorResponse.swift",
"ATTExecuteWriteRequest.swift",
"ATTExecuteWriteResponse.swift",
"ATTFindByTypeRequest.swift",
"ATTFindByTypeResponse.swift",
"ATTFindInformationRequest.swift",
"ATTFindInformationResponse.swift",
"ATTHandleValueConfirmation.swift",
"ATTHandleValueIndication.swift",
"ATTHandleValueNotification.swift",
"ATTMaximumTransmissionUnit.swift",
"ATTMaximumTransmissionUnitRequest.swift",
"ATTMaximumTransmissionUnitResponse.swift",
"ATTOpcode.swift",
"ATTPrepareWriteRequest.swift",
"ATTPrepareWriteResponse.swift",
"ATTProtocolDataUnit.swift",
"ATTReadBlobRequest.swift",
"ATTReadBlobResponse.swift",
"ATTReadByGroupTypeRequest.swift",
"ATTReadByGroupTypeResponse.swift",
"ATTReadByTypeRequest.swift",
"ATTReadByTypeResponse.swift",
"ATTReadMultipleRequest.swift",
"ATTReadMultipleResponse.swift",
"ATTReadRequest.swift",
"ATTReadResponse.swift",
"ATTSignedWriteCommand.swift",
"ATTWriteCommand.swift",
"ATTWriteRequest.swift",
"ATTWriteResponse.swift",
"Extensions/Array.swift",
"Extensions/Bool.swift",
"Extensions/Data.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/OptionSet.swift",
"Extensions/String.swift",
"Extensions/System.swift",
"GATT.swift",
"GATTAerobicHeartRateLowerLimit.swift",
"GATTAerobicHeartRateUpperLimit.swift",
"GATTAerobicThreshold.swift",
"GATTAge.swift",
"GATTAggregateFormatDescriptor.swift",
"GATTAlertCategory.swift",
"GATTAlertCategoryBitMask.swift",
"GATTAlertLevel.swift",
"GATTAlertNotificationControlPoint.swift",
"GATTAlertNotificationService.swift",
"GATTAlertStatus.swift",
"GATTAltitude.swift",
"GATTAnaerobicHeartRateLowerLimit.swift",
"GATTAnaerobicHeartRateUpperLimit.swift",
"GATTAttributes.swift",
"GATTBarometricPressureTrend.swift",
"GATTBatteryLevel.swift",
"GATTBatteryPowerState.swift",
"GATTBatteryService.swift",
"GATTBloodPressureFeature.swift",
"GATTBloodPressureManagement.swift",
"GATTBloodPressureService.swift",
"GATTBodyCompositionMeasurement.swift",
"GATTBodySensorLocation.swift",
"GATTBootKeyboardInputReport.swift",
"GATTBootKeyboardOutputReport.swift",
"GATTBootMouseInputReport.swift",
"GATTCGMSessionRunTime.swift",
"GATTCentralAddressResolution.swift",
"GATTCharacteristic.swift",
"GATTCharacteristicExtendedProperties.swift",
"GATTCharacteristicFormatType.swift",
"GATTCharacteristicProperties.swift",
"GATTClient.swift",
"GATTClientCharacteristicConfiguration.swift",
"GATTCrossTrainerData.swift",
"GATTCurrentTime.swift",
"GATTDatabase.swift",
"GATTDateTime.swift",
"GATTDateUTC.swift",
"GATTDayDateTime.swift",
"GATTDayOfWeek.swift",
"GATTDescriptor.swift",
"GATTDstOffset.swift",
"GATTExactTime256.swift",
"GATTExternalReportReference.swift",
"GATTFirmwareRevisionString.swift",
"GATTFloorNumber.swift",
"GATTFormatDescriptor.swift",
"GATTHardwareRevisionString.swift",
"GATTIndoorPositioningConfiguration.swift",
"GATTLatitude.swift",
"GATTLocalEastCoordinate.swift",
"GATTLocalNorthCoordinate.swift",
"GATTLocalTimeInformation.swift",
"GATTLocationName.swift",
"GATTLongitude.swift",
"GATTManufacturerNameString.swift",
"GATTModelNumber.swift",
"GATTNewAlert.swift",
"GATTNumberOfDigitals.swift",
"GATTObjectID.swift",
"GATTObjectName.swift",
"GATTObjectSize.swift",
"GATTObjectType.swift",
"GATTPnPID.swift",
"GATTProfile.swift",
"GATTReferenceTimeInformation.swift",
"GATTReportReference.swift",
"GATTScanIntervalWindow.swift",
"GATTScanRefresh.swift",
"GATTSerialNumberString.swift",
"GATTServer.swift",
"GATTServerCharacteristicConfiguration.swift",
"GATTService.swift",
"GATTSoftwareRevisionString.swift",
"GATTSupportedNewAlertCategory.swift",
"GATTSupportedUnreadAlertCategory.swift",
"GATTSystemID.swift",
"GATTTimeAccuracy.swift",
"GATTTimeSource.swift",
"GATTTimeTriggerSetting.swift",
"GATTTimeUpdateControlPoint.swift",
"GATTTimeUpdateState.swift",
"GATTTimeWithDst.swift",
"GATTTimeZone.swift",
"GATTUUIDList.swift",
"GATTUncertainty.swift",
"GATTUnits.swift",
"GATTUnreadAlertStatus.swift",
"GATTUserDescription.swift"
],
"target_dependencies" : [
"Bluetooth"
],
"type" : "library"
},
{
"c99name" : "BluetoothGAP",
"module_type" : "SwiftTarget",
"name" : "BluetoothGAP",
"path" : "Sources/BluetoothGAP",
"product_memberships" : [
"BluetoothGAP",
"BluetoothHCI"
],
"sources" : [
"Decoder.swift",
"Encoder.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/OptionSet.swift",
"Extensions/String.swift",
"Extensions/System.swift",
"GAP3DInformation.swift",
"GAPAdvertisingInterval.swift",
"GAPAppearance.swift",
"GAPAppearanceData.swift",
"GAPChannelMapUpdateIndication.swift",
"GAPClassOfDevice.swift",
"GAPCompleteListOf128BitServiceClassUUIDs.swift",
"GAPCompleteListOf16BitServiceClassUUIDs.swift",
"GAPCompleteListOf32BitServiceClassUUIDs.swift",
"GAPCompleteLocalName.swift",
"GAPData.swift",
"GAPDataType.swift",
"GAPFlags.swift",
"GAPIncompleteListOf128BitServiceClassUUIDs.swift",
"GAPIncompleteListOf16BitServiceClassUUIDs.swift",
"GAPIncompleteListOf32BitServiceClassUUIDs.swift",
"GAPIndoorPositioning.swift",
"GAPLEDeviceAddress.swift",
"GAPLERole.swift",
"GAPLESecureConnectionsConfirmation.swift",
"GAPLESecureConnectionsRandom.swift",
"GAPLESupportedFeatures.swift",
"GAPListOf128BitServiceSolicitationUUIDs.swift",
"GAPListOf16BitServiceSolicitationUUIDs.swift",
"GAPListOf32BitServiceSolicitationUUIDs.swift",
"GAPManufacturerSpecificData.swift",
"GAPMeshBeacon.swift",
"GAPMeshMessage.swift",
"GAPPBADV.swift",
"GAPPublicTargetAddress.swift",
"GAPRandomTargetAddress.swift",
"GAPSecurityManagerOOBFlags.swift",
"GAPSecurityManagerTKValue.swift",
"GAPServiceData128BitUUID.swift",
"GAPServiceData16BitUUID.swift",
"GAPServiceData32BitUUID.swift",
"GAPShortLocalName.swift",
"GAPSimplePairingHashC.swift",
"GAPSimplePairingRandomizerR.swift",
"GAPSlaveConnectionIntervalRange.swift",
"GAPTransportDiscoveryData.swift",
"GAPTxPowerLevel.swift",
"GAPURI.swift",
"GAPUUIDList.swift",
"iBeacon.swift"
],
"target_dependencies" : [
"Bluetooth"
],
"type" : "library"
},
{
"c99name" : "Bluetooth",
"module_type" : "SwiftTarget",
"name" : "Bluetooth",
"path" : "Sources/Bluetooth",
"product_memberships" : [
"Bluetooth",
"BluetoothGAP",
"BluetoothGATT",
"BluetoothHCI"
],
"sources" : [
"Address.swift",
"AsyncIndefiniteStream.swift",
"BitMaskOption.swift",
"BluetoothUUID.swift",
"BluetoothUUIDMetadata.swift",
"ByteSwap.swift",
"ByteValue.swift",
"ClassOfDevice.swift",
"CompanyIdentifier.swift",
"CompanyIdentifierMetadata.swift",
"Data.swift",
"Extensions/Hexadecimal.swift",
"Extensions/Integer.swift",
"Extensions/String.swift",
"Extensions/System.swift",
"Extensions/UUID.swift",
"L2CAPSocket.swift",
"LowEnergyAdvertisingData.swift",
"LowEnergyScanTimeInterval.swift",
"RSSI.swift",
"SFloat.swift",
"SecurityLevel.swift",
"UInt128.swift",
"UInt24.swift",
"UInt256.swift",
"UInt40.swift",
"UInt48.swift",
"UInt512.swift",
"Unit.swift",
"UnitIdentifier.swift",
"UnitIdentifierMetadata.swift",
"iBeacon.swift"
],
"target_dependencies" : [
"BluetoothMetadata",
"BluetoothMacros",
"GenerateBluetoothDefinitions"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.