Add a BLE bandwidth estimation tool to the Developer/Debug tests menu

This commit is contained in:
James Babcock committed 2026-08-24 17:45:01 -07:00
1 parent 208b14e928
commit 1d81ed7881
4 files changed
+505 -6

No files matched your search

+7
View File
@@ -2,6 +2,7 @@ import { MenuLayer, drawSubmenuIndicator, type MenuItem } from "../../ui/menu";
import { ScreenTestLayer } from "./screen-test";
import { BuzzerDemoLayer } from "./buzzer-demo";
import { AccelerometerDemoLayer } from "./accelerometer-demo";
import { BandwidthBenchmarkLayer } from "./bandwidth-benchmark";
import { ResourceUsageLayer } from "./resource-usage";
import { LoadAppFromQrLayer, LoadAppFromUrlLayer } from "./load-app";
import { type AppContext } from "../app-definition";
@@ -67,6 +68,12 @@ function debugTestsMenu(): MenuLayer {
ctx.stack.push(new AccelerometerDemoLayer(DEVELOPER_WINDOW_ID, ctx.actions.requestRender));
},
},
{
label: "BLE bandwidth",
onSelect: (ctx) => {
ctx.stack.push(new BandwidthBenchmarkLayer(ctx.actions.requestRender));
},
},
],
MENU_LAYOUT,
);