r/Hacking_Tutorials • • Oct 14 '26

Question Bluetooth jammer esp32 not working

my bluetooth jammer is not working i am new to arduino and esp 32 i am using an esp32 devkitv1 and an nrfl24l01 but it is not working this is the code is used i followed this videohttps://www.youtube.com/watch?v=gBJu1HZMW2k

/*
 * nrfBlueNullifier
 * A tool which jam classic bluetooth signals using 1 nrf24L01+PA/LNA module at VSPI.
 * Author - WireBits
 */


#include <RF24.h>
#include <esp_bt.h>
#include <esp_bt_main.h>


SPIClass *sp = nullptr;
RF24 radio(22, 21, 19909090);
byte i = 45, ptr_hop = 0, flag = 0;
byte hopping_channel[] = {32, 34, 46, 48, 50, 52, 0, 1, 2, 4, 6, 8, 22, 24, 26, 28, 30, 74, 76, 78, 80, 82, 84, 86};


void nrfSPIInit() {
    sp = new SPIClass(VSPI);
    sp->begin();
    if (radio.begin(sp)) {
        radio.setAutoAck(false);
        radio.stopListening();
        radio.setRetries(0, 0);
        radio.setPayloadSize(31);
        radio.setAddressWidth(4);
        radio.setPALevel(RF24_PA_MAX, true);
        radio.setDataRate(RF24_2MBPS);
        radio.setCRCLength(RF24_CRC_DISABLED);
        radio.startConstCarrier(RF24_PA_MAX, i);
    }
}


void adjustAndSweepChannels() {
    flag = (i > 79) ? 1 : (i < 2 ? 0 : flag);
    i += flag ? -2 : 2;
    for (int j = 0; j <= 79; j++) radio.setChannel(j);
}


void setup() {
    esp_bt_controller_deinit();
    if (esp_bluedroid_get_status() == ESP_BLUEDROID_STATUS_ENABLED) {
        esp_bluedroid_disable();
        esp_bluedroid_deinit();
    }
    nrfSPIInit();
}


void loop() {
        adjustAndSweepChannels();
        ptr_hop = (ptr_hop + 1) % sizeof(hopping_channel);
        radio.setChannel(hopping_channel[ptr_hop]);
}
3 Upvotes

18 comments sorted by

View all comments

Show parent comment

2

u/LongRangeSavage Oct 14 '26

I don’t mean to be taking this out on you, but answer all the questions. Someone trying to help doesn’t just add fluff to their response. This is about the 5th time today I’ve tried helping someone, and as part of that, I ask a half dozen questions, and almost none of them are answered.

In order, the things you need to confirm:

* Is your firmware building properly? I am assuming you’re fine here, as you’d (hopefully) know if you were having build problems.
* is your firmware loading properly?
* Is your hardware is actually initialized correctly?
* Is your hardware is actually transmitting?
* What is the SNR sensitivity of the receiver you wish to disrupt?
* Does your transmitter have the ability to generate enough signal to overload the front end on the intended target—especially at the distance at which you are trying?

If your answer is “no” or “I don’t know” to any of those questions, it’s going to be hard or impossible to help.

1

u/Relative_Life_3878 Oct 14 '26

i tested the first few questions with ai and it said my nrfl240l01 works my esp32 works and the radio signal stuff works i want to disrupt a signal within 10 meters if possible but would like to just have it working i want to disrupt a jbl speaker or a bluetooth mouse

1

u/LongRangeSavage Oct 14 '26

Again… not trying to be a dick, but you still haven’t answered even half the questions. I’m also not taking AI’s answer that something is working. You need to confirm it is transmitting with something like a spectrum analyzer or even a basic wattmeter. If you can’t confirm the product is transmitting, you’re dead in the water with never knowing.

Again, read my list of questions. If you answer “no” or “I don’t know” to any of them, the chances of getting any valuable help is slim.

1

u/Relative_Life_3878 Oct 14 '26
  1. The firmware builds successfully and uploads to the ESP32 without any compilation errors.
  2. The firmware loads properly. The ESP32 boots normally and the serial monitor shows the expected startup messages.
  3. The hardware appears to be initialized correctly. The ESP32 communicates with the nRF24L01 and the radio initialization completes without errors.
  4. The transmit code is running, but I have not yet fully verified whether packets are being received by another nRF24L01 device. Further testing with a receiver is required to confirm successful transmission.

5 around the 80-100db

6 i dont understand this question

1

u/LongRangeSavage Oct 14 '26

Do you understand what you need to accomplish to actually jam a signal? You must output enough to effectively drown out what your target is actually trying to receive. The target’s receiver is going to have a certain amount of sensitivity. You need to generate a powerful enough signal so that the receiver cannot effectively filter out its intended signal from your signal. There’s two ways of accomplishing this:

  1. get closer to the receiver
  2. increase power of your transmitter

You need to confirm you’re actually transmitting, and if you are at what power. Until you can confirm you’re actually transmitting a signal, you’re going to be chasing your tail.

1

u/Relative_Life_3878 Oct 14 '26

is there a a code that i can use to test if i am transmitting something to jam the bluetooth and ai said that my connections were wrong i am using these connections i dont know if these connections work with the code i am new to esp32 sorry if i am irritating you

  • VCC ➡️ 3V3
  • GND ➡️ GND
  • CE ➡️ D4 (GPIO 4)
  • CSN ➡️ D5 (GPIO 5)
  • SCK ➡️ D18 (GPIO 18)
  • MISO ➡️ D19 (GPIO 19)
  • MOSI ➡️ D23 (GPIO 23)

1

u/LongRangeSavage Oct 14 '26

No. You need something like a wattmeter or spectrum analyzer to confirm your radio is actually transmitting.

1

u/Relative_Life_3878 Oct 14 '26

is there a way to interfere the bluetooth without doing that? i dont want to buy more stuff for it

1

u/LongRangeSavage Oct 14 '26

At this point you need a way to confirm transmission. That can be a wattmeter, a SDR that is just listening for anything from your jammer, or you can actually write the code to pair to something Bluetooth and confirm you can send and receive packets from something Bluetooth—with a big emphasis on that you can send packets.

Once you confirm you are able to actually transmit, the problem becomes how strong of a signal you can generate, and to see if you need something like an amplifier or a directional antenna that will provide more gain.

Edit:
Added a different antenna as an option

1

u/Relative_Life_3878 Oct 14 '26

how can i test that with a wattmeter

1

u/LongRangeSavage Oct 14 '26

Buy one and plug it in between you the transmitter and the antenna. It will tell you the amount of power your radio is actually transmitting with. You just need one that can read within the ranges of your transmitter.

1

u/Relative_Life_3878 Oct 15 '26

i tested it again today and it works but only if i am holding it against the nrfl24l01 is there a way to make it better?