登录
首页 » Others » MQTT推送简单例子服务端java代码实现

MQTT推送简单例子服务端java代码实现

于 2020-11-30 发布
0 310
下载积分: 1 下载次数: 2

代码说明:

IBM的MQTT给了一个PHP的服务端代码,在网上找了一个JAVA实现服务端代码的例子,调通了。如果想做这个例子需要自己用电脑建一个wifi,手机连上这个wifi,代码中要改几个个地方1 android服务里有几个MQTT_HOST是ip地址改成自己wifi的ip;2 服务端的publish方法是用来发送的,第一个参数是客户端id clientId,要改成自己在手机客户端设定的名字,前面还有个域,比如mqttClient.publish("tokudu/"+clientId, message.getBytes(),0, false); 我的clientId是sly。其他的大家就自己研究

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于遗传算法的机器人路径规划(附程序源码)
    基于遗传算法的机器人路径规划的实现。经本人亲自验证,是可以运行的C++程序。
    2020-06-17下载
    积分:1
  • 阿里云短信服务demo源码实例下载
    阿里云短信服务demo
    2020-06-05下载
    积分:1
  • Verilog Ieee 1588
    基于FPGA实现ieee1588同步技术
    2021-05-06下载
    积分:1
  • 基于 matlab 的伪随机序列的产生和分析
    摘要: matlab由于其强大的功能而被广泛应用于很多工程领域。在扩频通信中通常的做法是用一扩频序列与信号相乘,从而得到频谱的扩展或压缩, 因而扩频序列的性能直接决定着通信质量。伪随机序列中的 m序列和 gold序列最常用作扩频序列.
    2020-12-09下载
    积分:1
  • Adaptive Filters
    自适应滤波器的权威Sayed的大作,用大量的实例诠释自适应滤波器的各种算法原理,是不可多得的好书。ADAPTIVE FILTERSADAPTIVE FILTERSALIH SAYEDUniversity of California at Los Angeles◆旧EEEIEEE PressWIlEYNTERSCIENCEA JOHN WILEY SONS, INC, PUBLICATIONCover design by Michael RutkowskiCopyright C 2008 by John Wiley Sons, Inc. All rights reservedPublished by John Wiley Sons, Inc, Hoboken, New JerseyPublished simultaneously in CanadaNo part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or bymeans, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under anySection 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of thePublisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center,Inc, 222 Rosewood Drive, Danvers, MA01923, (978)750-8400, fax(978)750-4470, or on the web atwww.copyright.comRequeststothePublisherforpermissionshouldbeaddressedtothePermissionsDepartment, John Wiley sons, Inc, 111 River Street, Hoboken, NJ,(201)748-6011, fax(201)748-6008,oronlineathttp:/www.wiley.com/go/permissionLimit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts inpreparing this book, they make no representations or warranties with respect to the accuracy or completeness ofe contents of this book and specifically disclaim any implied warranties of merchantability or fitness for aarticular purpose. No warranty may be created or extended by sales representatives or written sales materialsThe advice and strategies contained herein may not be suitable for your situation. You should consult with aprofessional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or anyother commercial damages, including but not limited to special, incidental, consequential, or other damagesFor general information on our other products and services or for technical support, please contact our CustomerCare Department within the United States at(800)762-2974, outside the United States at (317)572-3993 or fax(317)572-4002Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not beavailable in electronic formats. For more information about wiley products, visit our web site atwww.wlley.conLibrary of Congress Cataloging-in-Publication Data:Sayed, Ali hAdaptive filters/Ali H. Sayedp cmIncludes bibliographical references and indexISBN9780470-25388-5( cloth)Adaptive filters. I. TitleTK7872F5s285200862138l5324dc222008003731Printed in the united states of america10987654321To my parentsContentsPrefacexviiNotationXXVAcknowledgmentsXXXBACKGROUND MATERIALA Random variablesA 1 Variance of a random variableA2 Dependent random VariablesA3 Complex-Valued Random VariablesA 4 Vector -Valued Random variables3467A.5 Gaussian Random VectorsB Linear Algebra12B. Hermitian and Positive- Definite matricesB 2 Range spaces and nullspace of matrices14B3 Schur Complements16B 4 Cholesky factorizationB 5 QR DecompositionB6 Singular Value Decomposition20B 7 Kronecker productsC Complex Gradients25C 1 Cauchy-Riemann Conditions5C2 Scalar arguments26C3 Vector arguments26PART:。 PTIMAL ESTIMATIONScalar- Valued Data291. 1 Estimation Without observations1.2 Estimation Given Dependent observations1.3 Orthogonality Principl36CONTENTS1,4 Gaussian random variables382 Vector- Valued Data422. 1 Optimal Estimator in the vector Case422.2 Spherically Invariant Gaussian Variables462. 3 Equivalent Optimization Criterion49Summary and Notes51Problems and Computer Projects54PART I: LINEAR ESTIMATION3 Normal Equatlons603. 1 Mean-Square Error Criterion613.2 Minimization by Differentiation3.3 Minimization by Completion-of-Squares633.4 Minimization of the error Covariance matrix653.5 Optimal Linear estimator4 Orthogonality princlple4. 1 Design Examples4.2 Orthogonality Condition4.3 Existence of solutions744, 4 Nonzero-Mean variables5 Linear Models5.1 Estimation using Linear Relations5.2 Application: Channel Estimation5Application: Block Data Estimation815. 4 Application: Linear Channel equalization825.5 Application: Multiple-Antenna Receivers85Constralned estimation876.1 Minimum-Variance Unbiased estimation6.2 Example: Mean Estimation6.3 Application: Channel and Noise Estimation916.4 Application: Decision Feedback Equalization6.5 Application: Antenna Beamforming1017 Kalman Filter1047.1 Innovations process7.2 State-Space Model106
    2020-12-09下载
    积分:1
  • SpeechSDK Demo微软语音识别演示(中文和日文)
    分别有中文和日文两个例子,支持预定语音字典,从字典中识别语音输入。字典外自动忽略
    2021-05-07下载
    积分:1
  • win7 64位语音识别包
    【实例简介】win7 64位语音识别修复包,亲测可用。
    2021-11-12 00:31:44下载
    积分:1
  • FSRCNN代码(Matlab)
    基于FSRCNN的图像超分辨重建算法加速的SRCNN模型算法
    2020-12-10下载
    积分:1
  • kirchhoff深度偏移
    基于绕射叠加理论的Kirchhoff叠前深度偏移程序,简单实用,MATLAB编写
    2020-12-11下载
    积分:1
  • VB6.0详细讲义(VB6实用教程_VB6从入门到精通)
    第一章 Visual Basic介绍第二章 用户界面设计第三章 编程的基础(含变量,常量,条件语句,循环语句,自定义变量,自定义过程,对象和类等基础)第四章 Windows 95的新控件Visual Basic的输入输出第五章 Visual Basic的鼠标事件和绘图第六章 Visual Basic的数据库、报表、预览、打印第七章 从文件中存取资料第八章 发行应用程序第九章 使用Windows API和用Visual Basic建立自己的屏幕保护程序第十章 创建ActiveX控件第十一章 ActiveX文档第十二章 用对象链接与嵌入(OLE)扩展Visual Basic
    2020-12-12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载