5276 questions

6429 answers

10373 comments

6439 members

0 votes
147 views 0 comments
by
Hello,

we are considering using the RUT955 for a high-frequency monitoring application. The sensor we want to monitor is a device that continuously sends 10Hz data through RS232 as plain text, it does not have Modbus or similar interfaces. It should be easy to implement a small shell script that reads this data, sends it to a MQTT broker, and stores a text backup in the internal microSD card, as long as the router allows hardware access for the scripts. Also, we hope to be able to access the GPS position from scripts. ¿Is this kind of access possible?

Thanks.

1 Answer

0 votes
by

Hello,

You can read incoming data to RS232, by executing the command: cat /dev/rs232

And for GPS you can run the command: cat /dev/gps