I am trying to integrate the information of a new peripheral into Mango. The way of working of this peripheral is as follows: You are listening on port 9000, when an external software (in my case it would be Mango) establishes a socket on that port, it starts to send you information periodically (without receiving any command for it).
In order to integrate it I have tried 2 different ways:
1.- Creating a Virtual Serial Port, configured as a Serial Client, pointing to the IP and the port of the new peripheral. Next I have created a Serial Data Source that uses the Virtual Serial Port created, and a data Point to collect the information. The result is that the socket between Mango and the new peripheral is perfectly established, and I see that the new peripheral sends the information through said socket (with Wireshark I monitor the exchange of frames). But it seems that Mango does not read this information, in my log I / O the information that arrives from the peripheral does not appear and that I see in wireshark.
2.- Directly creating a TcpIP Data Source pointing to the IP and the port of the new peripheral, and a data point to collect the information. In this case I see that the communication socket is also established without problems, but the only way for Mango to collect the information that arrives from the socket is to mark the data point as "Queryable". In that case he periodically sends the information in the "Read Command" field, and in that case it seems that if he hears the information back from the socket and updates the Data Point, but I don't need to send anything, just listen.
Is it possible to do this?