File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
src/BootstrapBlazor.Server/Components/Samples Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments