cbrx_connection_setdictionary
List all writeable value keys and command keys for the hub specified by Connection Handles.
Syntax: see API Call Structure
{ "method": "cbrx_connection_setdictionary", "params": [connection-handle] } |
connection-handle is the Connection Handles as an integer
Returns:
{ "result": [dictionary] } |
dictionaryis an array of strings containing the names of the writeable keys and command keys for the device. Please see Set Dictionary section.
Errors
If there is an error in the API method then a JSON-RPC Error Object will be returned.
Examples
Example JSON-RPC request:
{
"jsonrpc": "2.0",
"id": 0,
"method": "cbrx_connection_setdictionary",
"params": [
7654
]
}
Example successful response:
{ "jsonrpc": "2.0", "id": 0, "result": [dictionary] } |
For dictionaryplease see Set Dictionary section