CTWing(电信物联网开放平台)

# 简介 中国电信物联网开放平台是中国电信倾力打造的智能终端汇聚、应用开发运行服务和轻量级应用提供的物联网平台,旨在降低物联网应用开发的准入门槛,降低智能硬件的接入门槛,提供端到端的解决方案,服务于终端开发商、个人极客开发者、能力提供商、应用开发商以及集团内部各生态圈。 文章介绍LuatOS-Air连接ctwing。 [中国电信物联网开放平台](https://www.baidu.com/link?url=3v2gP4EQGmyRnrbnXGQ7NKZvvW-LHviXGU-PZeHyWWK&wd=&eqid=e710f23d00015cbd0000000460cc16e2 "中国电信物联网开放平台") # 实现流程 ## 产品操作 打开CTWing,进入控制台,选择设备接入。 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201143433830_1.png "undefined") 选择MQTT协议点击开始设备接入。 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201143743854_2.png "undefined") 点击创建产品 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201144016242_3.png "undefined") 根据需要设置相关项,注意:接入方式选择设备直连,通信协议选择MQTT,认证方式选择特征串认证,设备型号设置为自己的设备的mac地址。 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201144332466_4.png "undefined") ## 设备操作 进入创建的产品点击设备管理 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201144607894_5.png "undefined") 点添加设备进行添加 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201144721761_6.png "undefined") 点击进入创建的设备 ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210201144815096_7.png "undefined") 记住设备ID与特征串 ## LuatOS-Air操作 打开demo中的ctwing ![undefined](https://cdn.openluat-luatcommunity.openluat.com/images/20210202192306467_1.png "undefined") DevicetId和DeviceSecret更改为自己的设备ID与特征串 下载脚本即可 [SOCKETAPI说明](https://doc.openluat.com/wiki/21?wiki_page_id=2294) # 常见问题 ## 是否可以自动注册? 目前CTWing还未开放自动注册