March 2021
19
IDS NXT: REST interface
7 GPIO
·
·
·
·
·
7.1 /gpio
·
OPTIONS
{
"Objects": [
"inputs",
"outputs"
]
}
7.2 /gpio/inputs
·
OPTIONS
{
"Objects": [
"in1",
"in2"
]
}
Comments
Objects are available pins, thus currently in1 or in2
7.3 /gpio/inputs/<pin>
·
OPTIONS
·
GET
·
PATCH
{
"GET": {
"application/json": {
"Description": "Receive status information.",
"Values": {
"Inverter": {
"Description": "Enabled additional inverter. If true, 0V input means
on-level",
"Type": "Boolean"
},
"Level": {
"Description": "Logic-Level, note that true hardware level depends on
Invert",
"Type": "Boolean"
},