Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proto kill (blackout.cpp) doing nothing #43

Open
marikuns opened this issue Jan 31, 2025 · 1 comment
Open

Proto kill (blackout.cpp) doing nothing #43

marikuns opened this issue Jan 31, 2025 · 1 comment

Comments

@marikuns
Copy link

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
Copy link
Author

marikuns commented Jan 31, 2025

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);
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant