User Tools

Site Tools


http_api |

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
http_api [2025/01/07 17:00]
cflintiii [user_add]
http_api [2025/01/07 18:17] (current)
cflintiii [UpdateTerm]
Line 20571: Line 20571:
  
 //​**data**// ​ Parse the JSON formatted data and retrieve the PTZ tour spots values. //​**data**// ​ Parse the JSON formatted data and retrieve the PTZ tour spots values.
-== Returns: == 
- 
----- 
- 
-JSON formatted table with values below 
- 
-**//​ret//​** ​ Custom return code of the HTTP POST request. 0 on success, 1 on failure. 
- 
-**//​status//​** ​ String describing the failure when **ret** is 1. "​OK"​ on success. 
- 
----- 
- 
-==== UpdateTerm ==== 
- 
----- 
- 
-Control serial port terminal server for VISCA 
- 
-== Parameters: == 
- 
----- 
- 
-//​**data**// ​ Parse the JSON formatted data and retrieve the terminal server values. 
- 
-//​**term_mode**// ​ Possible values: client, server 
- 
-//​**term_protocol**// ​ Possible values: clearchannel,​ telnet 
- 
-//​**term_localport**// ​ Local TCP port (for server mode) 
- 
-//​**term_servaddr**// ​ Remote IP address (for client mode only) 
- 
-//​**term_servport**// ​ Remote TCP port (for client mode only) 
- 
-//​**term_data_bits**// ​ number of data bits. 
- 
-//​**term_parity**// ​ Possible values: None, Odd, Even, Mark, Space 
- 
-//​**term_stop_bits**// ​ Stop bits sent at the end of every character. 
- 
-//​**term_baudrate**// ​ Possible values: 9600, 19200, 38400, 57600, 115200 
- 
-//​**term_devicefile**// ​ device fine name 
- 
-//​**term_function**// ​ functionality 
 == Returns: == == Returns: ==
  
http_api.1736269218.txt.gz ยท Last modified: 2025/01/07 17:00 by cflintiii