Skip to content

Commit 8cf3ed8

Browse files
committed
0.0.23
1 parent 758f41b commit 8cf3ed8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file.
2525
* For updating ZUNO, an additional attempt to write data has been added.
2626
* Updated zuno detection method to support new mac axis curvature
2727
* Fixed uuid comparison when validating the received license.
28+
* Fixed output of hex strings, and in particular incorrect display of chip UUID, which occurred due to truncation of zeros.
2829

2930
## Version 00.00.11
3031
- *Release date:* 21.08.2024

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serial-api-web-tools",
3-
"version": "0.0.22",
3+
"version": "0.0.23",
44
"description": "This set tools allows to configure Z-Wave.Me hardware",
55
"main": "src/main.ts",
66
"scripts": {

src/other/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function arrayToStringHex(data:Array<number>|Uint8Array):string {
3232
str_hex = "";
3333
i = 0x0;
3434
while (i < data.length) {
35-
str_hex = str_hex + data[i].toString(0x10);
35+
str_hex = str_hex + data[i].toString(0x10).padStart(2, '0');
3636
i++;
3737
}
3838
return (str_hex);

0 commit comments

Comments
 (0)