-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature : epoch protocol v2 and Nordic SDK upgrade (#221)
* Added the scenario protocol v2 API for Android * implement DoozEpochSet on iOS * add missing arguments in DoozEpochSetArguments and missin case in EventSinkKeys * [DoozMeshManagerApi+MeshNetworkDelegate] fix typo in DoozEpochStatus * pull latest ios lib changes * pull ios lib changes * fix some warning + tzData type * fix class name in GenericLevelServerDelegate * (un)pack bits on Dart side * add some logs and fix doozepochstatus constructor call in GenericLevelServerDelegate.swift * pull android sdk latest change * rename tId to tid * fix Constants.swift * DoozEpochSet : extra param is of type UInt16? instead UInt8? * fetch ADK v3.1.7 and last change from ios * update CHANGELOG.md and `MeshManagerApi.doozScenarioSet` throws UnimplementedError for now * pull master branch for submodules
- Loading branch information
R0m4in-dooz
authored
Feb 16, 2022
1 parent
1b7eea3
commit 5027187
Showing
27 changed files
with
1,209 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[submodule "Android-nRF-Mesh-Library-1"] | ||
path = Android-nRF-Mesh-Library-1 | ||
url = https://github.com/OZEO-DOOZ/Android-nRF-Mesh-Library-1.git | ||
branch = master | ||
[submodule "IOS-nRF-Mesh-Library"] | ||
path = IOS-nRF-Mesh-Library | ||
url = https://github.com/OZEO-DOOZ/IOS-nRF-Mesh-Library.git |
Submodule Android-nRF-Mesh-Library-1
updated
181 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule IOS-nRF-Mesh-Library
updated
23 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
ios/Classes/DoozMeshManagerApi/Channels/Arguments/DoozEpochSetArguments.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// DoozEpochSetArguments.swift | ||
// nordic_nrf_mesh | ||
// | ||
// Created by OZEO DOOZ on 11/02/2022. | ||
// | ||
|
||
import Foundation | ||
|
||
struct DoozEpochSetArguments: BaseFlutterArguments { | ||
let address: Int | ||
let keyIndex: Int | ||
let packed: UInt16 | ||
let epoch: UInt32 | ||
let correlation: UInt32 | ||
let extra: UInt16? | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
lib/src/events/data/dooz_epoch_status/dooz_epoch_status.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
part 'dooz_epoch_status.freezed.dart'; | ||
part 'dooz_epoch_status.g.dart'; | ||
|
||
@freezed | ||
class DoozEpochStatusData with _$DoozEpochStatusData { | ||
const factory DoozEpochStatusData( | ||
int tzData, | ||
int command, | ||
int io, | ||
int unused, | ||
int epoch, | ||
int correlation, | ||
int extra, | ||
int source, | ||
int destination, | ||
) = _DoozEpochStatusData; | ||
|
||
factory DoozEpochStatusData.fromJson(Map<String, dynamic> json) => _$DoozEpochStatusDataFromJson(json); | ||
} |
Oops, something went wrong.