mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Update mqtt-dashboard, adopt new UI, break OTA for now..
This commit is contained in:
1 parent
daa47e8272
commit
a86bde7b3f
16 files changed
+399
-297
No files matched your search
@@ -3,6 +3,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "mongoose.h"
|
||||
#include "hal.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -12,18 +13,14 @@ extern "C" {
|
||||
#define MQTT_KEEPALIVE_SEC 60
|
||||
#define MQTT_SERVER_URL "mqtt://broker.hivemq.com:1883"
|
||||
#define MQTT_ROOT_TOPIC "mg_mqtt_dashboard"
|
||||
#define NUM_PINS 30
|
||||
|
||||
extern char *g_url;
|
||||
extern char *g_mqtt_server_url;
|
||||
extern char *g_device_id;
|
||||
extern char *g_root_topic;
|
||||
|
||||
void web_init(struct mg_mgr *mgr);
|
||||
void web_free(void);
|
||||
|
||||
bool hal_gpio_write(int pin, bool status);
|
||||
bool hal_gpio_read(int pin);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user