Add BLE CLI tests (#502)

* bt: introduce bt CLI commands
* api-hal-bt: add get rssi
* bt: fix cli commands
* bt: fix typos
* Bt: add missing newline in console message

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-05-29 01:57:11 +03:00
committed by GitHub
parent 5a993b6d2a
commit 205932b24c
8 changed files with 266 additions and 34 deletions

View File

@@ -43,6 +43,7 @@ int32_t notification_app(void* p);
// On system start hooks declaration
void nfc_cli_init();
void subghz_cli_init();
void bt_cli_init();
const FlipperApplication FLIPPER_SERVICES[] = {
#ifdef SRV_CLI
@@ -208,6 +209,9 @@ const FlipperOnStartHook FLIPPER_ON_SYSTEM_START[] = {
#ifdef APP_SUBGHZ
subghz_cli_init,
#endif
#ifdef SRV_BT
bt_cli_init,
#endif
};
const size_t FLIPPER_ON_SYSTEM_START_COUNT =