mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-16 06:58:14 +08:00
可以配置MQTT用户名和密码
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
#define MQTT_SERVER user_config->mqtt_ip
|
||||
#define MQTT_SERVER_PORT user_config->mqtt_port
|
||||
#define MQTT_SERVER_USR user_config->mqtt_user
|
||||
#define MQTT_SERVER_PWD user_config->mqtt_password
|
||||
|
||||
extern OSStatus UserMqttInit(void);
|
||||
extern OSStatus UserMqttSend(char *arg);
|
||||
|
||||
Reference in New Issue
Block a user