Dear Teltonika Community,
I am very new here.
ChatGPT - Gemini and Grok could not help me anymore so trying my luck here.
I am trying to connect a Scarlet WindPro sensor to my Teltonika gateway (TRB256/RUT955). The goal is to send a start command to the sensor and then read the continuous data stream over the network.
The connection works perfectly when using a computer with terminal software (like CoolTerm). The key to success is sending the command in “Line Mode,” which ensures the correct CR+LF termination.
The problem arises on the Teltonika gateway. When I configure ‘Serial over IP’ (in TCP Server mode), I am unable to send the start command. It appears this mode can only receive data from the RS232 port, but cannot transmit data to it.
Important test: If I first start the sensor with my computer and then connect it to the Teltonika gateway (while it is already sending data), the data is correctly received through the ‘Serial over IP’ connection. This proves that receiving data works, but transmitting the initial command does not.
My question is: How can I configure the gateway to transmit an initial ASCII string (like QINFO-START with a CR+LF) to the RS232 port, in order to then receive the data stream? Is there a script (Lua, shell) or another mode that supports this initial two-way communication?
Thank you for your help.