Question

How to make an IOS app as mqtt client.

I have configured mqtt broker (mosquitto) on my ubuntu 14.04 server (which is my AWS EC2 instance). I have a simple IOS app on my phone. Can I make the app as my mqtt client and pub/sub the topics etc., If so, how do I do it.

All I want to do, is establish the connection between mqtt broker and the app.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This site has a few examples with code for creating an iOS client for Mosquitto, and should help you get your connection started