@@ -5,30 +5,42 @@ Most repo commands and status reports are Data packets whose Content contains
55``RepoCommandParam `` or ``RepoCommandRes `` structure.
66These Data are issued via Pub-Sub protocol.
77Each ``RepoCommandParam `` and ``RepoCommandRes `` contains
8- multiple ``ObjectParam `` and ``ObjectResult ``, resp.
8+ multiple ``ObjParam `` and ``ObjStatus ``, resp.
99These structures are defined as follows:
1010
1111..code-block ::abnf
1212
13- ObjectParam =
13+ ObjParam =
1414 Name
1515 [ForwardingHint]
1616 [StartBlockId]
1717 [EndBlockId]
1818 [RegisterPrefix]
1919
20- ObjectResult =
20+ SyncParam =
21+ SyncPrefix
22+ [RegisterPrefix]
23+ [DataNameDedupe]
24+ [Reset]
25+
26+ ObjStatus =
2127 Name
2228 StatusCode
2329 [InsertNum]
2430 [DeleteNum]
2531
32+ SyncStatus =
33+ Name
34+ StatusCode
35+
2636 RepoCommandParam =
27- 1 * (OBJECT-PARAM-TYPE TLV-LENGTH ObjectParam)
37+ 0* (OBJECT-PARAM-TYPE TLV-LENGTH ObjParam)
38+ 0* (SYNC-PARAM-TYPE TLV-LENGTH SyncParam)
2839
2940 RepoCommandRes =
3041 StatusCode
31- 0 * (OBJECT-RESULT-TYPE TLV-LENGTH ObjectResult)
42+ 0* (OBJECT-RESULT-TYPE TLV-LENGTH ObjStatus)
43+ 0* (SYNC-RESULT-TYPE TLV-LENGTH SyncStatus)
3244
3345 RepoStatQuery =
3446 RequestNo
@@ -41,6 +53,12 @@ These structures are defined as follows:
4153
4254 RegisterPrefix = REGISTER-PREFIX-TYPE TLV-LENGTH Name
4355
56+ SyncPrefix = SYNC-PREFIX-TYPE TLV-LENGTH Name
57+
58+ DataNameDedupe = SYNC-DATA-NAME-DEDUPE-TYPE TLV-LENGTH ; TLV-LENGTH = 0
59+
60+ Reset = SYNC-RESET-TYPE TLV-LENGTH ; TLV-LENGTH = 0
61+
4462 StatusCode = STATUS-CODE-TYPE TLV-LENGTH NonNegativeInteger
4563
4664 InsertNum = INSERT-NUM-TYPE TLV-LENGTH NonNegativeInteger
@@ -51,29 +69,39 @@ These structures are defined as follows:
5169
5270 The type number assignments are as follows:
5371
54- +----------------------+----------------------------+--------------------------------+
55- | type| Assigned number (decimal)| Assigned number (hexadecimal)|
56- +======================+============================+================================+
57- | START-BLOCK-ID-TYPE| 204| 0xCC|
58- +----------------------+----------------------------+--------------------------------+
59- | END-BLOCK-ID-TYPE| 205| 0xCD|
60- +----------------------+----------------------------+--------------------------------+
61- | REQUEST-NO-TYPE| 206| 0xCE|
62- +----------------------+----------------------------+--------------------------------+
63- | STATUS-CODE-TYPE| 208| 0xD0|
64- +----------------------+----------------------------+--------------------------------+
65- | INSERT-NUM-TYPE| 209| 0xD1|
66- +----------------------+----------------------------+--------------------------------+
67- | DELETE-NUM-TYPE| 210| 0xD2|
68- +----------------------+----------------------------+--------------------------------+
69- | FORWARDING-HINT-TYPE| 211| 0xD3|
70- +----------------------+----------------------------+--------------------------------+
71- | REGISTER-PREFIX-TYPE| 212| 0xD4|
72- +----------------------+----------------------------+--------------------------------+
73- | OBJECT-PARAM-TYPE| 301| 0x12D|
74- +----------------------+----------------------------+--------------------------------+
75- | OBJECT-RESULT-TYPE| 302| 0x12E|
76- +----------------------+----------------------------+--------------------------------+
72+ +----------------------------+----------------------------+--------------------------------+
73+ | type| Assigned number (decimal)| Assigned number (hexadecimal)|
74+ +============================+============================+================================+
75+ | START-BLOCK-ID-TYPE| 204| 0xCC|
76+ +----------------------------+----------------------------+--------------------------------+
77+ | END-BLOCK-ID-TYPE| 205| 0xCD|
78+ +----------------------------+----------------------------+--------------------------------+
79+ | REQUEST-NO-TYPE| 206| 0xCE|
80+ +----------------------------+----------------------------+--------------------------------+
81+ | STATUS-CODE-TYPE| 208| 0xD0|
82+ +----------------------------+----------------------------+--------------------------------+
83+ | INSERT-NUM-TYPE| 209| 0xD1|
84+ +----------------------------+----------------------------+--------------------------------+
85+ | DELETE-NUM-TYPE| 210| 0xD2|
86+ +----------------------------+----------------------------+--------------------------------+
87+ | FORWARDING-HINT-TYPE| 211| 0xD3|
88+ +----------------------------+----------------------------+--------------------------------+
89+ | REGISTER-PREFIX-TYPE| 212| 0xD4|
90+ +----------------------------+----------------------------+--------------------------------+
91+ | OBJECT-PARAM-TYPE| 301| 0x12D|
92+ +----------------------------+----------------------------+--------------------------------+
93+ | OBJECT-RESULT-TYPE| 302| 0x12E|
94+ +----------------------------+----------------------------+--------------------------------+
95+ | SYNC-PARAM-TYPE| 401| 0x191|
96+ +----------------------------+----------------------------+--------------------------------+
97+ | SYNC-RESULT-TYPE| 402| 0x192|
98+ +----------------------------+----------------------------+--------------------------------+
99+ | SYNC-DATA-NAME-DEDUPE-TYPE| 403| 0x193|
100+ +----------------------------+----------------------------+--------------------------------+
101+ | SYNC-RESET-TYPE| 404| 0x194|
102+ +----------------------------+----------------------------+--------------------------------+
103+ | SYNC-PREFIX-TYPE| 405| 0x195|
104+ +----------------------------+----------------------------+--------------------------------+
77105
78106
79107Status Code Definition