MCPcopy Create free account
hub / github.com/BruceDevices/firmware / showTestingSubMenu

Function showTestingSubMenu

src/modules/ble/BLE_Suite.cpp:4453–4467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4451}
4452
4453void showTestingSubMenu(NimBLEAddress target) {
4454 const char *options[] = {
4455 "Write Access Test", "Audio Control Test", "Protocol Fuzzer", "HID Service Test"
4456 };
4457
4458 int choice = showSubMenu("Testing Tools", options, 4);
4459 if (choice == -1) return;
4460
4461 switch (choice) {
4462 case 0: runWriteAccessTest(target); break;
4463 case 1: runAudioControlTest(target); break;
4464 case 2: runProtocolFuzzer(target); break;
4465 case 3: runHIDTest(target); break;
4466 }
4467}
4468
4469//=============================================================================
4470// Attack Functions

Callers 1

Calls 5

showSubMenuFunction · 0.85
runWriteAccessTestFunction · 0.85
runAudioControlTestFunction · 0.85
runProtocolFuzzerFunction · 0.85
runHIDTestFunction · 0.85

Tested by

no test coverage detected