未验证 提交 773031fc 编写于 作者: O openharmony_ci 提交者: Gitee

!23452 docs:文档一致性检查

Merge pull request !23452 from wujie/master
...@@ -223,7 +223,7 @@ sendResponse(responseApdu: number[]): void; ...@@ -223,7 +223,7 @@ sendResponse(responseApdu: number[]): void;
### transmit<sup>9+</sup> ### transmit<sup>9+</sup>
transmit(response: number[]): Promise<void>; transmit(response: number[]): Promise\<void>;
发送APDU数据到对端读卡设备。暂不支持使用,仅做接口声明。 发送APDU数据到对端读卡设备。暂不支持使用,仅做接口声明。
...@@ -241,7 +241,7 @@ transmit(response: number[]): Promise<void>; ...@@ -241,7 +241,7 @@ transmit(response: number[]): Promise<void>;
| **类型** | **说明** | | **类型** | **说明** |
| ------- | -------------------------------------- | | ------- | -------------------------------------- |
| Promise<void> | 表示异步回调完成。 | | Promise\<void> | 表示异步回调完成。 |
**错误码:** **错误码:**
...@@ -253,7 +253,7 @@ transmit(response: number[]): Promise<void>; ...@@ -253,7 +253,7 @@ transmit(response: number[]): Promise<void>;
### transmit<sup>9+</sup> ### transmit<sup>9+</sup>
transmit(response: number[], callback: AsyncCallback<void>): void; transmit(response: number[], callback: AsyncCallback\<void>): void;
发送APDU数据到对端读卡设备。暂不支持使用,仅做接口声明。 发送APDU数据到对端读卡设备。暂不支持使用,仅做接口声明。
...@@ -266,7 +266,7 @@ transmit(response: number[], callback: AsyncCallback<void>): void; ...@@ -266,7 +266,7 @@ transmit(response: number[], callback: AsyncCallback<void>): void;
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| ------- | -------- | ---- | ----------------------- | | ------- | -------- | ---- | ----------------------- |
| responseApdu | number[] | 是 | 发送到对端读卡设备的符合APDU协议的数据,每个number十六进制表示,范围是0x00~0xFF。 | | responseApdu | number[] | 是 | 发送到对端读卡设备的符合APDU协议的数据,每个number十六进制表示,范围是0x00~0xFF。 |
| callback | AsyncCallback<void> | 是 | 回调函数void | | callback | AsyncCallback\<void> | 是 | 回调函数void |
**错误码:** **错误码:**
......
...@@ -570,7 +570,7 @@ openBasicChannel(aid: number[]): Promise\<Channel> ...@@ -570,7 +570,7 @@ openBasicChannel(aid: number[]): Promise\<Channel>
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -619,7 +619,7 @@ try { ...@@ -619,7 +619,7 @@ try {
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -675,7 +675,7 @@ openBasicChannel(aid: number[], p2: number): Promise\<Channel> ...@@ -675,7 +675,7 @@ openBasicChannel(aid: number[], p2: number): Promise\<Channel>
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -726,7 +726,7 @@ openBasicChannel(aid: number[], p2:number, callback: AsyncCallback\<Channel>): v ...@@ -726,7 +726,7 @@ openBasicChannel(aid: number[], p2:number, callback: AsyncCallback\<Channel>): v
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -782,7 +782,7 @@ openLogicalChannel(aid: number[]): Promise\<Channel> ...@@ -782,7 +782,7 @@ openLogicalChannel(aid: number[]): Promise\<Channel>
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -831,7 +831,7 @@ try { ...@@ -831,7 +831,7 @@ try {
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -887,7 +887,7 @@ P2通常为0x00。设备应允许P2的任何值,并且应允许以下值: 0x ...@@ -887,7 +887,7 @@ P2通常为0x00。设备应允许P2的任何值,并且应允许以下值: 0x
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -947,7 +947,7 @@ P2通常为0x00。设备应允许P2的任何值,并且应允许以下值: 0x ...@@ -947,7 +947,7 @@ P2通常为0x00。设备应允许P2的任何值,并且应允许以下值: 0x
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session that has been closed. |
| 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. | | 3300102 | NoSuchElementError, the AID on the SE is not available or cannot be selected. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
...@@ -1176,8 +1176,8 @@ transmit(command: number[]): Promise<number[]> ...@@ -1176,8 +1176,8 @@ transmit(command: number[]): Promise<number[]>
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session or channel that has been closed. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the command is filtered by the security policy. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
**示例:** **示例:**
...@@ -1228,8 +1228,8 @@ transmit(command: number[], callback: AsyncCallback<number[]>): void ...@@ -1228,8 +1228,8 @@ transmit(command: number[], callback: AsyncCallback<number[]>): void
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------------------------------- | | -------- | -------------------------------- |
| 3300101 | IllegalStateError, service state exception. | | 3300101 | IllegalStateError, an attempt is made to use an SE session or channel that has been closed. |
| 3300103 | SecurityError, the calling application cannot be granted access to this AID or the default applet on this session. | | 3300103 | SecurityError, the command is filtered by the security policy. |
| 3300104 | IOError, there is a communication problem to the reader or the SE. | | 3300104 | IOError, there is a communication problem to the reader or the SE. |
**示例:** **示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册