MCPcopy Create free account
hub / github.com/cifertech/nRFBox / blejammerSetup

Function blejammerSetup

nRFBox_V2/blejammer.cpp:139–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void blejammerSetup() {
140 Serial.begin(115200);
141
142 esp_bt_controller_deinit();
143 esp_wifi_stop();
144 esp_wifi_deinit();
145 esp_wifi_disconnect();
146
147 pinMode(MODE_BUTTON, INPUT_PULLUP);
148 attachInterrupt(digitalPinToInterrupt(MODE_BUTTON), handleButtonPress, FALLING);
149
150 initializeRadios();
151 updateOLED();
152}
153
154void blejammerLoop() {
155 checkModeChange();

Callers

nothing calls this directly

Calls 2

initializeRadiosFunction · 0.70
updateOLEDFunction · 0.70

Tested by

no test coverage detected