/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/BleDoc/ |
H A D | BLE功能界面使用说明文档.md | 1 ## BLE蓝牙使用说明文档 5 #### 从主界面跳转到BLE蓝牙部分 7  15  21 >BLE扫描过滤参数包括: 27 >BLE扫描配置包括: 45 #### BLE蓝牙的主要接口 62 1. 开始/停止BLE扫描 66 > 开始BLE扫描: 78 2. BLE设备查找变化 [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/BleManagerDoc/ |
H A D | BLE蓝牙Manager使用说明文档.md | 1 ## BLE蓝牙使用说明文档 5 #### 从主界面跳转到BLE蓝牙部分 11 >"BLE扫描过滤参数","BLE扫描配置" 默认都为true,是勾选的;值也是默认填好的。**如果不需要更改,无需打开BleFilter界面**。 15 >BLE扫描过滤参数包括: 21 >BLE扫描配置包括: 122 1. 开始/停止BLE扫描 126 > 开始BLE扫描: 132 > 停止BLE扫描。 151 2. BLE设备查找变化 155 - 订阅BLE扫描结果。 [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/GattDoc/ |
H A D | Gatt功能界面使用说明文档.md | 73 > 连接:连接到BLE外围设备。如果连接进程启动,返回信息为true;否则返回false。 94 - 验证方法:在事件变化后,查看是否有弹窗信息显示,或直接查看其BLE连接状态。 98 - 使用指导:禁用BLE外围设备。 104 - 使用指导:点击后,开始发现服务。返回的信息为BLE外围设备的服务GattService列表。 110 - 使用指导:点击后,读取BLE外围设备的特性。characteristic表示要读取的特征。 116 - 使用指导:点击后,读取BLE外围设备的描述符。descriptor表示要读取的描述符。 132 10. BLE特征值变化 166 - 使用指导:获取此BLE外围设备的RSSI值。return返回RSSI值。 236 >- 启动BLE广播。 237 >- setting指示BLE广播的设置。如果需要使用默认值,将此参数设置为null。 [all …]
|
/ohos5.0/foundation/communication/bluetooth/ |
H A D | README_zh.md | 15 蓝牙服务组件为设备提供接入与使用Bluetooth的相关接口,包括BLE设备gatt相关的操作,以及BLE广播、扫描等功能。 37 现在提供的是BLE相关接口及GAP基本开关蓝牙的接口,其它接口暂不提供。 41 标准系统提供C接口定义及服务和协议栈的代码,目前提供的只有BLE相关的接口,包括BLE设备gatt相关的操作,以及BLE广播、扫描等功能,其它A2DP,AVRCP,HFP等相关接口在后续增量发布。 53 轻量或小型系统只提供C接口定义,目前只有BLE相关接口,包括BLE设备gatt相关的操作,以及BLE广播、扫描等功能,其它A2DP,AVRCP,HFP等相关接口在后续增量发布。 115 - 设备需要完成以下接口的开发步骤,以使能BLE广播的发送: 124 - 若需要扫描功能,设备需要完成以下接口的开发步骤,以使能BLE扫描功能:
|
H A D | README.md | 15 …PIs for Generic Attribute Profile (GATT) operations, Bluetooth Low Energy (BLE) advertising, and s… 37 Only BLE-related APIs and basic Bluetooth Generic Access Profile (GAP) APIs are provided. 41 … standard system. Currently, only the BLE-related APIs, including the APIs for GATT operations on … 53 Only C APIs for BLE, such as APIs for GATT operations, BLE advertising, and scan, are provided for … 68 /* Enable BLE. */ 70 /* Disable BLE. */ 79 /* Check whether BLE is enabled. */ 115 - Enable BLE advertising. 124 - Enable BLE scan.
|
/ohos5.0/docs/en/application-dev/connectivity/bluetooth/ |
H A D | ble-development-guide.md | 1 # BLE Development 9 - Start and stop BLE advertising. 10 - Start and stop BLE scanning. 33 ### Starting and Stopping BLE Advertising 38 5. Stop BLE advertising. 65 // 2.1 Set BLE advertising parameters. 109 // 2.4 Start BLE advertising the first time. The ID of the BLE advertising is returned. 132 // 5. Enable the BLE advertising again. 139 // 5.2 Enable BLE advertising again. 166 ### Starting and Stop BLE Scanning [all …]
|
H A D | gatt-development-guide.md | 4 …overy and description services for BLE protocol. It defines how ATT attributes are organized and e… 22 | connect() | Connects the client to the remote BLE device. … 23 | disconnect() | Disconnects the client from the remote BLE device. … 25 | getDeviceName() | Obtains the name of the remote BLE device for the cl… 26 | getServices() | Obtains all services of the remote BLE device for th… 27 … | Reads a characteristic value of a service of the remote BLE device. … 29 | writeCharacteristicValue() | Writes a characteristic value to the remote BLE devi… 30 | writeDescriptorValue() | Writes binary data to a descriptor of the remote BLE… 36 | off(type: 'BLECharacteristicChange') | Unsubscribes from the BLE characteristic changes. … 37 | on(type: 'BLEConnectionStateChange') | Subscribes to the BLE connection state changes for t… [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/GattManagerDoc/ |
H A D | GattManager测试使用说明文档.md | 125 > 连接:连接到BLE外围设备。如果连接进程启动,返回信息为true;否则返回false。 156 - 验证方法:在事件变化后,查看是否有弹窗信息显示,或直接查看其BLE连接状态。 160 - 使用指导:禁用BLE外围设备。 196 - 使用指导:点击后,读取BLE外围设备的描述符。descriptor表示要读取的描述符。 233 10. BLE特征值变化 283 - 使用指导:获取此BLE外围设备的RSSI值。return返回RSSI值。 336 >#### AdvertiseData 描述BLE广播数据包的内容 346 >#### ManufactureData 描述BLE广播数据包的内容 414 >- 启动BLE广播。 415 >- setting指示BLE广播的设置。如果需要使用默认值,将此参数设置为null。 [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ScenarioDoc/ |
H A D | 场景测试使用说明文档.md | 9 …一次"场景测试"按钮后,调用对应api实现一个较为简单的实际场景,并将所有返回值显示出来。如:经典蓝牙类实现的是一个简单的蓝牙发现的场景;BLE类实现的是一个搜索BLE的场景;gatt类实现的是一… 33 进入界面后,点击"场景测试开始"按钮,遍历测试ohos.bluetooth.d.ts中BLE类所需要的接口,测试顺序有一定的逻辑先后关系,自动完成一套BLE发现的场景测试,会显示相… 39 进入界面后,点击"场景测试开始"按钮,遍历测试ohos.bluetoothManager.d.ts中BLE类所需要的接口,测试顺序有一定的逻辑先后关系,自动完成一套BLE发现的场景…
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/BenchmarkDoc/ |
H A D | 性能测试使用说明文档.md | 41 #### 3. BLE蓝牙发现测试界面(ohos.bluetooth.d.ts) 43 速率测试:(测试一次,以求出BLE蓝牙的发现时间) 49 稳定性测试:(设定为循环测试十次,以求平均的BLE蓝牙发现时间) 55 进入界面后,点击"性能测试准备"按钮,调用ohos.bluetooth.d.ts中BLE类所需要的接口,测试顺序有一定的逻辑先后关系,自动完成性能测试前需要准备的操作如设置名称,模… 59 #### 4. BLE蓝牙发现测试界面(ohos.bluetoothManager.d.ts) 61 进入界面后,点击"性能测试准备"按钮,调用ohos.bluetoothManager.d.ts中BLE类所需要的接口,测试顺序有一定的逻辑先后关系,自动完成性能测试前需要准备的操作…
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ |
H A D | 使用说明文档.md | 13 [communication_bluetooth: 蓝牙服务组件为设备提供接入与使用Bluetooth的相关接口,包括BLE设备gatt相关的操作,以及BLE广播、扫描等功能。 (gitee.com… 184 >2. BLE蓝牙模块接口测试 186 > BLE功能界面使用说明文档.md 207 >2. BLE蓝牙Manager模块接口测试 225 >2. BLE蓝牙模块自动测试 243 >2. BLE蓝牙Manager自动测试 258 >2. BLE蓝牙发现场景测试 275 >2. BLE蓝牙Manager发现场景测试
|
/ohos5.0/drivers/interface/bluetooth/lp_ble/v1_0/ |
H A D | IDeviceCallback.idl | 20 * @brief Provides APIs for the low power BLE service. 29 * @brief Declares the callbacks for the low power BLE module. 36 * @brief Declares the path of the low power BLE module interface package. 43 * @brief Defines the device callback for the low power BLE module. 45 …* Before enabling the low power BLE feature, you need to register this callback to report the info…
|
H A D | IWakeupCallback.idl | 20 * @brief Provides APIs for the low power BLE service. 29 * @brief Declares the callbacks for the low power BLE module. 36 * @brief Declares the path of the low power BLE module interface package. 43 * @brief Defines the wakeup message callback for the low power BLE module. 45 …* Before enabling the low power BLE feature, you need to register this callback to report the info…
|
H A D | IBleCallback.idl | 20 * @brief Provides APIs for the low power BLE service. 29 * @brief Declares the callbacks for the low power BLE module. 36 * @brief Declares the path of the low power BLE module interface package. 43 * @brief Defines the message callback for the low power BLE module. 45 …* Before enabling the low power BLE feature, you need to register this callback to report the info…
|
H A D | IBleInterface.idl | 20 * @brief Provides APIs for the low power BLE service. 29 * @brief Declares the callbacks for the low power BLE module. 36 * @brief Declares the path of the low power BLE module interface package. 43 * @brief Defines the message callback for the low power BLE module. 50 * @brief Defines the device callback for the low power BLE module. 57 * @brief Defines the wakeup message callback for the low power BLE module.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth.md | 3 蓝牙模块提供了基础的传统蓝牙能力以及BLE的扫描、广播等功能。 1118 ## BLE section 1178 获取和当前设备连接的BLE设备。 1204 发起BLE扫描流程。 1252 停止BLE扫描流程。 1276 订阅BLE设备发现上报事件。 1310 取消订阅BLE设备发现上报事件。 1724 开始发送BLE广播。 1797 停止发送BLE广播。 3625 描述BLE广播数据包的内容。 [all …]
|
H A D | js-apis-bluetoothManager.md | 3 蓝牙模块提供了基础的传统蓝牙能力以及BLE的扫描、广播等功能。 1561 ## BLE section 1637 获取和当前设备连接的BLE设备。 1680 发起BLE扫描流程。 1739 停止BLE扫描流程。 1776 订阅BLE设备发现上报事件。 1822 取消订阅BLE设备发现上报事件。 2616 开始发送BLE广播。 2699 停止发送BLE广播。 4965 描述BLE广播数据包的内容。 [all …]
|
/ohos5.0/docs/zh-cn/application-dev/connectivity/bluetooth/ |
H A D | ble-development-guide.md | 14 完整的 JS API 说明以及实例代码请参考:[BLE 接口](../../reference/apis-connectivity-kit/js-apis-bluetooth-ble.md)。 20 | startBLEScan() | 发起BLE扫描流程。 … 21 | stopBLEScan() | 停止BLE扫描流程。 … 22 | startAdvertising() | 开始发送BLE广播。 … 23 | disableAdvertising() | 临时停止BLE广播。 … 24 | enableAdvertising() | 临时启动BLE广播。 … 25 | stopAdvertising() | 停止发送BLE广播。 … 27 | off(type: 'advertisingStateChange')| 取消订阅BLE广播状态。 … 28 | on(type: 'BLEDeviceFind') | 订阅BLE设备发现上报事件。 … 29 | off(type: 'BLEDeviceFind') | 取消订阅BLE设备发现上报事件。 … [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/ |
H A D | BluetoothModelManager.ts | 595 return bluetoothManager.BLE.createGattServer(); 599 return bluetoothManager.BLE.createGattClientDevice(deviceId); 603 return bluetoothManager.BLE.getConnectedBLEDevices(); 610 bluetoothManager.BLE.startBLEScan(filters); 614 bluetoothManager.BLE.startBLEScan(filters, options); 624 bluetoothManager.BLE.stopBLEScan(); 630 …bluetoothManager.BLE.on("BLEDeviceFind", (bleDeviceFindData: Array<bluetoothManager.ScanResult>) =… 641 bluetoothManager.BLE.off('BLEDeviceFind', (bleDeviceFindData) => {
|
H A D | BluetoothModel.ts | 673 return bluetooth.BLE.createGattServer(); 677 return bluetooth.BLE.createGattClientDevice(deviceId); 681 return bluetooth.BLE.getConnectedBLEDevices(); 688 bluetooth.BLE.startBLEScan(filters); 692 bluetooth.BLE.startBLEScan(filters, options); 702 bluetooth.BLE.stopBLEScan(); 708 bluetooth.BLE.on("BLEDeviceFind", (bleDeviceFindData: Array<bluetooth.ScanResult>) => { 719 bluetooth.BLE.off('BLEDeviceFind', (bleDeviceFindData) => {
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/ |
H A D | disc_manager_mock_test.cpp | 200 info.medium = BLE; 229 info.medium = BLE; 289 info.medium = BLE; 318 info.medium = BLE; 416 info.medium = BLE; 445 info.medium = BLE; 505 info.medium = BLE; 534 info.medium = BLE; 616 info.medium = BLE; 696 info.medium = BLE; [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth.md | 1119 ## BLE section 1205 Starts a BLE scan. 1243 bluetooth.BLE.startBLEScan( 1253 Stops the BLE scan. 1269 bluetooth.BLE.stopBLEScan(); 1277 Subscribe to the BLE device discovery events. 1725 Starts BLE advertising. 1798 Stops BLE advertising. 2378 Subscribes to the BLE connection state changes. 2479 Disconnects from the remote BLE device. [all …]
|
H A D | js-apis-system-bluetooth.md | 20 … (BLE) devices nearby. This operation consumes system resources. Call [bluetooth.stopBLEScan](#blu… 54 Stops scanning for BLE devices nearby. This API is used with [bluetooth.startBLEScan(OBJECT)](#blue… 86 Subscribes to the newly detected BLE device. If this API is called multiple times, the last call ta… 102 | devices | Array<BluetoothDevice> | List of the newly detected BLE devices.| 154 | 1109 | The system version does not support BLE.|
|
H A D | js-apis-bluetooth-ble.md | 1 # @ohos.bluetooth.ble (Bluetooth BLE Module) 129 Starts BLE scanning. 187 Stops BLE scanning. 223 Starts BLE advertising. 304 Stops BLE advertising. 1185 Unsubscribes from BLE advertising status. 1274 Unsubscribes from BLE device discovery events. 2219 Connects to the remote BLE device. 2256 Disconnects from the remote BLE device. 3724 Represents a BLE descriptor. [all …]
|
H A D | js-apis-bluetoothManager.md | 1561 ## BLE section 1680 Starts a BLE scan. 1739 Stops the BLE scan. 1765 bluetoothManager.BLE.stopBLEScan(); 1776 Subscribe to the BLE device discovery events. 2616 Starts BLE advertising. 2699 Stops BLE advertising. 3413 Subscribes to the BLE connection state changes. 3549 Disconnects from the remote BLE device. 4304 Subscribes to the BLE connection state changes. [all …]
|