Skip to content

Commit 422caf5

Browse files
authored
Release 4.2.2
2 parents 88b2a83 + c2479c5 commit 422caf5

34 files changed

+370
-279
lines changed

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- iOSDFULibrary (4.2.1):
2+
- iOSDFULibrary (4.2.2):
33
- Zip (~> 1.0)
44
- Zip (1.1.0)
55

@@ -15,7 +15,7 @@ EXTERNAL SOURCES:
1515
:path: "../"
1616

1717
SPEC CHECKSUMS:
18-
iOSDFULibrary: eb0c271a853dcf24898736dfa0ab3817bad5b357
18+
iOSDFULibrary: 6bdbe1c17821f6fe2be1ec987fe55d35d1f178b6
1919
Zip: 8877eede3dda76bcac281225c20e71c25270774c
2020

2121
PODFILE CHECKSUM: e69e51e1629146ef9887fb3e893d62b3afd2b845

Example/Pods/Local Podspecs/iOSDFULibrary.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/iOSDFULibrary-iOS/iOSDFULibrary-iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/iOSDFULibrary-macOS/iOSDFULibrary-macOS-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/iOSDFULibrary/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>4.2.0</string>
18+
<string>1.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>45</string>
22+
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UIBackgroundModes</key>

Example/iOSDFULibrary/View Controllers/DFUViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class DFUViewController: UIViewController, CBCentralManagerDelegate, DFUServiceD
175175
partProgressView.progress = 0.0
176176

177177
// Create DFU initiator with some default configuration
178-
let dfuInitiator = DFUServiceInitiator(target: dfuPeripheral, queue: DispatchQueue(label: "Other"))
178+
let dfuInitiator = DFUServiceInitiator(queue: DispatchQueue(label: "Other"))
179179
dfuInitiator.delegate = self
180180
dfuInitiator.progressDelegate = self
181181
dfuInitiator.logger = self
@@ -202,7 +202,7 @@ class DFUViewController: UIViewController, CBCentralManagerDelegate, DFUServiceD
202202
// Apply step's modifications to the DFU initiator
203203
firmwareProvider.applyModifier(to: dfuInitiator)
204204

205-
dfuController = dfuInitiator.with(firmware: firmware).start()
205+
dfuController = dfuInitiator.with(firmware: firmware).start(target: dfuPeripheral)
206206
}
207207

208208
func prepareNextStep() {

Example/macOS-DFU-Example/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>4.1.1</string>
20+
<string>1.0.0</string>
2121
<key>CFBundleVersion</key>
22-
<string>43</string>
22+
<string>1</string>
2323
<key>LSMinimumSystemVersion</key>
2424
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2525
<key>NSHumanReadableCopyright</key>

changelog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
### Changelog
2+
- **4.2.2**
3+
- Bugfix: Fixed issue #245 where operationFailed error messages where not reported in some cases.
24
- **4.2.1**
35
- Bugfix: Fixed issue causing a crash when the target peripheral was set to `nil` and `discoverServices()` got called.
46
- Bugfix: Raised MacOS Deployment target to 10.14 due to missing `identifier` property on `CBPeripheral` to avoid hacky workarounds.

iOSDFULibrary.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "iOSDFULibrary"
3-
s.version = "4.2.1"
3+
s.version = "4.2.2"
44
s.summary = "This repository contains a tested library for iOS 8+ devices to perform Device Firmware Update on the nRF5x devices"
55
s.description = <<-DESC
66
The nRF5x Series chips are flash-based SoCs, and as such they represent the most flexible solution available. A key feature of the nRF5x Series and their associated software architecture and S-Series SoftDevices is the possibility for Over-The-Air Device Firmware Upgrade (OTA-DFU). See Figure 1. OTA-DFU allows firmware upgrades to be issued and downloaded to products in the field via the cloud and so enables OEMs to fix bugs and introduce new features to products that are already out on the market. This brings added security and flexibility to product development when using the nRF5x Series SoCs.

0 commit comments

Comments
 (0)