mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 08:06:46 +01:00
20 lines
698 B
C
20 lines
698 B
C
|
|
#include <Arduino.h>
|
|
#include <AsyncTCP.h>
|
|
#include <ESPAsyncWebServer.h>
|
|
|
|
void init_web();
|
|
void doImageUpload(AsyncWebServerRequest *request, String filename, size_t index, uint8_t *data, size_t len, bool final);
|
|
void doJsonUpload(AsyncWebServerRequest *request);
|
|
void dotagDBUpload(AsyncWebServerRequest *request, String filename, size_t index, uint8_t *data, size_t len, bool final);
|
|
void wsLog(const String &text);
|
|
void wsErr(const String &text);
|
|
void wsSendTaginfo(const uint8_t *mac, uint8_t syncMode);
|
|
void wsSendSysteminfo();
|
|
void wsSendAPitem(struct APlist *apitem);
|
|
void wsSerial(const String &text);
|
|
uint8_t wsClientCount();
|
|
|
|
extern AsyncWebSocket ws;
|
|
extern SemaphoreHandle_t wsMutex;
|