mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-05 20:40:25 -08:00
Add flock command and icon
This commit is contained in:
@@ -233,6 +233,12 @@ PROGMEM static const unsigned char menu_icons[][66] = {
|
|||||||
0x7B, 0x3E, 0x37, 0x7B, 0xBF, 0x37, 0xFB, 0xF7, 0x37, 0xFB, 0xF7, 0x37,
|
0x7B, 0x3E, 0x37, 0x7B, 0xBF, 0x37, 0xFB, 0xF7, 0x37, 0xFB, 0xF7, 0x37,
|
||||||
0xFB, 0xF3, 0x37, 0xBB, 0x7F, 0x37, 0x37, 0x3F, 0x3B, 0x77, 0x80, 0x3B,
|
0xFB, 0xF3, 0x37, 0xBB, 0x7F, 0x37, 0x37, 0x3F, 0x3B, 0x77, 0x80, 0x3B,
|
||||||
0xEF, 0xE1, 0x3D, 0xDF, 0xFF, 0x3E, 0x3F, 0x3F, 0x3F, 0xFF, 0xC0, 0x3F,
|
0xEF, 0xE1, 0x3D, 0xDF, 0xFF, 0x3E, 0x3F, 0x3F, 0x3F, 0xFF, 0xC0, 0x3F,
|
||||||
|
0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0x3F},
|
||||||
|
{0xFF, 0xFF, 0x3F, 0xFF, 0xE0, 0x3F, 0x3F, 0x9F, 0x3F, 0xBF, 0xBF, 0x3F, // FLOCK: 41
|
||||||
|
0xDF, 0x71, 0x3F, 0xDF, 0x6E, 0x3F, 0xDF, 0x6E, 0x3F, 0xDF, 0x6E, 0x3F,
|
||||||
|
0xDF, 0x71, 0x3F, 0xDF, 0x7B, 0x3F, 0xDF, 0x7F, 0x3F, 0xDF, 0x7F, 0x3F,
|
||||||
|
0xDF, 0x7F, 0x3F, 0xBF, 0xBF, 0x3F, 0xBF, 0xBB, 0x3F, 0x3F, 0x9B, 0x3F,
|
||||||
|
0x7F, 0xDF, 0x3F, 0x7F, 0xDF, 0x3F, 0x7F, 0xDF, 0x3F, 0xFF, 0xE0, 0x3F,
|
||||||
0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0x3F}
|
0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0x3F}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1022,6 +1022,14 @@ void CommandLine::runCommand(String input) {
|
|||||||
#endif
|
#endif
|
||||||
wifi_scan_obj.StartScan(BT_SCAN_FLIPPER, TFT_ORANGE);
|
wifi_scan_obj.StartScan(BT_SCAN_FLIPPER, TFT_ORANGE);
|
||||||
}
|
}
|
||||||
|
else if (bt_type == "flock") {
|
||||||
|
Serial.println("Starting Flock sniff. Stop with " + (String)STOPSCAN_CMD);
|
||||||
|
#ifdef HAS_SCREEN
|
||||||
|
display_obj.clearScreen();
|
||||||
|
menu_function_obj.drawStatusBar();
|
||||||
|
#endif
|
||||||
|
wifi_scan_obj.StartScan(BT_SCAN_FLOCK, TFT_ORANGE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// General bluetooth sniff
|
// General bluetooth sniff
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ const char PROGMEM HELP_LOAD_CMD[] = "load -a/-s";
|
|||||||
const char PROGMEM HELP_JOIN_CMD[] = "join -a <index> -p <password>/-s";
|
const char PROGMEM HELP_JOIN_CMD[] = "join -a <index> -p <password>/-s";
|
||||||
|
|
||||||
// Bluetooth sniff/scan
|
// Bluetooth sniff/scan
|
||||||
const char PROGMEM HELP_BT_SNIFF_CMD[] = "sniffbt [-t] <airtag/flipper>";
|
const char PROGMEM HELP_BT_SNIFF_CMD[] = "sniffbt [-t] <airtag/flipper/flock>";
|
||||||
const char PROGMEM HELP_BT_SPAM_CMD[] = "blespam -t <apple/google/samsung/windows/flipper/all>";
|
const char PROGMEM HELP_BT_SPAM_CMD[] = "blespam -t <apple/google/samsung/windows/flipper/all>";
|
||||||
const char PROGMEM HELP_BT_SPOOFAT_CMD[] = "spoofat -t <index>";
|
const char PROGMEM HELP_BT_SPOOFAT_CMD[] = "spoofat -t <index>";
|
||||||
//const char PROGMEM HELP_BT_SOUR_APPLE_CMD[] = "sourapple";
|
//const char PROGMEM HELP_BT_SOUR_APPLE_CMD[] = "sourapple";
|
||||||
|
|||||||
@@ -3171,7 +3171,7 @@ void MenuFunctions::RunSetup()
|
|||||||
this->renderGraphUI(BT_SCAN_ANALYZER);
|
this->renderGraphUI(BT_SCAN_ANALYZER);
|
||||||
wifi_scan_obj.StartScan(BT_SCAN_ANALYZER, TFT_CYAN);
|
wifi_scan_obj.StartScan(BT_SCAN_ANALYZER, TFT_CYAN);
|
||||||
});
|
});
|
||||||
this->addNodes(&bluetoothSnifferMenu, "Flock Sniff", TFTORANGE, NULL, BLUETOOTH_SNIFF, [this]() {
|
this->addNodes(&bluetoothSnifferMenu, "Flock Sniff", TFTORANGE, NULL, FLOCK, [this]() {
|
||||||
display_obj.clearScreen();
|
display_obj.clearScreen();
|
||||||
this->drawStatusBar();
|
this->drawStatusBar();
|
||||||
wifi_scan_obj.StartScan(BT_SCAN_FLOCK, TFT_ORANGE);
|
wifi_scan_obj.StartScan(BT_SCAN_FLOCK, TFT_ORANGE);
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ extern Settings settings_obj;
|
|||||||
#define JOINED 38
|
#define JOINED 38
|
||||||
#define FORCE 39
|
#define FORCE 39
|
||||||
#define FUNNY_BEACON 40
|
#define FUNNY_BEACON 40
|
||||||
|
#define FLOCK 41
|
||||||
|
|
||||||
PROGMEM void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p);
|
PROGMEM void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p);
|
||||||
PROGMEM bool my_touchpad_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data);
|
PROGMEM bool my_touchpad_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data);
|
||||||
|
|||||||
BIN
pictures/icons/flock_22.bmp
Normal file
BIN
pictures/icons/flock_22.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
9
pictures/xbm/flock_22.xbm
Normal file
9
pictures/xbm/flock_22.xbm
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#define 301f3c12779740a0f7d41e7437ba582eplcec9cBSpGahPig_width 22
|
||||||
|
#define 301f3c12779740a0f7d41e7437ba582eplcec9cBSpGahPig_height 22
|
||||||
|
static char 301f3c12779740a0f7d41e7437ba582eplcec9cBSpGahPig_bits[] = {
|
||||||
|
0xFF, 0xFF, 0x3F, 0xFF, 0xE0, 0x3F, 0x3F, 0x9F, 0x3F, 0xBF, 0xBF, 0x3F,
|
||||||
|
0xDF, 0x71, 0x3F, 0xDF, 0x6E, 0x3F, 0xDF, 0x6E, 0x3F, 0xDF, 0x6E, 0x3F,
|
||||||
|
0xDF, 0x71, 0x3F, 0xDF, 0x7B, 0x3F, 0xDF, 0x7F, 0x3F, 0xDF, 0x7F, 0x3F,
|
||||||
|
0xDF, 0x7F, 0x3F, 0xBF, 0xBF, 0x3F, 0xBF, 0xBB, 0x3F, 0x3F, 0x9B, 0x3F,
|
||||||
|
0x7F, 0xDF, 0x3F, 0x7F, 0xDF, 0x3F, 0x7F, 0xDF, 0x3F, 0xFF, 0xE0, 0x3F,
|
||||||
|
0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0x3F, };
|
||||||
Reference in New Issue
Block a user