#ifndef EUPHONIUM_BELL_UTILS #define EUPHONIUM_BELL_UTILS #include #include #include namespace bell { std::string generateRandomUUID(); } // namespace bell #ifdef ESP_PLATFORM #include #define BELL_SLEEP_MS(ms) vTaskDelay(ms / portTICK_PERIOD_MS) #define BELL_YIELD() vTaskYield() #else #include #define BELL_SLEEP_MS(ms) usleep(ms * 1000) #define BELL_YIELD() () #endif #endif