Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgornekich <n.gorbadey@gmail.com>2021-09-02 02:22:40 +0300
committerGitHub <noreply@github.com>2021-09-02 02:22:40 +0300
commit420c03bb58aae0fa526e555d7a92e14f43b7fa6e (patch)
tree725be6b10ec2ee4fd6945e59b8ab527abeaff372 /applications/applications.c
parente17336498db48de0898313aca9099985b91bd89e (diff)
[FL-1720] BLE GUI refactoring (#678)
* dialog_ex: add clean method, fix documentation * application: add bt debug and settings application * bt: add debug application * bt: add settings application * bt: rework bt service * bt debug: fix carrier debug app * assets: add debug animation to main menu * bt debug: fix bt packet test * bt service: rework bt service * bt: cleanup * Assets: fix spelling * Ble: wait for core 2 startup complete before initializing radio stack. * Accessor: remove dead code, switch port PA6 to PA4, because interrupt line 6 is used by down button. * FuriHal: assert interrupt line on add_int_callback. * Bt: update icon on core2 startup complete. Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/applications.c')
-rw-r--r--applications/applications.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/applications.c b/applications/applications.c
index 36751e09..cd7e9f4e 100644
--- a/applications/applications.c
+++ b/applications/applications.c
@@ -32,6 +32,7 @@ extern int32_t scened_app(void* p);
extern int32_t storage_test_app(void* p);
extern int32_t subghz_app(void* p);
extern int32_t vibro_test_app(void* p);
+extern int32_t bt_debug_app(void* p);
// Plugins
extern int32_t music_player_app(void* p);
@@ -48,6 +49,7 @@ extern void subghz_cli_init();
// Settings
extern int32_t notification_settings_app(void* p);
extern int32_t storage_settings_app(void* p);
+extern int32_t bt_settings_app(void* p);
const FlipperApplication FLIPPER_SERVICES[] = {
/* Services */
@@ -236,6 +238,10 @@ const FlipperApplication FLIPPER_DEBUG_APPS[] = {
#ifdef APP_LF_RFID
{.app = lfrfid_debug_app, .name = "LF-RFID Debug", .stack_size = 1024, .icon = &A_125khz_14},
#endif
+
+#ifdef SRV_BT
+ {.app = bt_debug_app, .name = "Bluetooth Debug", .stack_size = 1024, .icon = NULL},
+#endif
};
const size_t FLIPPER_DEBUG_APPS_COUNT = sizeof(FLIPPER_DEBUG_APPS) / sizeof(FlipperApplication);
@@ -254,6 +260,10 @@ const FlipperApplication FLIPPER_SETTINGS_APPS[] = {
#ifdef SRV_STORAGE
{.app = storage_settings_app, .name = "Storage", .stack_size = 2048, .icon = NULL},
#endif
+
+#ifdef SRV_BT
+ {.app = bt_settings_app, .name = "Bluetooth", .stack_size = 1024, .icon = NULL},
+#endif
};
const size_t FLIPPER_SETTINGS_APPS_COUNT =