sydapi/DProto/92.xml
2021-08-11 13:56:19 +08:00

73 lines
1.8 KiB
XML
Raw 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>92</hex>
</command>
<data extend="data">
<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>93</hex>
</command>
<data>
<error len="2" cn="错误码" format="X" :catch="catchError('%s')">
<options>
<option cn="无错误">
<hex>00</hex>
</option>
</options>
</error>
<equipType len="16" cn="设备型号" >
设备型号
</equipType>
<equipNo len="16" cn="设备序号" >
设备序号
</equipNo>
<equipPkLen len="4" cn="设备密钥公钥长度">
设备密钥公钥长度,在下一个域中的字节长度
</equipPkLen>
<equipPk :len="resequipPkLen()" cn="设备密钥公钥" >
设备密钥公钥
</equipPk>
<authSign len="64" cn="授权签名">
授权签名
</authSign>
<tailSep len="1" required="false" cn="尾分隔">
可选项。如果显示消息尾域,则该域必须显示。值为 “X19”。
<hex>19</hex>
</tailSep>
<tail maxLen="32" required="false" cn="尾部">
可选项。最大长度为 32个字符。
</tail>
</data>
</res>
<script>
function resequipPkLen(){
return Util.a2i( $final.getSection('data').getSection('equipPkLen') )
}
</script>
</packet>