Coder Social home page Coder Social logo

lc-mosquitto's Introduction

#lc-mosquitto

A LiveCode Builder wrapper around libmosquitto. This project was created for the LiveCode Builder Foreign Function Interface Workshop at the LiveCode 2019 conference in San Jose, California.

Mosquitto Information

https://mosquitto.org

API docs: https://mosquitto.org/api/files/mosquitto-h.html

Testing

To test this project in LiveCode:

  1. Open the Extension Builder from the Tools menu.
  2. Load the mosquitto.lcb file and load it into the IDE. This article shows where the button is for testing an LCB file: http://lessons.livecode.com/m/4071/l/1035188-how-to-use-the-extension-builder
  3. Open the mostquitto_test.livecode stack in the IDE.
  4. Click the Check libMosquitto Version button to verify that the mosquitto extension has been properly loaded.
  5. Click Initialize
  6. Click Connect
  7. Click Subscribe
  8. Enter a message in the field next to the Publish button and then click Publish. You should see the message appear in the field to the right.
  9. Get a friend to do the same thing and you can send messages to each other.
  10. When you are done click the Cleanup button. LiveCode will crash if you quit without cleaning up after the mosquitto extension.

lc-mosquitto's People

Contributors

trevordevore avatar

Watchers

 avatar  avatar  avatar  avatar

lc-mosquitto's Issues

No username or password listed for testing purposes

Trevore,

You added username and password but neglected to write any instructions on use nor gave the default username and password for testing.

It looks like you change the port to 8883 but what is the username and password?

Thanks.

Mike

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.