Erel suggested that I use MQTT for the following:
I have a scale controller that posts the current weight on a com port.
The com port is connected to a serial to ethernet converter.
The ethernet converter is connected to an Access Point.
The ethernet converter is set to tcp (address and port) 10.31.199.3:10001
If you telnet through the AP to the converter (using address above), you see it broadcasting the current scale weight value every second (ie. 120000 or 0 - if nothing is on the truck scale).
Question: How do I code my B4A app to get this value (over wifi of course)? Using MQTT or any other simple method.
Since this is such a common task for many of you, I thought I would ask first before I take the wrong garden path trying to figure it out on my own (wasting as much time as humanly possible).
If this post does not produce results, I guess, I suppose, when all else fails, if I must -- I could always read the manual (tutorial on MQTT and learn it as our host strongly recommended).
Thanks for your expert input.
Harris
I have a scale controller that posts the current weight on a com port.
The com port is connected to a serial to ethernet converter.
The ethernet converter is connected to an Access Point.
The ethernet converter is set to tcp (address and port) 10.31.199.3:10001
If you telnet through the AP to the converter (using address above), you see it broadcasting the current scale weight value every second (ie. 120000 or 0 - if nothing is on the truck scale).
Question: How do I code my B4A app to get this value (over wifi of course)? Using MQTT or any other simple method.
Since this is such a common task for many of you, I thought I would ask first before I take the wrong garden path trying to figure it out on my own (wasting as much time as humanly possible).
If this post does not produce results, I guess, I suppose, when all else fails, if I must -- I could always read the manual (tutorial on MQTT and learn it as our host strongly recommended).
Thanks for your expert input.
Harris