Giter Club home page Giter Club logo

mqtt's Introduction

Chris Tacke

Embedded-ish Software Architect

I current work for:

Wilderness Labs as a...no idea what my title is. .NET for Embedded/IoT.

Solution Family as a Cofounder. We do industrial and process automation stuff.

I work on:

Embedded, IoT, robotics, industrial automation, telematics, space, basically anything where your .NET app needs to affect hardware or read telemetry.

Working on learning:

  • AI and ML to a better depth.

mqtt's People

Contributors

ctacke avatar mattyyttam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

valoni bdgit

mqtt's Issues

client disconnects on publish, after removing a subscription

Hi,
If I'm connected to a broker, then I remove a subscription and then I try to publish,
I get disconnected.

Is there a fix for this? am I missing something?
Thanks,

e.g.
` static void Main(string[] args)
{

        string sUser = "Username1";

        MQTTClient client = new MQTTClient("test.mosquitto.org", 1883);
        client.Connect(sUser);
        client.Subscriptions.Add("TEST", QoS.FireAndForget);
        client.Subscriptions.Add("REMOVE", QoS.FireAndForget);
        client.Disconnected += (x,y) => {
            Console.Write("**Disconnected**");
            Console.ReadLine();
        };

        Console.WriteLine("Press any key to Publish to 'test'");
        Console.ReadLine();
        client.Publish("TEST", "Hello World", QoS.FireAndForget, false);

        Console.WriteLine("Press any key to Remove the topic 'remove'");
        Console.ReadLine();
        client.Subscriptions.Remove("REMOVE");

        Console.WriteLine("Press any key to Publish to 'test' again");
        Console.ReadLine();
        client.Publish("TEST", "Hello World Again", QoS.FireAndForget, false);

        Console.ReadLine();

    }`

Add support for SSL

I am using this library and in need of SSL support. Is this being worked on? If implementing it will be fairly easy, I can look into it.

Hang on Disconnect()

I haven't dug into why, but calls to Disconnect() on a given client hang

The Disconnected event fires, but the function call doesn't actually return

Unsubscribe.cs passed wrong MessageType to base

In the base call of the construct of Unsubscribe.cs you're passing the MessageType.Subscribe as oppose to the MessageType.Unsubscribe.

This means that a client isn't successfully unsubscribing to a topic in the server.

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.