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-09-15 19:06:21 +02:00
|
|
|
"default": 1000000,
|
|
|
|
"propertyOrder" : 2
|
2016-08-30 23:25:27 +02:00
|
|
|
},
|
2016-12-04 19:32:23 +01:00
|
|
|
"latchtime": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_dev_spec_latchtime_title",
|
|
|
|
"default": 500000,
|
|
|
|
"append" : "ns",
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
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,
|
2016-12-01 10:00:52 +01:00
|
|
|
"propertyOrder" : 4
|
2017-04-09 22:28:32 +02:00
|
|
|
},
|
|
|
|
"latchTime": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_dev_spec_latchtime_title",
|
|
|
|
"default": 1,
|
|
|
|
"append" : "edt_append_ms",
|
|
|
|
"minimum": 1,
|
|
|
|
"maximum": 1000,
|
|
|
|
"access" : "expert",
|
|
|
|
"propertyOrder" : 5
|
2016-08-30 23:25:27 +02:00
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|