setLEDUserControl.lua
[INDEX]

ABSTRACT

Enable/disable user control LEDs status

The encoder indicate LEDs status by default behavior, but you can control them if necessary.

If you want to control them, you must enable the 'user control' behavior first, by this API.After enabled, you can call ledControl.lua to control them. To restore default behavior, please disable the 'user control'.

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

Enable
INTEGER

1 means enabled, and 0 means disabled.

Test value:

RETURNS

Return a JSON style result. The JSON format is:

{
/*OBJECT*/

"Result":
NUMBER

200 means OK, other error code meanings are similar to HTTP Response.

"Status":
"STRING"

Status message. Responsing result status of API executive, if there errors, it will describe reasons.

}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0