Flink Sign can be controlled using simple ASCII command packets over Webservices.

Ex: [01W02,0,0,32,8,0,8,32,8,XX]

The Curl for Sending the window Settings using the SEROUT Action is,

curl "http://192.168.3.39/ws?K=KEY1&A=SEROUT&T=OK&O=2&D=%5B01W02%2C0%2C0%2C32%2C8%2C0%2C8%2C32%2C8%2CXX%5D"
You can also use the COMMAND action A=C to send just the command (without the SOP,EOP and CRC) over Webservices.

This is the Packet that you have to send using A=SEROUT. [01W02,0,0,64,16,0,16,64,16,XX]

    TTMMFFEESPSTAC
[01T01000301000001Test61]
		

You can use the Command Action and just send the content as follows.

Device:
curl "http://192.168.3.39/ws?K=KEY1&A=C&D=01W02,0,0,64,16,0,16,64,16,"

Simulator:
curl "http://localhost:8080/ws?K=KEY1&A=C&D=01W02,0,0,64,16,0,16,64,16,"
curl "http://localhost:8080/ws?K=KEY1&A=C&D=01T01000301000001Msg0"
curl "http://localhost:8080/ws?K=KEY1&A=C&D=01T01010301000001Msg1"



You can also get the command from the Web Console.


Node JS Example..

async function SendWindowDims() 
{
    const response = await fetch('http://127.0.0.1:8080/ws?K=KEY1&A=C&D=01W02,0,0,64,16,0,16,64,16,');
    const body = await response.text();
    console.log(body);
}
node_example_1.js
Python Example..

import requests

api_url = "http://localhost:8080/ws?K=KEY1&A=C&D=01W02,0,0,64,16,0,16,64,16,"
response = requests.get(api_url)
print(response.text)
python_example.py