mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 19:06:59 +01:00
19 lines
524 B
C
19 lines
524 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);
|
|
|
|
extern void webSocketSendProcess(void *parameter);
|
|
void wsLog(String text);
|
|
void wsErr(String text);
|
|
void wsSendTaginfo(uint8_t mac[6]);
|
|
void wsSendSysteminfo();
|
|
|
|
extern uint64_t swap64(uint64_t x);
|
|
extern AsyncWebSocket ws; //("/ws");
|
|
|
|
extern SemaphoreHandle_t wsMutex;
|
|
extern TaskHandle_t websocketUpdater; |