| 78 | } |
| 79 | |
| 80 | void initializeRadios() { |
| 81 | if (currentMode == BLE_MODULE) { |
| 82 | if (radio1.begin()) { |
| 83 | configureRadio(radio1, BLE_channels, sizeof(BLE_channels)); |
| 84 | } |
| 85 | } else if (currentMode == Bluetooth_MODULE) { |
| 86 | initializeRadiosMultiMode(); |
| 87 | } else if (currentMode == DEACTIVE_MODE) { |
| 88 | radio1.setChannel(0); |
| 89 | radio2.setChannel(0); |
| 90 | radio3.setChannel(0); |
| 91 | delay(100); |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | void jammer(RF24 &radio, const byte* channels, size_t size) { |
| 96 | const char text[] = "xxxxxxxxxxxxxxxx"; |
no test coverage detected