nRFBox
nRFBox copied to clipboard
Proto kill (blackout.cpp) doing nothing
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?
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);
}