This commit is contained in:
2026-01-10 02:45:26 -06:00
parent 03ca64080c
commit 0fd4db453d
10 changed files with 374 additions and 251 deletions

View File

@@ -6,16 +6,15 @@
#include "bmHTTP.hpp"
#include "socketIO.hpp"
TaskHandle_t setupTaskHandle = NULL;
void initialSetup() {
printf("Entered Setup\n");
NimBLEAdvertising* pAdv = initBLE();
while (!BLEtick(pAdv)) {
vTaskDelay(pdMS_TO_TICKS(100));
}
ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
}
void setupLoop() {
void setupLoop(void *pvParameters) {
bool initSuccess = false;
while(!initSuccess) {
nvs_handle_t WiFiHandle;