Skip to content

Commit c1bdfe9

Browse files
authored
Merge pull request #341 from NordicSemiconductor/develop
Version 3.1.1
2 parents 5d39ed5 + f79518d commit c1bdfe9

11 files changed

Lines changed: 44 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
- **3.1.1**:
4+
- Bugfix: `SegmentedAccessMessage` overflow crash (#339).
5+
- Bugfix: Validation failure if database contains 10m publish resolution (#338).
6+
37
- **3.1.0**:
48
- Sensor messages + simple UI for reading sensor values (#327).
59
- Light LC messages (#328).

Documentation/SETTING_UP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Using CocoaPods:
77
You can use [Swift Package Manager](https://swift.org/package-manager/) and specify dependency in `Package.swift` by adding this:
88

99
```swift
10-
.package(url: "https://github.com/NordicSemiconductor/IOS-nRF-Mesh-Library", .upToNextMinor(from: "3.0.1"))
10+
.package(url: "https://github.com/NordicSemiconductor/IOS-nRF-Mesh-Library", .upToNextMinor(from: "3.1.1"))
1111
```
1212

1313
Also, have a look at [Swift Package Manager @ CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift/blob/master/README.md#swift-package-manager).

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- CryptoSwift (1.3.8)
3-
- nRFMeshProvision (3.1.0):
3+
- nRFMeshProvision (3.1.1):
44
- CryptoSwift (= 1.3.8)
55

66
DEPENDENCIES:
@@ -16,7 +16,7 @@ EXTERNAL SOURCES:
1616

1717
SPEC CHECKSUMS:
1818
CryptoSwift: 01b0f0cba1d5c212e5a335ff6c054fb75a204f00
19-
nRFMeshProvision: 65db103d9ef4f47304314349e10ea31e6148705e
19+
nRFMeshProvision: c1287c0156085336176e317ac2f707541c162e4c
2020

2121
PODFILE CHECKSUM: 69a81463322ef34ca0a20b98e90da2701d94e4ec
2222

Example/Pods/Local Podspecs/nRFMeshProvision.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/Pods.xcodeproj/project.pbxproj

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

Example/Pods/Target Support Files/nRFMeshProvision/nRFMeshProvision-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/nRFMeshProvision.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,15 +1356,15 @@
13561356
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
13571357
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
13581358
CODE_SIGN_ENTITLEMENTS = nRFMeshProvision_Example.entitlements;
1359-
CURRENT_PROJECT_VERSION = 4;
1359+
CURRENT_PROJECT_VERSION = 1;
13601360
DEVELOPMENT_TEAM = P3R8YQEV4L;
13611361
ENABLE_BITCODE = NO;
13621362
INFOPLIST_FILE = nRFMeshProvision/Info.plist;
13631363
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
13641364
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
13651365
LIBRARY_SEARCH_PATHS = "$(inherited)";
13661366
LINK_WITH_STANDARD_LIBRARIES = YES;
1367-
MARKETING_VERSION = 3.1.0;
1367+
MARKETING_VERSION = 3.1.1;
13681368
MODULE_NAME = ExampleApp;
13691369
OTHER_LDFLAGS = "$(inherited)";
13701370
PRODUCT_BUNDLE_IDENTIFIER = com.nordicsemi.nRFProvisioner;
@@ -1383,15 +1383,15 @@
13831383
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
13841384
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
13851385
CODE_SIGN_ENTITLEMENTS = nRFMeshProvision_Example.entitlements;
1386-
CURRENT_PROJECT_VERSION = 4;
1386+
CURRENT_PROJECT_VERSION = 1;
13871387
DEVELOPMENT_TEAM = P3R8YQEV4L;
13881388
ENABLE_BITCODE = NO;
13891389
INFOPLIST_FILE = nRFMeshProvision/Info.plist;
13901390
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
13911391
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
13921392
LIBRARY_SEARCH_PATHS = "$(inherited)";
13931393
LINK_WITH_STANDARD_LIBRARIES = YES;
1394-
MARKETING_VERSION = 3.1.0;
1394+
MARKETING_VERSION = 3.1.1;
13951395
MODULE_NAME = ExampleApp;
13961396
OTHER_LDFLAGS = "$(inherited)";
13971397
PRODUCT_BUNDLE_IDENTIFIER = com.nordicsemi.nRFProvisioner;

nRFMeshProvision.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Pod::Spec.new do |s|
1111
s.name = 'nRFMeshProvision'
12-
s.version = '3.1.0'
12+
s.version = '3.1.1'
1313
s.summary = 'A Bluetooth Mesh library'
1414
s.description = <<-DESC
1515
nRF Mesh is a Bluetooth Mesh compliant library that has many features such as provisioning, configuration and control of Bluetooth Mesh compliant nodes.

nRFMeshProvision/Classes/Layers/Lower Transport Layer/SegmentedAccessMessage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ internal struct SegmentedAccessMessage: SegmentedMessage {
122122
self.sequenceZero = UInt16(pdu.sequence & 0x1FFF)
123123
self.segmentOffset = offset
124124

125-
let lowerBound = Int(offset * 12)
125+
let lowerBound = Int(offset) * 12
126126
let upperBound = min(pdu.transportPdu.count, Int(offset + 1) * 12)
127127
let segment = pdu.transportPdu.subdata(in: lowerBound..<upperBound)
128128
self.lastSegmentNumber = UInt8((pdu.transportPdu.count + 11) / 12) - 1

0 commit comments

Comments
 (0)