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
Copy file name to clipboardExpand all lines: README.md
+36-31Lines changed: 36 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ IoT Protocol is a protocol over TCP based on HTTP and MQTT for lightweight data
7
7
8
8
2. MQTT (*mqtt://*) is a publish-subscribe messaging protocol, use lightweight data traffic. Its minimum request size is 2 bytes. But it is not stateless and does not provide a request/response pattern, so it isn't restful. MQTT is designed to be a lightweight protocol that minimizes network overhead, which can make it more challenging to handle large or complex data payloads.
9
9
10
-
The **IOT PROTOCOL** (*iot://*) is base on HTTP and MQTT protocols. Is a request-response model adapted for IoT context designed for low-bandwidth, low-power devices. Its minimum request size is 2 bytes without requiring the HOST param for all requests. Supports Full Duplex and can be used for real-time communication up to 255 bytes, middleweight request up to (2^16 -1) bytes (~65Kb) and streaming up to (2^32 -1) bytes (~4.29Gb). Can use TLS/SSL encryption to secure their communications.
10
+
The **IOT PROTOCOL** (*iot://*) is based on HTTP and MQTT protocols over TCP/IP. Is a request-response model adapted for IoT context designed for low-bandwidth, low-power devices. Its minimum request size is 2 bytes without requiring the HOST param for all requests. Supports Full Duplex and can be used for real-time communication up to 255 bytes, middleweight request up to (2^16 -1) bytes (~65Kb) and streaming up to (2^32 -1) bytes (~4.29Gb). Can use TLS/SSL encryption to secure their communications.
11
11
12
12
13
-
IOT PROTOCOL uses middlewares and router's filtering features based on [express nodejs module](https://expressjs.com/)at its Layer Application. Yes, you can use `.use(middleware)`, `.use('/path/to/your/resource', router)`, `response.send(data)` methods to handle the requests.
13
+
IOT PROTOCOL uses middlewares and router's filtering features based on [express nodejs module](https://expressjs.com/)under its Layer Application. Yes, you can use `.use(middleware)`, `.use('/path/to/your/resource', router)`, `response.send(data)` methods to handle the requests.
14
14
15
15
16
16
## Features
@@ -28,24 +28,24 @@ IOT PROTOCOL uses middlewares and router's filtering features based on [express
28
28
```
29
29
<MSCB + LSCB>
30
30
[ID]
31
-
[PATH + ETX]
32
-
[HEADER + ETX]
31
+
[PATH + IOT_ETX]
32
+
[HEADER + IOT_ETX]
33
33
[BODY_LENGTH + BODY]
34
34
```
35
35
36
36
> `<...>` REQUIRED
37
37
38
38
> `[...]` OPTIONAL
39
39
40
-
> `[PATH + ETX] + [HEADER + ETX]`**MUST NOT BE MORE THAN 1016 Bytes**
40
+
> `[PATH + IOT_ETX] + [HEADER + IOT_ETX]`**MUST NOT BE MORE THAN 1016 Bytes**
0 commit comments