@springfield/ham-radio-utils 4.4.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -375,6 +375,40 @@
|
|
|
375
375
|
"expect": {
|
|
376
376
|
"$ref": "#/definitions/expect"
|
|
377
377
|
},
|
|
378
|
+
"chunkSize": {
|
|
379
|
+
"type": "integer",
|
|
380
|
+
"description": "Override memoryConfig.chunkSize for this write (UV-5R clone writes 16-byte blocks)",
|
|
381
|
+
"minimum": 1
|
|
382
|
+
},
|
|
383
|
+
"delay": {
|
|
384
|
+
"type": "integer",
|
|
385
|
+
"description": "Milliseconds to wait after each accepted block (UV-5R clone waits 50ms)",
|
|
386
|
+
"minimum": 0
|
|
387
|
+
},
|
|
388
|
+
"skip": {
|
|
389
|
+
"type": "array",
|
|
390
|
+
"description": "Inclusive radio-address ranges that must not be uploaded",
|
|
391
|
+
"items": {
|
|
392
|
+
"type": "object",
|
|
393
|
+
"required": [
|
|
394
|
+
"startAddress",
|
|
395
|
+
"endAddress"
|
|
396
|
+
],
|
|
397
|
+
"additionalProperties": false,
|
|
398
|
+
"properties": {
|
|
399
|
+
"startAddress": {
|
|
400
|
+
"type": "integer",
|
|
401
|
+
"description": "Inclusive start address of a skipped range",
|
|
402
|
+
"minimum": 0
|
|
403
|
+
},
|
|
404
|
+
"endAddress": {
|
|
405
|
+
"type": "integer",
|
|
406
|
+
"description": "Inclusive end address of a skipped range",
|
|
407
|
+
"minimum": 0
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
378
412
|
"timeout": {
|
|
379
413
|
"type": "integer",
|
|
380
414
|
"description": "Timeout in milliseconds for each chunk exchange",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springfield/ham-radio-utils",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"author": "Bryan Hunt",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"readme": "README.md",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test:unit": "tsx --test test/unit/**/*.test.ts"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@springfield/ham-radio-api": "^17.
|
|
33
|
+
"@springfield/ham-radio-api": "^17.3.0",
|
|
34
34
|
"ajv": "^8.20.0",
|
|
35
35
|
"ajv-formats": "^3.0.1",
|
|
36
36
|
"fishery": "^2.4.0",
|
|
@@ -375,6 +375,40 @@
|
|
|
375
375
|
"expect": {
|
|
376
376
|
"$ref": "#/definitions/expect"
|
|
377
377
|
},
|
|
378
|
+
"chunkSize": {
|
|
379
|
+
"type": "integer",
|
|
380
|
+
"description": "Override memoryConfig.chunkSize for this write (UV-5R clone writes 16-byte blocks)",
|
|
381
|
+
"minimum": 1
|
|
382
|
+
},
|
|
383
|
+
"delay": {
|
|
384
|
+
"type": "integer",
|
|
385
|
+
"description": "Milliseconds to wait after each accepted block (UV-5R clone waits 50ms)",
|
|
386
|
+
"minimum": 0
|
|
387
|
+
},
|
|
388
|
+
"skip": {
|
|
389
|
+
"type": "array",
|
|
390
|
+
"description": "Inclusive radio-address ranges that must not be uploaded",
|
|
391
|
+
"items": {
|
|
392
|
+
"type": "object",
|
|
393
|
+
"required": [
|
|
394
|
+
"startAddress",
|
|
395
|
+
"endAddress"
|
|
396
|
+
],
|
|
397
|
+
"additionalProperties": false,
|
|
398
|
+
"properties": {
|
|
399
|
+
"startAddress": {
|
|
400
|
+
"type": "integer",
|
|
401
|
+
"description": "Inclusive start address of a skipped range",
|
|
402
|
+
"minimum": 0
|
|
403
|
+
},
|
|
404
|
+
"endAddress": {
|
|
405
|
+
"type": "integer",
|
|
406
|
+
"description": "Inclusive end address of a skipped range",
|
|
407
|
+
"minimum": 0
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
378
412
|
"timeout": {
|
|
379
413
|
"type": "integer",
|
|
380
414
|
"description": "Timeout in milliseconds for each chunk exchange",
|