Giter VIP home page Giter VIP logo

iot-myqtt's Introduction

在VUE中利用MQTT协议实现即时通讯 以前尝试在vue中用上mqtt,了解到mqtt实质上是基于websocket进行数据通信,所以上文中在node下实现的服务端此时不能满足需求

在Node.js下运用MQTT协议实现即时通讯及离线推送

  1. 正常情况下存储到数据中
  2. 断网情况下进行存储到本地数据库 基于Electron-vue框架使用node-modbus采集硬件设备数据
    • 用node.js实现串口通讯,使用modbus-tcp协议与硬件设备进行通信,直接操控串口,更是直接可用于工业控制。

vue项目迁移到electron-vue实操记录(serialport 串口获取 electron-vue安装node-serialport node-serialport

  • npm install --global --production windows-build-tools 扫码枪

modbus通讯协议和应用

二进制、十六进制、 PLC PLC ASCII通讯方式

主站和从站。 广播形式

iot-myqtt's People

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.