<< Click to Display Table of Contents >> Navigation: The API > Simple API > Commands to Gateway > set; |
Overview
The ‘set’ command is responsible for the ‘end of lines’ settings and for special values’ visibility.
•set;eol customizes the end of line outputs
For end of line character or expression anything could be used. It could be a simple semicolon ‘;’, empty character or string expression like ‘end’. Please note that you have to explicitly define \r\n if you want a line separator in standard DOS-format (Carriage return LineFeed). This is the setting by default.
•set;visible customizes field visibilities like ’friendlyID’, ‘valueKey’, ‘unit’ or ‘meaning’
User Command/Request |
set;eol=; set;visible=friendlyID set;visible=unit set;visible=meaning |
Gateway Response Example |
result;code=1000;value=OK result;code=2005;value=invalid data |
Response formatting
String |
Meaning |
Examples |
result |
Result of the command by the Gateway |
result |
code |
Error/success code of the command |
1000 2005 |
value |
String expression of the Error/success code |
OK invalid data |