Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Adolfo Reyna
2026-07-04 15:39:52 -04:00
396 changed files with 114753 additions and 2051 deletions
+4 -2
View File
@@ -11,7 +11,9 @@ bool findFirstMountedSdCardPath(std::string& path);
FileSystem* findSdcardFileSystem(bool mustBeMounted);
std::string getSystemRootPath();
std::string getUserDataRootPath();
std::string getUserDataPath();
std::string getTempPath();
@@ -19,7 +21,7 @@ std::string getAppInstallPath();
std::string getAppInstallPath(const std::string& appId);
std::string getUserPath();
std::string getUserHomePath();
std::string getAppUserPath(const std::string& appId);
@@ -26,8 +26,13 @@ struct PeerRecord {
int profileId = 0;
};
/** Find the first ready BLE device in the kernel device registry. Returns nullptr if unavailable. */
struct Device* findFirstDevice();
// Wrapper around device start & radio on
bool start(Device* dev);
// Wrapper around device stop & radio off
bool stop(Device* dev);
bool isRadioOnOrPending(Device* dev);
/** @return the current radio state */
RadioState getRadioState();
@@ -12,9 +12,11 @@ constexpr TickType_t defaultLockTime = 500 / portTICK_PERIOD_MS;
* LVGL locking function
* @param[in] timeout as ticks
* @warning when passing zero, we wait forever, as this is the default behaviour for esp_lvgl_port, and we want it to remain consistent
* @deprecated Use lvgl_lock() or lvgl_try_lock() from lvgl-module instead.
*/
bool lock(TickType_t timeout = portMAX_DELAY);
/** @deprecated Use lvgl_unlock() from lvgl-module instead. */
void unlock();
std::shared_ptr<Lock> getSyncLock();
@@ -5,10 +5,9 @@
namespace tt::settings {
struct SystemSettings {
Language language;
bool timeFormat24h;
std::string dateFormat; // MM/DD/YYYY, DD/MM/YYYY, YYYY-MM-DD, YYYY/MM/DD
std::string region; // (US, EU, JP, etc.)
Language language = Language::en_US;
bool timeFormat24h = true;
std::string dateFormat = std::string("DD/MM/YYYY"); // MM/DD/YYYY, DD/MM/YYYY, YYYY-MM-DD, YYYY/MM/DD
};
bool loadSystemSettings(SystemSettings& properties);
@@ -16,6 +16,9 @@ void setTimeZone(const std::string& name, const std::string& code);
*/
std::string getTimeZoneName();
/** @return true when a timezone has been explicitly set (as opposed to the default) */
bool hasTimeZone();
/**
* Get the code of the timezone (see timezones.csv)
*/