You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -67,7 +69,7 @@ IOT PROTOCOL uses middlewares and router's filtering features based on [express
67
69
68
70
### IOT_PROTOCOL_BUFFER_SIZE
69
71
70
-
**IOT_PROTOCOL_BUFFER_SIZE** is the maximum size to send or to receive per request. If `all data length > IOT_PROTOCOL_BUFFER_SIZE`, the data is broken in parts of *IOT_PROTOCOL_BUFFER_SIZE* length. Each part keeps the prefixed data (`MSCB + LSCB + ID + PATH + HEADER + BODY_LENGTH`) and attachs the remain body until its length is *IOT_PROTOCOL_BUFFER_SIZE* length or less.
72
+
**IOT_PROTOCOL_BUFFER_SIZE** is the maximum size of request. If `all data length > IOT_PROTOCOL_BUFFER_SIZE`, the data is spplited in parts of *IOT_PROTOCOL_BUFFER_SIZE* length. Each part keeps the prefixed data (`MSCB + LSCB + ID + PATH + HEADER + BODY_LENGTH`) and attachs the remain body until its length is *IOT_PROTOCOL_BUFFER_SIZE* length or less.
71
73
72
74
* Type: `size_t` | `uint32_t`
73
75
* Size: `4 bytes`
@@ -102,7 +104,9 @@ IOT PROTOCOL uses middlewares and router's filtering features based on [express
102
104
---
103
105
### [0]**MSCB**
104
106
105
-
The **Most Significant Control Byte**. **REQUIRED**
107
+
The **Most Significant Control Byte**.
108
+
109
+
Preamble: `<MSCB>`**REQUIRED** | **SINGLE**
106
110
107
111
* Size: `1 byte`
108
112
* Default: `0b00000100` = `4` = `0x4`
@@ -119,7 +123,10 @@ The **Most Significant Control Byte**. **REQUIRED**
119
123
---
120
124
### [1]**LSCB**
121
125
122
-
The **Least Significant Control Byte**. **REQUIRED**
126
+
The **Least Significant Control Byte**.
127
+
128
+
Preamble: `<LSCB>`**REQUIRED** | **SINGLE**
129
+
123
130
* Size: `1 byte`
124
131
* Default: `0b00000100` = `4` = `0x4`
125
132
@@ -148,7 +155,9 @@ Methods Types
148
155
149
156
### [2]**ID**:
150
157
151
-
Unsigned random number with up to 2^16 that identifies the request. **SINGLE**
158
+
Unsigned random number with up to 2^16 that identifies the request.
159
+
160
+
Preamble: `[<ID>]`**OPTIONAL** | **SINGLE**
152
161
153
162
* Type: `uint16_t` as Big Endian format
154
163
* Size: `2 bytes`
@@ -163,7 +172,7 @@ Unsigned random number with up to 2^16 that identifies the request. **SINGLE**
163
172
The path component contains data, usually organized in hierarchical
164
173
form, that, serves to identify a resource [URI > 3.3 Path](https://www.rfc-editor.org/info/rfc3986).
0 commit comments