stm32+esp8266+at指令+mqtt协议+接入阿里云程序源码
物联网
阿里云
STM32f103C8t6
//阿里云服务器的登陆配置
#define MQTT_BROKERADDRESS "k075yp83M0U.iot-as-mqtt.cn-shanghai.aliyuncs.com"
#define MQTT_CLIENTID "FESA234FBDS24|securemode=3,signmethod=hmacsha1,timestamp=789|"
#define MQTT_USARNAME "Smarthome&k075yp83M0U"
#define MQTT_PASSWD "791bf061e1e6acd44c6885de9b57559eaa4c627b"
#define MQTT_PUBLISH_TOPIC "/sys/k075yp83M0U/Smarthome/thing/event/property/post" //在头文件中添加订阅和发布的话题
#define MQTT_SUBSCRIBE_TOPIC "/sys/k0
1