添加硬件端固件示例代码

This commit is contained in:
kerwincui
2021-07-04 17:59:55 +08:00
parent e747bd935e
commit 224282d561
23 changed files with 5549 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
/******************************************************************************
* author: kerwincui
* create: 2021-06-08
* email164770707@qq.com
* source:https://github.com/kerwincui/wumei-smart
******************************************************************************/
#ifndef _MQTT_H_
#define _MQTT_H_
#include <stdio.h>
#include <string.h>
#include "esp_log.h"
#include "mqtt_client.h"
#include "cJSON.h"
#include "cJSON_Utils.h"
char owner_id[64]; // 用户ID
char device_num[13]; // 设备编号mac地址
void mqtt_start(void);
#endif