sydapi/DProto/PE.xml
2021-06-29 11:32:24 +08:00

119 lines
3.5 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8" ?>
<packet extend="base">
<req>
<command>
<hex>PE</hex>
</command>
<data extend="data">
<fileType len="1" cn="文档类型">
A“two-up”格式中的第一个信封。
B“two-up”格式中的第二个信封。
C1步格式。
</fileType>
<account len="12" cn="账号" >
账号中去除校验位的最右 12 位
</account>
<algorithmKey len="1" cn="算法标识" required="false">
取值 P可选
</algorithmKey>
<encryptionAlg cn="加密算法" :if=" null != $packet.data.algorithmKey ">
<options>
<option cn="DES">
<hex>0</hex>
</option>
<option cn="3DES(默认)">
<hex>1</hex>
</option>
<option cn="SM4">
<hex>2</hex>
</option>
</options>
</encryptionAlg>
<pinBlock len="16" format="X" cn="PIN 块" >
LMK 对02-03下加密的导出 PINBLOCK。PINBLOCK
格式默认为 01 格式)
</pinBlock>
<pinLen len="2" cn="PIN 长度">
范围为04到12。
</pinLen>
<print cn="打印域">
; 分隔多个打印域
</print>
<tailSep len="1" :if=" null != $packet.data.tail " cn="尾分隔">
可选项。如果显示消息尾域,则该域必须显示。值为
“X19”。
<hex>19</hex>
</tailSep>
<tail maxLen="32" required="false" cn="尾部">
可选项。最大长度为 32个字符。
</tail>
</data>
</req>
<res>
<command>
<hex>PF</hex>
</command>
<data>
<error len="2" cn="错误码" format="X" :catch="catchError('%s')">
<options>
<option cn="无错误">
<hex>00</hex>
</option>
<option cn="LMK 错误">
LMK 错误;报告给管理员。
<hex>13</hex>
</option>
<option cn="来自主机的PIN错误">
<hex>14</hex>
</option>
<option cn="输入数据错">
<hex>15</hex>
</option>
<option cn="打印机没有准备好,没有连接上">
<hex>16</hex>
</option>
<option cn="不在授权状态">
<hex>17</hex>
</option>
<option cn="没有装载格式定义">
<hex>18</hex>
</option>
<option cn="PIN块错误">
<hex>20</hex>
</option>
<option cn="无效的账号">
<hex>22</hex>
</option>
<option cn="输入数据长度错误">
<hex>80</hex>
</option>
</options>
</error>
<tailSep len="1" required="false" cn="尾分隔">
可选项。如果显示消息尾域,则该域必须显示。值为 “X19”。
<hex>19</hex>
</tailSep>
<tail maxLen="32" required="false" cn="尾部">
可选项。最大长度为 32个字符。
</tail>
</data>
</res>
<script>
</script>
</packet>