Comments (1)
Hello, yes the idea is to complete the implementation, though currently only a few details are missing, which are not 100% necessary. For example MQTT5 client topic aliases, but the client will work simply by sending the full topics in the PUBLISH messages.
You can check the connackReceived
attribute to see if the client has connected. Also on disconnection you are going to get an exception in step()
or run()
. For now the client doesn't support reconnection so you need to reinstantiate it. I'm open to suggestions on the current API design to make it easier to integrate in various projects, for example adding more callbacks like you asked.
from kmqtt.
Related Issues (20)
- Can we use it in Android App as a background process? HOT 1
- Suggestions HOT 7
- Can we compile this code for android and iOS ? HOT 1
- HTTP header matching should be case insensitive to support more clients HOT 2
- Kotlin native could not find "openssl" HOT 8
- Can't download iOS dependencies (KMM) HOT 19
- Can't use client library for macos arm 64 HOT 4
- Recurring crash of Client on JVM HOT 1
- Can't subscribe to topics after invoking client.run() HOT 5
- Unable to import MQTTClient in KMM project HOT 4
- connect to activemq HOT 6
- no default value for publishReceived
- callback for connect / disconnect & manage LWT HOT 2
- Artifact publication on Maven Central? HOT 3
- iOSBuild failed with Could not find 'openssl-its-simulator-arm64' HOT 2
- ssl server certificate not found (IOS only) HOT 4
- Failing to compile with Kotlin and Gradle KTS HOT 4
- "Unable to parse TLS packet header"-error caused by 0-byte-channel-read HOT 4
- Username and Password in the PacketInterceptor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kmqtt.