| 329 | } |
| 330 | |
| 331 | void toggleAdvertising() { |
| 332 | if (isAdvertising) { |
| 333 | pAdvertising->stop(); |
| 334 | Serial.println("Advertising stopped."); |
| 335 | updateDisplay(); |
| 336 | } else { |
| 337 | pAdvertising->start(); |
| 338 | Serial.println("Advertising started."); |
| 339 | updateDisplay(); |
| 340 | } |
| 341 | isAdvertising = !isAdvertising; |
| 342 | } |
| 343 | |
| 344 | |
| 345 | void spooferSetup(){ |
nothing calls this directly
no test coverage detected