nRFBox icon indicating copy to clipboard operation
nRFBox copied to clipboard

Proto kill (blackout.cpp) doing nothing

Open marikuns opened this issue 1 year ago • 1 comments

Tried to jamm my smart watches with 2 nrf modules.

Nothing. Readed deeper in code i found, that blackout module doing nothing. Just select channel list for different proto. Nothing writing by radio vars. Is it right?

marikuns avatar Jan 31 '25 14:01 marikuns

uppended in blackoutLoop

 ......
  else if (current_Mode == NRF24_MODULE)
  {
    int randomIndex = random(0, sizeof(nrf24_channels) / sizeof(nrf24_channels[0]));
    int channel = nrf24_channels[randomIndex];
    radio_1.setChannel(channel);
    radio_2.setChannel(channel);
    radio_3.setChannel(channel);
  }

  if (lastMode == ACTIVE_MODE)
  {

    const char text[] = "xxxxxxxxxxxxxxxx";
    radio_1.write(&text, sizeof(text));
    radio_2.write(&text, sizeof(text));
    radio_3.write(&text, sizeof(text));
    // delayMicroseconds(20);
  }

marikuns avatar Jan 31 '25 14:01 marikuns