Remote serial port using MQTT

This procedure will allow you to send and receive data to and from the serial port (RS232/RS485) using publish and subscribe.

You must configure the serial ports publish and subscribe topics and the format the payload will have

pantallaSerie

pantallaSerie

Payload format

%b Binary data as received. No data is filtered nor codified
%s Non printable ASCII values are filtered out. ASCII < 32 and ASCII >126
%h  String HEX ASCII

Note. If the serial port is configured in script mode publish/subscribed data can still be access using read_str 25 and write_str 25  from the script

2020-11-20