10 2016 档案
摘要:当连接向一个mqtt服务器时,clientId必须是唯一的。设置一样,导致client.setCallback总是走到 connectionLost回调。报connection reset。调查一天才发现是clientid重复导致。 client = new MqttAsyncClient(serv
阅读全文
摘要:软件 mosquitto-1.4.10-install-win32.exe. 安装时候提示下载后面两个。win32openssl一定是1_0_1,否则没有需要的dll文件。 pthreadVC2.dll Win32OpenSSL_Light-1_0_1u 发送消息: mosquitto_pub -h
阅读全文