You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/docs/overview.md
+24-44Lines changed: 24 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,39 +37,33 @@ The buttons in this section let you load Matter cluster XML files and save them.
37
37
38
38
### XML Cluster Extension File
39
39
40
-
This tab includes the **Save extension to file** button, which checks the difference between the current filled-in values and the loaded cluster and saves the difference to an XML file.
40
+
This section includes the **Save extension to file** button, which checks the difference between the current filled-in values and the loaded cluster and saves the difference to an XML file.
41
41
42
42
The {{app_name}} automatically compares your current cluster with the originally loaded cluster and saves only the differences as an extension file. This means the following:
43
43
44
44
- Only newly added elements are included in the extension.
45
45
- Modified elements are included with their new values.
46
46
- Unchanged elements are not included in the extension.
47
47
48
-
If there is no difference, the tool shows a notification indicating that there is no data to create a cluster extension, as in the following figure:
49
-
50
-

48
+
If there is no difference, the tool shows a notification indicating that there is no data to create a cluster extension.
51
49
52
50
### Utility
53
51
54
-
This tab includes utilities mechanism that you can use to manipulate edited data.
This section includes buttons that you can use to manipulate edited data.
61
53
62
-
Use this button to wipe all data stored in the current window and reset the application to its initial state. This operation cannot be undone, so the following message appears:
|**Clear all**| Wipes all data stored in the current window and resets the application to its initial state.<br/><br/>**Note:** This operation cannot be undone. |
65
59
66
60
### Loaded file
67
61
68
-
This tab shows a name of the currently loaded file.
62
+
This section shows the name of the currently loaded file.
69
63
70
64
### Elements in the file
71
65
72
-
If an XML file contains multiple device types, clusters, or cluster extensions, all correctly recognized elements will appear in this section.
66
+
This section displays all correctly recognized elements in the currently loaded XML file (multiple device types, clusters, or cluster extensions).
73
67
74
68
Depending on the contents of the loaded file, this section can display up to three separate lists:
75
69
@@ -78,16 +72,14 @@ Depending on the contents of the loaded file, this section can display up to thr
|**Clusters**| This list displays all clusters found in the file. |
81
-
|**Device Types**| This list displays all device types found in the file.|
75
+
|**Device Types**| This list displays all device types found in the file.<br/><br/>|
82
76
|**Extensions**| This list displays all cluster extensions found in the file. |
83
77
84
-
For example, if the file contains multiple device types, you can see a similar list to the following one:
78
+
Click an item in one of the lists to open and edit it in the main window. You can edit only one cluster or cluster extension in the main window at a time.
Click an item in one of the lists to open and edit it in the main window.
89
-
Please note: You can only edit one cluster or cluster extension in the main window at a time.
90
-
If you want to make changes to a different item, simply select it from the list, your changes will be preserved and you can switch between items freely.
80
+
!!! info "Tip"
81
+
If you want to make changes to a different item, select it from the list.
82
+
Changes you have made to the current item are preserved, and you can switch between items freely.
91
83
92
84
## Main window
93
85
@@ -222,7 +214,7 @@ When you click this button, the edit box dialog appears.
222
214
|**Code**| A text input field for the attribute code. | Yes |
223
215
|**Define**| A text input field for the attribute definition. | Yes |
224
216
|**Type**| A combined text input and drop-down field for selecting the data type. | Yes |
225
-
|**Length**| A text input field for the attribute. length.| No |
217
+
|**Length**| A text input field for the attribute length. | No |
226
218
|**Min**| A text input field for the minimum value of the attribute. Only valid for the numeric data types. | No |
227
219
|**Max**| A text input field for the maximum value of the attribute. Must be higher than **Min**. Only valid for the numeric data types. | No |
228
220
|**Default**| A text input field for the default value of the attribute. Must be the same as **Type**. | No |
@@ -337,8 +329,8 @@ You can edit the following fields of the items entry.
337
329
|**Field Id**| A text input field for the numeric identifier of the item. The identifier must be unique within the structure. | Yes |
338
330
|**Name**| A text input field for the item name. The name must be unique within the structure. | Yes |
339
331
|**Type**| A combined text input and drop-down field for selecting the data type of the item. The data type list is populated from the Matter Data Model template. | Yes |
340
-
|**Length**| Length of the item in bytes. Applies only to the `array`data type. Must be higher than **Min Length**. | No |
341
-
|**Min Length**| Minimum allowed length of the item in bytes. Applies only to the `array`data type. | No |
332
+
|**Length**| Length of the item in bytes. Applies only to the `array`, and `composite`data type. Must be higher than 0 and**Min Length**. | No |
333
+
|**Min Length**| Minimum allowed length of the item in bytes. Applies only to the `array`, and `composite`data type. Must be higher than 0. | No |
342
334
|**Min**| The minimum allowed value of the item. Applies only to the numeric data types. The minimum value must be smaller than **Max** value and must fit in the numeric type bounds. | No |
343
335
|**Max**| The maximum allowed value of the item. Applies only to the numeric data types. The maximum value must be greater than **Min** value and must fit in the numeric type bounds. | No |
344
336
|**Is Nullable**| Toggle button to define whether the item can be null (toggle enabled) or not (toggle disabled). | No |
@@ -550,29 +542,17 @@ Given that the {{app_name}} does not interact with any devices, it does not use
550
542
551
543
## Notifications
552
544
553
-
The tool validates that all required fields are filled before saving. If required fields are not filled, you will see an error message when trying to save the element:
545
+
The tool validates that all required fields are filled before saving.
This can lead to different types of notifications, for example asking you to fill in the required fields or setting the required values.
556
548
557
-
If there are no differences between the current cluster and the loaded cluster, the tool shows a message indicating no data to create an extension:
558
-
559
-

560
-
561
-
If the loaded XML file does have elements that have not defined all mandatory fields, the tool show a message indicating all of them to inform user that the missing values were replaced with the default values:
If you choose one of the numerical types, then the **Max** value must be bigger thatn **Min** value. If the condition is not met, the following message appears:
577
-
578
-

555
+
| Option | Description |
556
+
|--------|-------------|
557
+
|**Save only the currently selected device type**| Saves only the current device type or cluster (or both). |
558
+
|**Save all data from original file with your edits**| Saves all loaded data with all modifications that you provided. |
0 commit comments