You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ButtonText="@Localizer["BluetoothGetServicesText"]"Icon="fa-solid fa-microchip"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="GetServices"></Button>
62
+
<ButtonText="@Localizer["BluetoothGetServicesText"]"Icon="fa-solid fa-server"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="GetServices"></Button>
<ButtonText="@Localizer["BluetoothGetCharacteristicsText"]"Icon="fa-solid fa-microchip"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="GetCharacteristics"></Button>
68
+
<ButtonText="@Localizer["BluetoothGetCharacteristicsText"]"Icon="fa-solid fa-plug"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="GetCharacteristics"></Button>
<ButtonText="@Localizer["BluetoothReadValueText"]"Icon="fa-solid fa-microchip"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="ReadValue"></Button>
74
+
<ButtonText="@Localizer["BluetoothReadValueText"]"Icon="fa-solid fa-memory"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="ReadValue"></Button>
<ButtonText="@Localizer["BluetoothStartText"]"Icon="fa-solid fa-play"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="StartNotifications"></Button>
81
+
</div>
82
+
<divclass="col-12">
83
+
<ButtonText="@Localizer["BluetoothStopText"]"Icon="fa-solid fa-stop"IsDisabled="@(_blueDevice is not { Connected: true })"OnClick="StopNotifications"></Button>
Copy file name to clipboardExpand all lines: src/BootstrapBlazor.Server/Locales/en-US.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5892,7 +5892,7 @@
5892
5892
"BluetoothDescription": "Allows websites to communicate with Bluetooth devices connected to the user's computer. For example, you can connect to a Bluetooth printer to print.",
5893
5893
"BluetoothTipsLi1": "This feature is available only in secure contexts (HTTPS)",
5894
5894
"BluetoothTipsLi2": "This is an experimental technology Check the <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth#browser_compatibility\" target=\"_blank\">Browser compatibility table</a> carefully before using this in production",
5895
-
"BluetoothTipsTitle": "Note: The <code>IBluetoothService</code> interface instance inherits <code>IAsyncDisposable</code>. When switching routes, you need to release its resources by calling its <code>DisposeAsync</code>.",
5895
+
"BluetoothTipsTitle": "Note: The <code>IBluetoothDevice</code> interface instance inherits <code>IAsyncDisposable</code>. When switching routes, you need to release its resources by calling its <code>DisposeAsync</code>.",
5896
5896
"NotSupportBluetoothTitle": "Scan Devices",
5897
5897
"NotSupportBluetoothContent": "The current browser does not support serial port operations. Please change to Edge or Chrome browser.",
5898
5898
"BluetoothRequestText": "Scan",
@@ -5901,7 +5901,7 @@
5901
5901
"BluetoothGetBatteryText": "Battery",
5902
5902
"BluetoothGetHeartRateText": "HeartRate",
5903
5903
"BaseUsageTitle": "Basic usage",
5904
-
"BaseUsageIntro": "Request communication with Bluetooth devices through the <code>IBluetoothService</code> service",
5904
+
"BaseUsageIntro": "Request communication with Bluetooth devices through the <code>IBluetooth</code> service",
5905
5905
"BluetoothGetCurrentTimeText": "Time",
5906
5906
"BluetoothDeviceInfoText": "Device Info",
5907
5907
"UsageDesc": "Click the Scan button and select the phone to test in the pop-up window",
0 commit comments