Mqtt client required in C language for open wrt

Hi,

How to install mqtt client using C language for publisher and subscriber in openwrt 18.06.

The same way any other program using C language is installed in OpenWrt 18.06.

But I am getting error in make
And not able to install cmake command

I guess that posting exactly what are you doing and what results are you obtained is asking too much...

Look at mosquitto client (available as a package), or the Paho C or C++ libraries.

Building on an OpenWrt box is usually an exercise in futility. Building within the OpenWrt build system is the recommended approach.

1 Like

Is the mosquitto client support C language publish and subscribe for mqtt?

With or without TLS support, yes

1 Like

Thanks for your update Jeff,
Will check and get back to you

Thanks jeff its working fine.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.