MQTT-Client-Examples

MQTT Client Examples (by emqx)

MQTT-Client-Examples Alternatives

Similar projects and alternatives to MQTT-Client-Examples

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better MQTT-Client-Examples alternative or higher similarity.

MQTT-Client-Examples reviews and mentions

Posts with mentions or reviews of MQTT-Client-Examples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-20.
  • How to Use MQTT in The Django Project
    1 project | dev.to | 3 Nov 2022
    At this point, we have finished writing all the code, and the full code can be found at GitHub.
  • How to Use MQTT in PHP
    2 projects | dev.to | 20 Jun 2022
    require('vendor/autoload.php'); use \PhpMqtt\Client\MqttClient; use \PhpMqtt\Client\ConnectionSettings; $server = 'broker.emqx.io'; $port = 1883; $clientId = rand(5, 15); $username = 'emqx_user'; $password = null; $clean_session = false; $connectionSettings = new ConnectionSettings(); $connectionSettings ->setUsername($username) ->setPassword(null) ->setKeepAliveInterval(60) ->setLastWillTopic('emqx/test/last-will') ->setLastWillMessage('client disconnect') ->setLastWillQualityOfService(1); $mqtt = new MqttClient($server, $port, $clientId); $mqtt->connect($connectionSettings, $clean_session); printf("client connected\n"); $mqtt->subscribe('emqx/test', function ($topic, $message) { printf("Received message on topic [%s]: %s\n", $topic, $message); }, 0); for ($i = 0; $i< 10; $i++) { $payload = array( 'protocol' => 'tcp', 'date' => date('Y-m-d H:i:s'), 'url' => 'https://github.com/emqx/MQTT-Client-Examples' ); $mqtt->publish( // topic 'emqx/test', // payload json_encode($payload), // qos 0, // retain true ); printf("msg $i send\n"); sleep(1); } $mqtt->loop(true);
  • How to Use MQTT in Node.js
    3 projects | dev.to | 14 Jun 2022
    For the complete code of the project, please see: https://github.com/emqx/MQTT-Client-Examples/tree/master/mqtt-client-Node.js
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 29 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic MQTT-Client-Examples repo stats
3
732
7.0
2 months ago

emqx/MQTT-Client-Examples is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of MQTT-Client-Examples is Kotlin.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com