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

@@ -22,7 +22,6 @@ struct Bt {
BtState state;
osTimerId_t update_status_timer;
osTimerId_t hopping_mode_timer;
Cli* cli;
Gui* gui;
ValueMutex* menu;
// Status bar
@@ -43,8 +42,6 @@ void bt_draw_statusbar_callback(Canvas* canvas, void* context);
BtTestChannel bt_switch_channel(InputKey key, BtTestChannel inst_chan);
void bt_cli_info(Cli* cli, string_t args, void* context);
void bt_draw_statusbar_callback(Canvas* canvas, void* context);
void bt_menu_test_tone_tx(void* context);