设备连接 把这几个参数填上去就能连接了 服务端订阅消息 https://help.aliyun.com/document_detail/130827.html 根据自己喜欢的编程语言选例子 服务端发布消息 https://help.aliyun.com/document_detail/69793.htm?spm=5176.2020520104.help.dexternal.1093709a4RjSGS#reference-k3b-yrz-wdb 在里面选择喜欢的例子