debug: add BMS routes to LilyGO isolation
This commit is contained in:
@@ -4161,6 +4161,10 @@ void setup() {
|
|||||||
server.on(API_V1("/wifi/connect"), HTTP_POST, handleWifiConnect);
|
server.on(API_V1("/wifi/connect"), HTTP_POST, handleWifiConnect);
|
||||||
server.on(API_V1("/wifi/clear"), HTTP_POST, handleWifiClear);
|
server.on(API_V1("/wifi/clear"), HTTP_POST, handleWifiClear);
|
||||||
|
|
||||||
|
|
||||||
|
server.on(API_V1("/bms/scan"), HTTP_POST, handleBleScan);
|
||||||
|
server.on(API_V1("/bms/select"), HTTP_POST, handleSelectBms);
|
||||||
|
|
||||||
server.begin();
|
server.begin();
|
||||||
Serial.println("Bare WebServer started");
|
Serial.println("Bare WebServer started");
|
||||||
heapCheckpoint("setup:end");
|
heapCheckpoint("setup:end");
|
||||||
|
|||||||
Reference in New Issue
Block a user