Giter Club home page Giter Club logo

mqtt-android-kotlin's Introduction

MQTT Demo说明:

  1. 测试时分别运行Client和Server端。用false和true区分。修改MqttConfig.kt中的:
   private var isServer = true

测试消息数量:在MainActivity中修改 MAX的值,默认100次。

  1. 测试数据边界说明:
限制项 限制值 说明
Topic 长度 3~64 个字符 使用微消息队列 MQTT 版收发消息时,Topic 长度不得低于或超过最值限制,否则会导致无法发送或者订阅。
Client ID 长度 64 个字符 使用微消息队列 MQTT 版收发消息时,Client ID 长度不得超过该限制,否则会导致连接被断开。
消息大小 64 KB 字节 消息负载不得超过该限制,否则消息会被丢弃(企业铂金版可定制)。

其他测试数据使用限制说明链接

  1. 测试时 在数据收发过程中不要一直点发消息消息或清空日志,否则统计数据会清零重新计算导致不准确。

  2. 详细文档与测试结果可参考:阿里云MQTT调研情况初稿

  3. Demo修改自阿里云Android Demo. 参考:imq-android-demo

  4. 运行截图:

    运行截图

mqtt-android-kotlin's People

Contributors

june5753 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.