2016-08-23 20:07:12 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
2016-08-30 23:25:27 +02:00
|
|
|
"output": {
|
|
|
|
"type": "string",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_spipath_title",
|
2016-09-15 19:06:21 +02:00
|
|
|
"enum" : ["/dev/spidev0.0","/dev/spidev0.1"],
|
|
|
|
"propertyOrder" : 1
|
2016-08-30 23:25:27 +02:00
|
|
|
},
|
|
|
|
"rate": {
|
|
|
|
"type": "integer",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_baudrate_title",
|
2016-12-01 16:16:59 +01:00
|
|
|
"default": 3000000,
|
2016-09-15 19:06:21 +02:00
|
|
|
"propertyOrder" : 2
|
2016-08-30 23:25:27 +02:00
|
|
|
},
|
|
|
|
"invert": {
|
|
|
|
"type": "boolean",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_invert_title",
|
2016-09-15 19:06:21 +02:00
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 3
|
2016-12-01 16:16:59 +01:00
|
|
|
},
|
|
|
|
"whiteAlgorithm": {
|
|
|
|
"type": "string",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_whiteLedAlgor_title",
|
2016-12-01 16:16:59 +01:00
|
|
|
"enum" : ["subtract_minimum","sub_min_warm_adjust","white_off"],
|
|
|
|
"default": "subtract_minimum",
|
2017-01-17 21:53:35 +01:00
|
|
|
"options" : {
|
|
|
|
"enum_titles" : ["edt_dev_enum_subtract_minimum", "edt_dev_enum_sub_min_warm_adjust", "edt_dev_enum_white_off"]
|
|
|
|
},
|
2016-12-01 16:16:59 +01:00
|
|
|
"propertyOrder" : 4
|
2016-08-30 23:25:27 +02:00
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|