BLE: F3 integration (#260)

* BLE: working version
* BLE: cleanup
* BLE: update device description and DIS.
* BLE: explicitly take semaphore and configure CLK48, bt subsystem status, remove LPM.
* HAL: add missing api_hal_bt_is_alive symbol
* TODO about valuemutex
* duplicate f3-1 (f4) ioc from f3
* regenerate project
* use target dir for ble glue path
* update f4 from f3

Co-authored-by: coreglitch <mail@s3f.ru>
This commit is contained in:
あく
2020-12-10 17:25:20 +03:00
committed by GitHub
parent c4b1d4b6f0
commit 2f2f6b5f50
102 changed files with 7810 additions and 1346 deletions

19
applications/bt/bt_i.h Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
#include "bt.h"
#include <cli/cli.h>
#include <flipper.h>
#include <flipper_v2.h>
#include <gui/gui.h>
#include <gui/widget.h>
typedef struct {
Cli* cli;
Icon* statusbar_icon;
Widget* statusbar_widget;
} Bt;
Bt* bt_alloc();
void bt_draw_statusbar_callback(CanvasApi* canvas, void* context);