debug: add BMS routes to LilyGO isolation
This commit is contained in:
1 parent
6ae396f084
commit
f249e2ef6b
1 file changed
+4
@@ -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