forked from Blendman974/faceclaw
Add "Show BLE bandwidth usage" option to developer settings
This commit is contained in:
1 parent
641e8e322e
commit
85508b87ca
10 files changed
+153
-2
No files matched your search
@@ -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>({
|
||||
|
||||
@@ -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),
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user