阿里云iot

简介

deviceName deviceSecrethtml

服务端能够经过API给设备发布数据git

sdk快速开始

PHP SDK使用说明github

https://github.com/aliyun/iotkit-embedded 修改设备三元组就能够编辑运行了 sample/mqtt/mqtt-example.cubuntu

undefined reference to 'clock_gettime' 错误
解决办法
vi ./src/configs/config.ubuntu.x86
加上
LDFLAGS += -lrt架构

其余

子设备能够动态注册
sdk编译的时候并无源码,还得去阿里的gitlab上拉
gitlab

看sdk的架构图,mqtt也是封装的pahocode