@cloudtea/iot-shadow
v0.2.5
Published
Cloudtea IOT Protocol Parser and Composer.
Downloads
42
Readme
云茶MQTT协议
- 目标
提供一个通用的协议解析器和构造器,能够同时用于多端,包括:微信端,APP端,后台,设备端
- 协议草案 https://shimo.im/docs/0gKZpbX1DlocZGiI
TODO
[x] 实现基本的协议解析器和构造器
[] 实现基于MQTT的示例,模拟客户端,网关还有服务器 (正在集成)
[] 实现单元测试:协议解析和构造的输入和输出校验
[] 实现设备编排系统example
[] SDK最佳实践封装接口
- TS Compile Options “target”: “es5” => Specify ECMAScript target version: ‘ES3’ (default), ‘ES5’, ‘ES2015’, ‘ES2016’, ‘ES2017’, or ‘ESNEXT’. “module”: “commonjs” => Specify module code generation: ‘none’, commonjs’, ‘amd’, ‘system’, ‘umd’, ‘es2015’, or ‘ESNext’. “declaration”: true => Generates corresponding ‘.d.ts’ file. “outDir”: “ dist” => Redirect output structure to the directory.