mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
* **New Features** * Added App Hub browsing with All, Installed, and Updates filters, plus options to install, remove, or update apps. * Added an installation activity indicator in the status bar. * Added a mesh command-line app for checking status and managing mesh settings and channels. * Radio region settings now persist across restarts and are applied to radio devices. * Added audio codec support for the LilyGo T-LoRa Pager. * Settings screens now use icons for selection actions. * **Improvements** * App Hub displays cached catalog results while a refresh is in progress. * System menu close controls receive focus automatically when no pointer is available.
27 lines
677 B
C
27 lines
677 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <tactility/drivers/radio.h>
|
|
#include <tactility/error.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** @return the persisted regulatory region, RADIO_REGION_UNSET when none was saved */
|
|
enum RadioRegion radio_settings_load_region(void);
|
|
|
|
/**
|
|
* Persist the regulatory region and apply it to all radio devices.
|
|
* @retval ERROR_NOT_FOUND when the user data storage isn't available
|
|
* @retval ERROR_RESOURCE when writing failed
|
|
*/
|
|
error_t radio_settings_save_region(enum RadioRegion region);
|
|
|
|
/** Apply the persisted region to all radio devices */
|
|
void radio_settings_apply_region(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|