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

Function blejammerSetup

VScode Platformio/src/blejammer.cpp:143–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void blejammerSetup() {
144 Serial.begin(115200);
145
146 esp_bt_controller_deinit();
147 esp_wifi_stop();
148 esp_wifi_deinit();
149 esp_wifi_disconnect();
150
151 u8g2.begin();
152
153 pinMode(MODE_BUTTON, INPUT_PULLUP);
154 attachInterrupt(digitalPinToInterrupt(MODE_BUTTON), handleButtonPress, FALLING);
155
156 initializeRadios();
157 updateOLED();
158}
159
160void blejammerLoop() {
161 checkModeChange();

Callers

nothing calls this directly

Calls 2

initializeRadiosFunction · 0.70
updateOLEDFunction · 0.70

Tested by

no test coverage detected