Skip to content

Commit

Permalink
fix: Add min/max for some adapter options (#23503)
Browse files Browse the repository at this point in the history
* fix: Add min/max for some adapter options

* update
  • Loading branch information
Koenkk committed Aug 4, 2024
1 parent 2cb8a8f commit 5b610af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/util/settings.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,16 @@
"title": "Adapter concurrency",
"requiresRestart": true,
"type": ["number", "null"],
"minimum": 1,
"maximum": 64,
"description": "Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)"
},
"adapter_delay": {
"type": ["number", "null"],
"requiresRestart": true,
"title": "Adapter delay",
"minimum": 0,
"maximum": 1000,
"description": "Adapter delay"
},
"cache_state": {
Expand Down Expand Up @@ -711,6 +715,8 @@
"type": ["number", "null"],
"title": "Transmit power",
"requiresRestart": true,
"minimum": -128,
"maximum": 127,
"description": "Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)"
},
"output": {
Expand Down

0 comments on commit 5b610af

Please sign in to comment.