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
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
cLAN-MQ User Manual
Remote Serial Port over MQTT
49 / 73
Содержание cLAN-MQ Series
Страница 14: ...2020 11 19 cLAN MQ User Manual cLAN Configurator 13 73 ...
Страница 22: ...Analog inputs cLAN MQ User Manual Physical Inputs Outputs 21 73 ...
Страница 30: ...2020 09 28 cLAN MQ User Manual Features of power supply and inputs outputs 29 73 ...
Страница 59: ...2020 11 20 cLAN MQ User Manual Scripts Publish Subscribe 58 73 ...
Страница 66: ...2020 09 28 cLAN MQ User Manual cLAN2205 MQ 65 73 ...
Страница 69: ...2020 09 28 cLAN MQ User Manual cLAN3404 MQ 68 73 ...