mulieriq / MQTTClient_Flutter

MQTT Client Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT Connection Sample

Mobile's App is written by Flutter. Demonstrates how to use mqtt_client with Flutter.
Extends from https://github.com/shamblett/mqtt_client/tree/master/example/flutter

Getting Started

You can install packages mqtt_client from the command line: $ flutter packages get

Screenshots

Screenshots

Video

https://youtu.be/ZDa0UNjTGzw

You can setup a server through cloundmqtt or mosquitto for the testing. By default in code, information environment for testing is:

    String broker           = 'm15.cloudmqtt.com';
    int    port             = 14375;
    String username         = 'wbpwjaso';
    String passwd           = 'eO-kjpnhyvrI';
    String clientIdentifier = 'lamhx';

If it does not work, the service has stopped.


Hope doing well and happy testing!

About

MQTT Client Sample


Languages

Language:Dart 78.5%Language:Ruby 7.7%Language:C++ 5.8%Language:Objective-C 4.6%Language:Java 3.4%