en:iot-open:networking2:transport
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:iot-open:networking2:transport [2024/11/03 09:24] – created pczekalski | en:iot-open:networking2:transport [2024/11/03 16:21] (current) – pczekalski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Transport Layers ======= | ====== Transport Layers ======= | ||
| {{: | {{: | ||
| - | The transport layer in the standard Internet ISO/OSI stack is between the Media and Application layers. Sometimes, it is a part of the so-called host layer protocols, | + | The transport layer in the standard Internet ISO/OSI stack is between the Media and Application layers. Sometimes, it is a part of the so-called host layer protocols, composed of the top 4 layers: transport, session, presentation, |
| In IoT protocols, it is commonly a part of the other layers, commonly networking. Besides pure IoT protocols, this book also contains regular internet ones (such as WiFi), so we briefly introduce the transport layer focused on the IP. | In IoT protocols, it is commonly a part of the other layers, commonly networking. Besides pure IoT protocols, this book also contains regular internet ones (such as WiFi), so we briefly introduce the transport layer focused on the IP. | ||
| The transport layer is responsible for end-to-end communication and provides segmentation and aggregation mechanisms, error detection and correction, flow control, port-based addressing and quality of services. IP-based protocols use two kinds of connections: | The transport layer is responsible for end-to-end communication and provides segmentation and aggregation mechanisms, error detection and correction, flow control, port-based addressing and quality of services. IP-based protocols use two kinds of connections: | ||
| - | * TCP: connection-oriented mode, where the connection | + | |
| - | * UDP: connectionless mode, where the sender sends the data and " | + | |
| A choice between UDP and TCP is driven by other network layers, e.g. some IoT network stacks do not provide TCP-like connections. Higher-level protocols also drive the selection of the transport layer connection standards, e.g. MQTT generally requires TCP while CoAP uses UDP; see the following chapters for details. | A choice between UDP and TCP is driven by other network layers, e.g. some IoT network stacks do not provide TCP-like connections. Higher-level protocols also drive the selection of the transport layer connection standards, e.g. MQTT generally requires TCP while CoAP uses UDP; see the following chapters for details. | ||
| + | Popular IoT protocols may have a transportation layer embedded and merged with other layers, e.g. Zigbee protocol. In contrast, others follow regular ISO/OSI stack division into the 7 layers, as presented in figure {{ref> | ||
| + | <note tip>Most IoT protocols use UDP, as it is easier to implement and more energy efficient regarding communication energy consumption, | ||
| + | |||
| + | <figure iotprotocols3> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
en/iot-open/networking2/transport.1730618651.txt.gz · Last modified: by pczekalski
