Skip to content

Commit

Permalink
Add DataSecure flag for group addresses (#306)
Browse files Browse the repository at this point in the history
* Update test project to include data secure GAs

* Add DataSecure flag for group addresses

* typo
  • Loading branch information
farmio authored Oct 16, 2023
1 parent 3cdefd5 commit c1e2be5
Show file tree
Hide file tree
Showing 12 changed files with 271 additions and 11 deletions.
6 changes: 5 additions & 1 deletion test/resources/stubs/ets6_free.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"created_by": "ETS6",
"schema_version": "22",
"tool_version": "6.1.5686.0",
"xknxproject_version": "3.2.0",
"xknxproject_version": "3.3.0",
"language_code": "de-DE"
},
"communication_objects": {},
Expand Down Expand Up @@ -53,6 +53,7 @@
"address": "3",
"project_uid": 16,
"dpt": null,
"data_secure": false,
"communication_object_ids": [],
"description": "",
"comment": ""
Expand All @@ -64,6 +65,7 @@
"address": "2",
"project_uid": 14,
"dpt": null,
"data_secure": false,
"communication_object_ids": [],
"description": "",
"comment": ""
Expand All @@ -75,6 +77,7 @@
"address": "1",
"project_uid": 12,
"dpt": null,
"data_secure": false,
"communication_object_ids": [],
"description": "",
"comment": ""
Expand All @@ -86,6 +89,7 @@
"address": "1025",
"project_uid": 21,
"dpt": null,
"data_secure": false,
"communication_object_ids": [],
"description": "",
"comment": ""
Expand Down
4 changes: 3 additions & 1 deletion test/resources/stubs/ets6_two_level.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"created_by": "ETS6",
"schema_version": "22",
"tool_version": "6.1.5686.0",
"xknxproject_version": "3.2.0",
"xknxproject_version": "3.3.0",
"language_code": "de-DE"
},
"communication_objects": {},
Expand Down Expand Up @@ -59,6 +59,7 @@
"address": "0/1",
"project_uid": 6,
"dpt": null,
"data_secure": false,
"communication_object_ids": [],
"description": "",
"comment": ""
Expand All @@ -70,6 +71,7 @@
"address": "1/1",
"project_uid": 8,
"dpt": null,
"data_secure": false,
"communication_object_ids": [],
"description": "",
"comment": ""
Expand Down
9 changes: 8 additions & 1 deletion test/resources/stubs/module-definition-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"created_by": "ETS5",
"schema_version": "20",
"tool_version": "5.7.1428.39779",
"xknxproject_version": "3.2.0",
"xknxproject_version": "3.3.0",
"language_code": "de-DE"
},
"communication_objects": {
Expand Down Expand Up @@ -246,6 +246,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.1/MD-2_M-1_MI-1_O-2-1_R-1"
],
Expand All @@ -262,6 +263,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.1/MD-2_M-1_MI-1_O-2-2_R-3"
],
Expand All @@ -278,6 +280,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.1/O-334_R-21"
],
Expand All @@ -294,6 +297,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.1/MD-2_M-2_MI-1_O-2-2_R-3"
],
Expand All @@ -310,6 +314,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.1/MD-2_M-2_MI-1_O-2-1_R-1"
],
Expand All @@ -326,6 +331,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.2/MD-2_M-1_MI-1_O-2-2_R-3"
],
Expand All @@ -342,6 +348,7 @@
"main": 9,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [
"1.1.1/MD-2_M-1_MI-1_O-2-2_R-3",
"1.1.1/MD-2_M-2_MI-1_O-2-2_R-3",
Expand Down
5 changes: 4 additions & 1 deletion test/resources/stubs/test_project-ets4.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"created_by": "ETS4",
"schema_version": "11",
"tool_version": "ETS 4.2.0 (Build 3884)",
"xknxproject_version": "3.2.0",
"xknxproject_version": "3.3.0",
"language_code": "de-DE"
},
"communication_objects": {
Expand Down Expand Up @@ -199,6 +199,7 @@
"main": 1,
"sub": null
},
"data_secure": false,
"communication_object_ids": [
"0.0.1/M-0083_A-0013-11-A9D6_O-0_R-10000",
"0.0.2/M-0002_A-A061-14-BE27_O-10_R-485"
Expand All @@ -216,6 +217,7 @@
"main": 1,
"sub": null
},
"data_secure": false,
"communication_object_ids": [
"0.0.1/M-0083_A-0013-11-A9D6_O-5_R-10005",
"0.0.2/M-0002_A-A061-14-BE27_O-71_R-1506"
Expand All @@ -233,6 +235,7 @@
"main": 1,
"sub": null
},
"data_secure": false,
"communication_object_ids": [
"0.0.1/M-0083_A-0013-11-A9D6_O-13_R-4",
"0.0.2/M-0002_A-A061-14-BE27_O-10_R-485"
Expand Down
4 changes: 3 additions & 1 deletion test/resources/stubs/testprojekt-ets6-functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"created_by": "ETS6",
"schema_version": "22",
"tool_version": "6.1.5686.0",
"xknxproject_version": "3.2.0",
"xknxproject_version": "3.3.0",
"language_code": "de-DE"
},
"communication_objects": {},
Expand Down Expand Up @@ -56,6 +56,7 @@
"main": 1,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [],
"description": "Livingroom LivingroomLight",
"comment": ""
Expand All @@ -70,6 +71,7 @@
"main": 1,
"sub": 1
},
"data_secure": false,
"communication_object_ids": [],
"description": "Livingroom LivingroomLight",
"comment": ""
Expand Down
Loading

0 comments on commit c1e2be5

Please sign in to comment.