@@ -70,7 +70,7 @@ port configuration, and which parameters are available to the user.
70
70
"baudrate" : {
71
71
"label" : " Baudrate" ,
72
72
"type" : " enum" ,
73
- "values " : [
73
+ "value " : [
74
74
" 300" , " 600" , " 750" , " 1200" , " 2400" , " 4800" , " 9600" ,
75
75
" 19200" , " 38400" , " 57600" , " 115200" , " 230400" , " 460800" ,
76
76
" 500000" , " 921600" , " 1000000" , " 2000000"
@@ -80,19 +80,19 @@ port configuration, and which parameters are available to the user.
80
80
"parity" : {
81
81
"label" : " Parity" ,
82
82
"type" : " enum" ,
83
- "values " : [ " N" , " E" , " O" , " M" , " S" ],
83
+ "value " : [ " N" , " E" , " O" , " M" , " S" ],
84
84
"selected" : " N"
85
85
},
86
86
"bits" : {
87
87
"label" : " Data bits" ,
88
88
"type" : " enum" ,
89
- "values " : [ " 5" , " 6" , " 7" , " 8" , " 9" ],
89
+ "value " : [ " 5" , " 6" , " 7" , " 8" , " 9" ],
90
90
"selected" : " 8"
91
91
},
92
92
"stop_bits" : {
93
93
"label" : " Stop bits" ,
94
94
"type" : " enum" ,
95
- "values " : [ " 1" , " 1.5" , " 2" ],
95
+ "value " : [ " 1" , " 1.5" , " 2" ],
96
96
"selected" : " 1"
97
97
}
98
98
}
@@ -111,7 +111,7 @@ types may be added in the future if needed), and the `selected` value for each p
111
111
The parameter name can not contain spaces, the allowed characters are alphanumerics, underscore ` _ ` , dot ` . ` , and dash
112
112
` - ` .
113
113
114
- The ` enum ` types must have a list of possible ` values ` .
114
+ The ` enum ` types must have a list of possible values in the ` value ` list field .
115
115
116
116
The client/IDE may expose these configuration values to the user via a config file or a GUI, in this case the ` label `
117
117
field may be used for a user readable description of the parameter.
0 commit comments