Giter Site home page Giter Site logo

mqtt-ios-sample's Introduction

mqtt-ios-sample

MQTT iOS Sample is an application that provides a user the ability to publish and subscribe to MQTT topics from their iOS device.

This project depends on the iOS MQTT Client library included in the IBM WebSphere Mobile Messaging and M2M Client Pack. Setup

After downloading the client pack from the link above, unzip it and go to SDK/clients/iOS/ and copy libiosMQTT.a and MqttOCClient.h into your XCode project. MQTT iOS Sample Folder

Once the files have been added to the project, ensure that they are included in the Library Search Paths and Header Search Paths properties of the project. These properties can be found by selecting the project in XCode and going to Build Settings. XCode Build Settings

Connect

The connect view specifies the connection options for connecting to the MQTT broker. The options include server, port, and CleanSession.

Publish

The publish view allows the user to send an MQTT message to a specified topic. The Quality of Service (QoS) and Retained flag can also be set on the message.

Subscribe

The subscribe view allows the user to subscribe to a specified MQTT topic filter. The QoS can also be set for the subscription.

Log

The log view displays information messages about the application. These messages include connecting and disconnecting, publishing, subscribing, and receiving messages.

If you have any comments or suggestions for improvements, please create an Issue or better yet submit a Pull Request. If you do submit a Pull Request please indicate in the Pull Request that you accept and agree to be bound by the terms of the IBM Contributor License Agreement that can be found in the CLA.md file in the repository.

mqtt-ios-sample's People

Contributors

robertmp avatar robert17 avatar john-colgrave avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.