diff options
author | Tobias Jahnke <tjahnk@users.noreply.github.com> | 2017-07-31 15:46:42 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-01 11:47:14 +0200 |
commit | 1fd01df28fc2a2b0ea64f8fd569fe5f5f2d0471e (patch) | |
tree | 186ae2c0bbe278e858c0c0e073429a541791254a /ucs2-afb/ucs_apidef.h | |
parent | 05e055b854e46a7bbd60b4c249ff267a000b9258 (diff) |
adds processing of data to i2c_write
Diffstat (limited to 'ucs2-afb/ucs_apidef.h')
-rw-r--r-- | ucs2-afb/ucs_apidef.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ucs2-afb/ucs_apidef.h b/ucs2-afb/ucs_apidef.h index 140b96a..f1b0c13 100644 --- a/ucs2-afb/ucs_apidef.h +++ b/ucs2-afb/ucs_apidef.h @@ -43,9 +43,11 @@ static const char _afb_description_v2_UNICENS[] = "f\":\"#/components/responses/200\"}}}},\"/write_i2c\":{\"description\":\"" "Writes I2C command to remote node.\",\"get\":{\"x-permissions\":{\"$ref\"" ":\"#/components/x-permissions/monitor\"},\"parameters\":[{\"in\":\"query" - "\",\"name\":\"command\",\"required\":true,\"schema\":{\"node\":\"integer" - "\"}}],\"responses\":{\"200\":{\"$ref\":\"#/components/responses/200\"}}}" - "}}}" + "\",\"name\":\"node_address\",\"required\":true,\"schema\":{\"type\":\"in" + "teger\",\"format\":\"int32\"}},{\"in\":\"query\",\"name\":\"i2c_data\",\"" + "required\":true,\"schema\":{\"type\":\"array\",\"format\":\"int32\"},\"s" + "tyle\":\"simple\"}],\"responses\":{\"200\":{\"$ref\":\"#/components/resp" + "onses/200\"}}}}}}" ; static const struct afb_auth _afb_auths_v2_UNICENS[] = { |