Add "Show BLE bandwidth usage" option to developer settings

This commit is contained in:
James Babcock committed 2026-09-01 00:33:07 -07:00
1 parent 641e8e322e
commit 85508b87ca
10 files changed
+153 -2

No files matched your search

+9
View File
@@ -399,6 +399,15 @@ export const useMicControlSetting = new ConfigSettingBoolean({
"Use the custom firmware's per-temple mic-control channel (caps token micctl) for the Microphones app's array capture. When off, behave as if the firmware doesn't have the feature and use the standard single mixed stream.",
});
export const showBleBandwidthSetting = new ConfigSettingBoolean({
id: "show-ble-bandwidth",
label: "Show BLE bandwidth usage",
storageKey: "developer.showBleBandwidth",
defaultValue: false,
description:
"Show a running total of Bluetooth messages and bytes sent, at the bottom of the phone app's main screen.",
});
export type RingConnectionMode = "glasses" | "direct";
export const ringConnectionModeSetting = new ConfigSettingEnum<RingConnectionMode>({
+2
View File
@@ -47,6 +47,7 @@ import {
firmwareDebugFlagsSetting,
lockScreenEnabledSetting,
saveVoiceRecordingsSetting,
showBleBandwidthSetting,
suspendEvenHubWhenScreenOffSetting,
terminalAutoReconnectSetting,
terminalLaunchPresetsSetting,
@@ -176,6 +177,7 @@ function settingsSections(): SettingsSection[] {
toggleSettingMenuItem(firmwareDebugFlagsSetting),
toggleSettingMenuItem(suspendEvenHubWhenScreenOffSetting),
toggleSettingMenuItem(useMicControlSetting),
toggleSettingMenuItem(showBleBandwidthSetting),
],
},
{