7855 questions

9275 answers

14928 comments

12723 members

0 votes
69 views 3 comments
by
I'm trying to publish to a mqtt broker and wanted to use the mqtt_pub that is in /usr/sbin/ but it gets stuck on "Executing 'mnf_info sn'". What does that mean and how can I fix it?

1 Answer

+1 vote
by
Hello,

Thank you for contacting .

May i know what are you trying to publish?

For publishing data through CLI here is a guide:

https://wiki.teltonika-networks.com/view/Monitoring_via_MQTT#Publisher

I hope it helps.

Thanks.

Regards,

Ahmed
Best answer
by
Thank you for the answer.

Essentially I want to publish any incoming data from the RS232, either directly from it to a broker or by reading the rs232 file in /dev/ by using "cat rs232" and publishing the output.
by
Hello,

I have shated our mqtt publisher usage information in your DM , you can build using this information or you can either use third party packages from opkg such as misquitto-client

For installing the packages go to CLI:

login:root

Password : same as you set

now run following commands:

opkg update

opkg install mosquitto-client

Now its upto you how you will approach rs232 information.

Thanks.
by
This worked perfectly, thank you very much!