mqtt-demo's People
Forkers
ezjiang maxiaosuai liyike11111 halfapple spiroo jayeguo xue2lang zeqq dongyuanpan stupidboy3 ismrzhang zsmweiwei ycl113 web-logs2 web-logs2mqtt-demo's Issues
c demo里面的头文件去哪里找?
vscode里面打开c的demo,但是MQTTAsync.h以及<openssl/hmac.h>和<openssl/bio.h>都没有,是需要自己去找吗?
断网重连后发送P2P消息提示客户机未连接
使用这个类发送P2P消息通信 MQTTSendP2PMessage.class
重现步骤
1.启动MQTTSendP2PMessage连接mqtt
2.启动设备A
3.MQTTSendP2PMessage正常与设备A通信
4.断开MQTTSendP2PMessage服务所在电脑网络
5.隔5秒后重新接通网络
6.即打印如下错误,只能重启MQTTSendP2PMessage服务才能正常通信
org.eclipse.paho.client.mqttv3.MqttException: 客户机未连接
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
at org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:205)
at org.eclipse.paho.client.mqttv3.MqttAsyncClient.publish(MqttAsyncClient.java:1375)
at org.eclipse.paho.client.mqttv3.MqttClient.publish(MqttClient.java:570)
pom的依赖需要更新了,java的demo中org.bouncycastle需要更新
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.