firmware icon indicating copy to clipboard operation
firmware copied to clipboard

NRF24 Jammer Mode

Open kosmostrater opened this issue 1 year ago • 12 comments

Describe the bug: When in the NRF24 Jammer If you Press Next or Prev , it changes the mode but It over writes the previous mode on the display without clearing it so it become a jumbles mess.

Steps To Reproduce: NRF24, Jammer, Then press Next or Prev , the more times you presss the worse it gets. Same with CH Jammer the Channels don't clear so it becomes 2 solid blocks and you cant tell what channel your on.

  • Device used: esp32-2432s08 CYD tried both Bruce 1.9.1 and Beta

Expected behavior: Should clear the previous mode before displaying the new mode.

Image

kosmostrater avatar Apr 29 '25 20:04 kosmostrater

I have Bruce loaded on a T-display S3 (beta version) . Connected up the NRF24 and the display section was fine, so its just on the CYD. Not sure that helps, but I was curious :)

kosmostrater avatar Apr 30 '25 16:04 kosmostrater

I get the same error, maybe it's only on the esp32 CYD

LittleHackid avatar May 01 '25 02:05 LittleHackid

Man.... The last NRF24 update..... I still wake up at night believing i was allowed into the secret bluetooth heaven and from there i just rock..... EL MAGICO !!!!! Now we only need a NRF24 reader that can read the transmission between the devices.. I try to find Mr Vadim who made the one for flipper and the world famous mousejacker that can track a mouse dingle traffic then find the device id and even the signals it send outs, then copy the device id and then send a "bad usb "with it like a .txt file etc..---

On Thu, May 1, 2025 at 4:18 AM Little-Hackid @.***> wrote:

LittleHackid left a comment (pr3y/Bruce#1145) https://github.com/pr3y/Bruce/issues/1145#issuecomment-2843932907

I get the same error, maybe it's only on the esp32 CYD

— Reply to this email directly, view it on GitHub https://github.com/pr3y/Bruce/issues/1145#issuecomment-2843932907, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLDL6BQ7XOT4TS2EODJNQML24F777AVCNFSM6AAAAAB4D7B562VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNBTHEZTEOJQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Kind Regards

C.R

May Prosperity allways be with us!!

Huzzla101 avatar May 01 '25 02:05 Huzzla101

Describe the bug: When in the NRF24 Jammer If you Press Next or Prev , it changes the mode but It over writes the previous mode on the display without clearing it so it become a jumbles mess.

Steps To Reproduce: NRF24, Jammer, Then press Next or Prev , the more times you presss the worse it gets. Same with CH Jammer the Channels don't clear so it becomes 2 solid blocks and you cant tell what channel your on.

  • Device used: esp32-2432s08 CYD tried both Bruce 1.9.1 and Beta

Expected behavior: Should clear the previous mode before displaying the new mode.

Image

@kosmostrater this is the solution, you must put it in nrf_jammer.cpp on the jammer part and on the channel changing part tft.setCursor(10,100); uint16_t bgColor = ILI9341_BLACK; tft.fillRect(10, 100, 250, 16, bgColor);

Image

Image

Image

LittleHackid avatar May 01 '25 18:05 LittleHackid

Sure ; that is what I would expect (i had the same issue on projects)

After I make the change, how I recompile the code and upload?

Also add here as well to clear the CH#

   while (!check(SelPress)) {
        if (redraw) {
            tft.setCursor(10, 35);
            tft.setTextSize(FM);
            tft.println("NRF X Jammer ");
            tft.setCursor(10, tft.getCursorY() + 25);
            tft.println("STATUS : ACTIVE");
            tft.setCursor(10, 100);

            unit16_t bgColor = ILI9341_BLACK;
            tft.fillRect(10,100,250,16,bgColor);

            tft.print("MODE : " + NRF_MODE);

kosmostrater avatar May 01 '25 20:05 kosmostrater

Sure ; that is what I would expect (i had the same issue on projects)

After I make the change, how I recompile the code and upload?

Also add here as well to clear the CH#

   while (!check(SelPress)) {
        if (redraw) {
            tft.setCursor(10, 35);
            tft.setTextSize(FM);
            tft.println("NRF X Jammer ");
            tft.setCursor(10, tft.getCursorY() + 25);
            tft.println("STATUS : ACTIVE");
            tft.setCursor(10, 100);

            unit16_t bgColor = ILI9341_BLACK;
            tft.fillRec(10,100,250,16,bgColor);

            tft.print("MODE : " + NRF_MODE);

Go to the Bruce-main folder and run "pio run" in the VSC terminal.

Image

Try to comment out the boards you don't want to compile to save time and compilation errors.

Image

LittleHackid avatar May 02 '25 01:05 LittleHackid

I changed the platformio.ini and select just the CYD-2432s028 board. I ran build in VSC and it completed and uploaded it to the display, but all I see is faint flashes.

I tried "pio run" in the terminal window and got.

PS C:\Users\xx\Downloads\Bruce-main> pio run pio : The term 'pio' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • pio run
  •   + CategoryInfo          : ObjectNotFound: (pio:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

PS C:\Users\xx\Downloads\Bruce-main>

Im getting closer , as soon as I figure out how to compile the code , it will open up a lot , Would like to create a T-display enbed board.ini

kosmostarter avatar May 03 '25 22:05 kosmostarter

Install platformio ide for vs code (extension)

ben7147 avatar May 04 '25 09:05 ben7147

Yes , I have that installed.

kosmostarter avatar May 04 '25 19:05 kosmostarter

Im thinking on not selecting the env. This is the part Im not seeing. " In the Status bar (down on the screen) click where is written Default (Bruce-main) A little Menu will appear in the Search bar (up on screen), select your device "env" "

Image

kosmostarter avatar May 04 '25 21:05 kosmostarter

Im thinking on not selecting the env. This is the part Im not seeing. " In the Status bar (down on the screen) click where is written Default (Bruce-main) A little Menu will appear in the Search bar (up on screen), select your device "env" "

Image

You're doing well, my friend. Now you just have to go to the VSC terminal and navigate to the path where you have the platform.ini. Now in that terminal you can run pio run, but you need to be in the same path as bruce-main for it to work. This is the extension I use and it works. https://marketplace.visualstudio.com/items/?itemName=platformio.platformio-ide I was getting a long path error, I had to move the Bruce folder to the root of my hard drive, this solved it and I was able to use Pio

Image

LittleHackid avatar May 04 '25 23:05 LittleHackid

I made the change to both locations , compiled and uploaded to my CYD, thx!

kosmostarter avatar May 05 '25 22:05 kosmostarter