Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
document
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨苏杭
document
Commits
63624fbe
Commit
63624fbe
authored
Dec 10, 2018
by
yangsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改后
parent
1f5df21e
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
21 deletions
+26
-21
resources/docs/1.0/cdz/protocol/certify.md
+2
-0
resources/docs/1.0/cdz/protocol/charger_over.md
+3
-3
resources/docs/1.0/cdz/protocol/heart.md
+2
-1
resources/docs/1.0/cdz/protocol/port_state.md
+5
-6
resources/docs/1.0/cdz/protocol/state.md
+1
-1
resources/docs/1.0/cdz/protocol/sync_port.md
+2
-1
resources/docs/1.0/cdz/protocol/update/check_version.md
+1
-0
resources/docs/1.0/cdz/protocol/update/current_version.md
+2
-0
resources/docs/1.0/cdz/protocol/update_power.md
+8
-9
No files found.
resources/docs/1.0/cdz/protocol/certify.md
View file @
63624fbe
...
...
@@ -27,6 +27,7 @@
|4|length|2|包长|
|5|nonce|1|-|
|6|mac|6|-|
|7|crc|1|-|
<larecipe-badge
type=
"danger"
>
服务器下发
</larecipe-badge>
...
...
@@ -39,4 +40,5 @@
|4|length|2|包长|
|5|nonce|1|-|
|6|sign|4|-|
|7|crc|1|-|
resources/docs/1.0/cdz/protocol/charger_over.md
View file @
63624fbe
...
...
@@ -28,7 +28,7 @@
|5|nonce|1|-|
|6|port_logic|1|端口逻辑号
|7|order|6|订单号
|8|finish_state|1|结束
类型
|
|8|finish_state|1|结束
状态
|
|9|crc|1|-|
...
...
@@ -44,11 +44,11 @@
|3|header_ctrl|1|05|
|4|length|2|包长|
|5|nonce|1|-|
|6|type|1|结束类型|
|6|type|1|结束类型
(01)
|
|7|logic|1|逻辑号|
|8|finish_state|1|结束状态|
|9|order|6|订单号|
|10|capacity|
2
|结束口子用电量|
|10|capacity|
4
|结束口子用电量|
|11|crc|1|-|
<larecipe-badge
type=
"danger"
>
服务器下发
</larecipe-badge>
...
...
resources/docs/1.0/cdz/protocol/heart.md
View file @
63624fbe
...
...
@@ -38,5 +38,5 @@
|3|header_ctrl|1|00|
|4|length|2|包长|
|5|nonce|1|-|
|6|time|4|
-
|
|6|time|4|
时间戳(PRC)
|
|7|crc|1|-|
\ No newline at end of file
resources/docs/1.0/cdz/protocol/port_state.md
View file @
63624fbe
...
...
@@ -23,11 +23,10 @@
|:|:|:|:|
|1|preamble|2|-|
|2|header_flag|1|-|
|3|header_ctrl|1|0
8
|
|3|header_ctrl|1|0
B
|
|4|length|2|包长|
|5|nonce|1|-|
|6|count|1|端口数|
|7|port_logic|1|端口逻辑号|
|8|mac|8 |端口mac地址|
|9|state|1|端口状态|
|10|crc|1|-|
|6|port_logic|1|端口逻辑号|
|7|mac|8 |端口mac地址|
|8|state|1|端口状态|
|9|crc|1|-|
resources/docs/1.0/cdz/protocol/state.md
View file @
63624fbe
...
...
@@ -16,7 +16,7 @@
- [拉取配置](/docs/{{version}}/cdz/protocol/setting)
- [状态码](/docs/{{version}}/cdz/protocol/state)
|值|说明|
|值
(十进制)
|说明|
|:|:|
|10|离线|
|11|在线|
...
...
resources/docs/1.0/cdz/protocol/sync_port.md
View file @
63624fbe
...
...
@@ -51,6 +51,6 @@
|8|order_count|1|同步订单数|
|9|order_logic_num|1|订单逻辑号|
|10|order_num|6|订单号|
|11|order_time|2|
订单
时间|
|11|order_time|2|
剩余充电
时间|
|..|..|..|订单逻辑号-订单号-订单时间|
|12|crc|1|-|
\ No newline at end of file
resources/docs/1.0/cdz/protocol/update/check_version.md
View file @
63624fbe
...
...
@@ -40,6 +40,7 @@
|return_code|说明|
|:|:|
|10|当前版本为最新版本|
|11|当前无资源,稍后再试|
|12|请更新版本|
...
...
resources/docs/1.0/cdz/protocol/update/current_version.md
View file @
63624fbe
...
...
@@ -20,3 +20,4 @@
|5|nonce|1|-|
|6|hardware_version|4|-|
|7|software_version|4-|
|8|crc|-|
\ No newline at end of file
resources/docs/1.0/cdz/protocol/update_power.md
View file @
63624fbe
...
...
@@ -26,9 +26,9 @@
|3|header_ctrl|1|17|
|4|length|2|包长|
|5|nonce|1|-|
|6|logic_id|1|
-
|
|7|power|2|
-
|
|8|capacity|4|
-
|
|6|logic_id|1|
逻辑号
|
|7|power|2|
功率
|
|8|capacity|4|
用电量
|
|9|crc|1|-|
...
...
@@ -39,13 +39,12 @@
|3|header_ctrl|1|07|
|4|length|2|包长|
|5|nonce|1|-|
|6|logic_id|1|
-
|
|7|start_time|4|
-
|
|8|interval_time|1|
-
|
|6|logic_id|1|
逻辑号
|
|7|start_time|4|
开始时间
|
|8|interval_time|1|
间隔时间(秒)
|
|9|count|1|-|
|10|power|2|-|
|11|capacity|4|-|
|..|..|..|-|
|10|power|2
*
n|-|
|11|capacity|4
*
n|-|
|12|crc|1|-|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment