acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

Gotify.h (389B)

      1 #pragma once
      2 
      3 #include <ArduinoWebsockets.h>
      4 
      5 #include "Speaker.h"
      6 
      7 using namespace websockets;
      8 
      9 extern WebsocketsClient gotifyClient;
     10 extern const char* gotify_server;
     11 extern const char* gotify_token;
     12 extern unsigned long lastAttemptTime;
     13 extern const unsigned long reconnectInterval;
     14 
     15 void onMessageCallback(WebsocketsMessage message);
     16 void connectToGotify();
     17 void loopGotifyWebSocket();