aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.json
diff options
context:
space:
mode:
authorTobias Jahnke <tjahnk@users.noreply.github.com>2017-07-31 15:46:42 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-08-01 11:47:14 +0200
commit1fd01df28fc2a2b0ea64f8fd569fe5f5f2d0471e (patch)
tree186ae2c0bbe278e858c0c0e073429a541791254a /ucs2-afb/ucs_apidef.json
parent05e055b854e46a7bbd60b4c249ff267a000b9258 (diff)
adds processing of data to i2c_write
Diffstat (limited to 'ucs2-afb/ucs_apidef.json')
-rw-r--r--ucs2-afb/ucs_apidef.json17
1 files changed, 15 insertions, 2 deletions
diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json
index 2b9714b..2d9001f 100644
--- a/ucs2-afb/ucs_apidef.json
+++ b/ucs2-afb/ucs_apidef.json
@@ -179,9 +179,22 @@
"parameters": [
{
"in": "query",
- "name": "command",
+ "name": "node_address",
"required": true,
- "schema": { "node": "integer" }
+ "schema": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ {
+ "in": "query",
+ "name": "i2c_data",
+ "required": true,
+ "schema": {
+ "type": "array",
+ "format": "int32"
+ },
+ "style": "simple"
}
],
"responses": {