Initial Checkin for WiFi and HTTP Server Framework

This commit is contained in:
Jm Casler
2020-09-12 21:43:41 -07:00
parent b6f71ca1db
commit f129b458ad
9 changed files with 314 additions and 31 deletions

View File

@@ -15,6 +15,7 @@
#include "mesh-pb-constants.h"
#include <pb_decode.h>
#include <pb_encode.h>
#include "meshwifi/meshwifi.h"
NodeDB nodeDB;
@@ -399,6 +400,11 @@ void NodeDB::updateFrom(const MeshPacket &mp)
updateTextMessage = true;
powerFSM.trigger(EVENT_RECEIVED_TEXT_MSG);
notifyObservers(true); // Force an update whether or not our node counts have changed
// Only update the WebUI if WiFi is enabled
#if WiFi_MODE != 0
notifyWebUI();
#endif
}
}
break;