Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
6b64e519
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6b64e519
编写于
4月 03, 2023
作者:
O
openharmony_ci
提交者:
Gitee
4月 03, 2023
浏览文件
操作
浏览文件
下载
差异文件
!16710 [翻译完成】#I6N67Q
Merge pull request !16710 from Annie_wang/PR15990
上级
c504533f
b49ad74f
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
5530 addition
and
858 deletion
+5530
-858
en/application-dev/reference/apis/Readme-EN.md
en/application-dev/reference/apis/Readme-EN.md
+2
-1
en/application-dev/reference/apis/js-apis-bluetooth.md
en/application-dev/reference/apis/js-apis-bluetooth.md
+497
-447
en/application-dev/reference/apis/js-apis-bluetoothManager.md
...pplication-dev/reference/apis/js-apis-bluetoothManager.md
+4491
-0
en/application-dev/reference/apis/js-apis-fileio.md
en/application-dev/reference/apis/js-apis-fileio.md
+406
-406
en/application-dev/reference/apis/js-apis-system-bluetooth.md
...pplication-dev/reference/apis/js-apis-system-bluetooth.md
+0
-2
en/application-dev/reference/errorcodes/Readme-EN.md
en/application-dev/reference/errorcodes/Readme-EN.md
+3
-2
en/application-dev/reference/errorcodes/errorcode-bluetoothManager.md
...on-dev/reference/errorcodes/errorcode-bluetoothManager.md
+131
-0
未找到文件。
en/application-dev/reference/apis/Readme-EN.md
浏览文件 @
6b64e519
...
...
@@ -268,7 +268,7 @@
-
[
@ohos.request (Upload and Download)
](
js-apis-request.md
)
-
Connectivity
-
[
@ohos.bluetooth
(Bluetooth)
](
js-apis-bluetooth
.md
)
-
[
@ohos.bluetooth
Manager (Bluetooth)(js-apis-bluetoothManager
.md)
- [@ohos.connectedTag (Active Tags)
](
js-apis-connectedTag.md
)
-
[
@ohos.nfc.cardEmulation (Standard NFC Card Emulation)
](
js-apis-cardEmulation.md
)
-
[
@ohos.nfc.controller (Standard NFC)
](
js-apis-nfcController.md
)
...
...
@@ -392,6 +392,7 @@
-
APIs No Longer Maintained
-
[
@ohos.backgroundTaskManager (Background Task Management)
](
js-apis-backgroundTaskManager.md
)
-
[
@ohos.bluetooth (Bluetooth)
](
js-apis-bluetooth.md
)
-
[
@ohos.bundle (Bundle)
](
js-apis-Bundle.md
)
-
[
@ohos.bundle.innerBundleManager (innerBundleManager)
](
js-apis-Bundle-InnerBundleManager.md
)
-
[
@ohos.bundleState (Device Usage Statistics)
](
js-apis-deviceUsageStatistics.md
)
...
...
en/application-dev/reference/apis/js-apis-bluetooth.md
浏览文件 @
6b64e519
此差异已折叠。
点击以展开。
en/application-dev/reference/apis/js-apis-bluetoothManager.md
0 → 100644
浏览文件 @
6b64e519
此差异已折叠。
点击以展开。
en/application-dev/reference/apis/js-apis-fileio.md
浏览文件 @
6b64e519
此差异已折叠。
点击以展开。
en/application-dev/reference/apis/js-apis-system-bluetooth.md
浏览文件 @
6b64e519
...
...
@@ -22,7 +22,6 @@ Scans for Bluetooth Low Energy (BLE) devices nearby. This operation consumes sys
**System capability**
: SystemCapability.Communication.Bluetooth.Lite
**Parameters**
**Table 1**
StartBLEScanOptions
| Name| Type| Mandatory| Description|
...
...
@@ -57,7 +56,6 @@ Stops scanning for BLE devices nearby. This API is used with [bluetooth.startBLE
**System capability**
: SystemCapability.Communication.Bluetooth.Lite
**Parameters**
**Table 2**
StopBLEScanOptions
| Name| Type| Mandatory| Description|
...
...
en/application-dev/reference/errorcodes/Readme-EN.md
浏览文件 @
6b64e519
...
...
@@ -57,10 +57,11 @@
-
[
Network Sharing Error Codes
](
errorcode-net-sharing.md
)
-
[
Policy Management Error Codes
](
errorcode-net-policy.md
)
-
Connectivity
-
[
Wi-Fi Error Codes
](
errorcode-wifi.md
)
-
[
Bluetooth Error Codes
](
errorcode-bluetoothManager.md
)
-
[
Wi-Fi Error Codes
](
errorcode-wifi.md
)
-
[
NFC Error Codes
](
errorcode-nfc.md
)
-
[
RPC Error Codes
](
errorcode-rpc.md
)
-
Basic Features
-
Basic Features
-
[
Accessibility Error Codes
](
errorcode-accessibility.md
)
-
[
FaultLogger Error Codes
](
errorcode-faultlogger.md
)
-
[
Application Event Logging Error Codes
](
errorcode-hiappevent.md
)
...
...
en/application-dev/reference/errorcodes/errorcode-bluetoothManager.md
0 → 100644
浏览文件 @
6b64e519
# Bluetooth Error Codes
> **NOTE**
>
> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).
## 2900001
**Error Message**
Service stopped.
**Description**
The Bluetooth service is stopped, and the APIs related to the Bluetooth service cannot be called.
**Possible Causes**
The Bluetooth service fails to start.
**Solution**
Start the Bluetooth service.
## 2900003
**Error Message**
Bluetooth switch is off.
**Description**
Bluetooth is disabled.
**Possible Causes**
Bluetooth is disabled.
**Solution**
Enable Bluetooth.
## 2900004
**Error Message**
Profile is not supported.
**Description**
The profile is not supported.
**Possible Causes**
The profile is not supported by the device.
**Solution**
Check whether the device supports the profile. Use a profile supported by the device.
## 2900099
**Error Message**
Operation failed.
**Description**
The operation failed.
**Possible Causes**
The profile is not supported by the device.
**Solution**
Perform this operation again.
## 2901000
**Error Message**
Read forbidden.
**Description**
The read operation is not allowed.
**Possible Causes**
The caller does not have the read permission.
**Solution**
Check whether the caller has the read permission.
## 2901001
**Error Message**
Write forbidden.
**Description**
The write operation is not allowed.
**Possible Causes**
The caller does not have the write permission.
**Solution**
Check whether the caller has the write permission.
## 2901054
**Error Message**
IO error.
**Description**
The I/O operation failed.
**Possible Causes**
The I/O transmission is abnormal.
**Solution**
Perform this operation again.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录