Skip to content

Commit aa27ccc

Browse files
committed
doc: 更新文档
1 parent bb3c09d commit aa27ccc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/BootstrapBlazor.Server/Components/Samples/Bluetooth.razor

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,17 @@ if (BluetoothService.IsSupport == false)
9090
<p><code>IBluetoothService</code> 与 <code>IBluetoothDevice</code> 所有实例方法均有返回值,可通过查看其实例属性 <code>ErrorMessage</code> 获得上一次执行的错误描述信息</p>
9191

9292
<p><code>IBluetoothDevice</code> 实例方法 <code>ReadValue</code> 是通用方法,通过参数指定<code>Services</code> 与 <code>Characteristics</code></p>
93+
94+
<p>可根据自己的业务需求自定义扩展方法,内置扩展方法列表如下:</p>
95+
96+
<ul class="ul-demo">
97+
<li><code>GetBatteryValue</code> 读取电量方法</li>
98+
</ul>
99+
100+
<p class="code-label">相关文档</p>
101+
102+
<ul class="ul-demo">
103+
<li>Service List:<a href="https://github.com/WebBluetoothCG/registries/blob/master/gatt_assigned_services.txt" target="_blank">[传送门]</a></li>
104+
<li>Characteristics List:<a href="https://github.com/WebBluetoothCG/registries/blob/master/gatt_assigned_characteristics.txt" target="_blank">[传送门]</a></li>
105+
<li>Descriptors List:<a href="https://github.com/WebBluetoothCG/registries/blob/master/gatt_assigned_descriptors.txt" target="_blank">[传送门]</a></li>
106+
</ul>

0 commit comments

Comments
 (0)