Skip to content

Commit

Permalink
Additional options for hop command: sequential, random. Additional co…
Browse files Browse the repository at this point in the history
…mmand: ap-dos: status, on, off. Target specific AP(s) and their STAs with deauth and disassoc frames in response to communication with the AP. Version bump to v0.2.1
  • Loading branch information
chris-bc committed Jul 30, 2023
1 parent eae99aa commit dee863a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ which esp32-Gravity is compatible with which Flipper-Gravity.
* Sniff: On, Off
* target-ssids: add, remove, list
* scan: on, off
* hop: on, off, default
* hop: on, off, sequential, random, default, set
* view: sta, ap, sta+ap
* select: sta, ap
* selected: sta, ap, sta+ap
Expand All @@ -115,6 +115,7 @@ which esp32-Gravity is compatible with which Flipper-Gravity.
* mana: on, off, clear
* mana verbose: on, off
* mana loud: on, off
* DOS AP: on, off
* help: commands help info


Expand Down
2 changes: 1 addition & 1 deletion application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ App(
fap_icon_assets="assets",
fap_icon_assets_symbol="uart_terminal",
fap_author="https://github.com/chris-bc",
fap_version="0.2.0",
fap_version="0.2.1",
fap_description="App to control ESP32 Gravity wireless exploration platform.",
)
2 changes: 1 addition & 1 deletion scenes/uart_terminal_scene_console_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void uart_terminal_scene_console_output_on_enter(void* context) {
app->is_command = false;
/* Display a basic about screen */
// TODO: See if the following works:
char aboutStr[] = " Flipper Gravity\n v0.2.0\nBy Chris BC\n https://github.com/chris-bc/flipper-gravity\n https://github.com/esp32c6-gravity\n\n\nMost ideas and code stolen from ESP32 Marauder and UART Terminal.";
char aboutStr[] = " Flipper Gravity\n v0.2.1\nBy Chris BC\n https://github.com/chris-bc/flipper-gravity\n https://github.com/esp32c6-gravity\n\n\nMost ideas and code stolen from ESP32 Marauder and UART Terminal.";
furi_string_cat_str(app->text_box_store, aboutStr);
app->text_box_store_strlen += strlen(aboutStr);
}
Expand Down
13 changes: 10 additions & 3 deletions scenes/uart_terminal_scene_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ const UART_TerminalItem items[NUM_MENU_ITEMS] = {
FOCUS_CONSOLE_END,
NO_TIP},
{"Hop",
{"Status", "On", "Off", "Default", "Set "},
5,
{"hop", "hop on", "hop off", "hop default", "hop "},
{"Status", "On", "Off", "Sequential", "Random", "Default", "Set "},
7,
{"hop", "hop on", "hop off", "hop sequential", "hop random", "hop default", "hop "},
TOGGLE_ARGS,
FOCUS_CONSOLE_END,
NO_TIP},
Expand Down Expand Up @@ -154,6 +154,13 @@ const UART_TerminalItem items[NUM_MENU_ITEMS] = {
NO_ARGS,
FOCUS_CONSOLE_END,
NO_TIP},
{"selectedAP DOS",
{"Status", "On", "Off"},
3,
{"ap-dos", "ap-dos on", "ap-dos off"},
NO_ARGS,
FOCUS_CONSOLE_END,
NO_TIP},
{"Help",
{"Info <cmd>", "Get Started", "Commands", "About", "Help"},
5,
Expand Down
4 changes: 3 additions & 1 deletion uart_terminal_app_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#include <gui/modules/variable_item_list.h>
#include "uart_text_input.h"

#define NUM_MENU_ITEMS (20)
#define GRAVITY_VERSION "0.2.1a0"

#define NUM_MENU_ITEMS (21)

#define UART_TERMINAL_TEXT_BOX_STORE_SIZE (1024)
#define UART_TERMINAL_TEXT_INPUT_STORE_SIZE (512)
Expand Down

0 comments on commit dee863a

Please sign in to comment.