forked from xiaozhi/xiaozhi-esp32
bump to 0.8.0
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include <http.h>
|
||||
#include <web_socket.h>
|
||||
#include <mqtt.h>
|
||||
#include <udp.h>
|
||||
#include <string>
|
||||
|
||||
#include "led.h"
|
||||
@@ -36,8 +38,10 @@ public:
|
||||
virtual Display* GetDisplay() = 0;
|
||||
virtual Http* CreateHttp() = 0;
|
||||
virtual WebSocket* CreateWebSocket() = 0;
|
||||
virtual Mqtt* CreateMqtt() = 0;
|
||||
virtual Udp* CreateUdp() = 0;
|
||||
virtual bool GetNetworkState(std::string& network_name, int& signal_quality, std::string& signal_quality_text) = 0;
|
||||
virtual bool GetBatteryVoltage(int &voltage, bool& charging);
|
||||
virtual bool GetBatteryLevel(int &level, bool& charging);
|
||||
virtual std::string GetJson();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user