Here How we can create MQTT topic for modbus-RTU to MQTT convertion data mapping ?
->In Modbus-RTU :- Slave id, slave_type :- a)RTU b)TCP , Reg type, Reg addr, Data type and Reg name
->Under MQTT :- Topic, Payload, QOS, Retain, publish immdiately, publish condition, Threshold value and Mode
How to map these parameters and create MQTT topic and payload data ?
After that we can send this converted data like in json format, we can send to the cloud
Please if anyone know about this MQTT topic and payload creation , help me to do this task
Thanks in advance
->In Modbus-RTU :- Slave id, slave_type :- a)RTU b)TCP , Reg type, Reg addr, Data type and Reg name
->Under MQTT :- Topic, Payload, QOS, Retain, publish immdiately, publish condition, Threshold value and Mode
How to map these parameters and create MQTT topic and payload data ?
After that we can send this converted data like in json format, we can send to the cloud
Please if anyone know about this MQTT topic and payload creation , help me to do this task
Thanks in advance
