Please refer to the TTP Overview section for more details on the controlling Tesira devices using the TTP protocol.
Each element of the command instruction is delimited by one or more spaces. The commands are case sensitive and upper and lower case characters are used.
The TTP string to adjust a DSP object attribute is structured in the following order:
Instance_Tag Command Attribute [Index] [Value] LF
Instance Tag | Command | Attribute Code | Index |
CommandString1 | get | command | 1 |
Example |
CommandString1 get command 1 +OK "value":"my test string" |
Example - Set Command ID and String |
CommandString1 set labelCommand 1 {"label":"Hello" "command":"World"} CommandString1 set labelCommand1 ["Hello" "World"] |
Reason Code
|
Attribute Code |
Command |
Indexes |
Value Range |
Command String | command | get / set | channel | |
Command ID | label | get / set | channel | |
Command ID & String | labelCommand | get / set | channel | Set Supports the following format: {"label":"Hello" "command":"World"} ["Hello" "World"] |
Network Config | networkConfig | get | ||
Serial Config | serialConfig | get | ||
Command Status | status | get subscribe unsubscribe |