Professional Documents
Culture Documents
Fig. 4.1 Source end network layer connected through set of IP routers for data packets from an IP address and communicating
with IoT/M2M IoT Apps and Services layer using TCP/IP suite of Application protocols
Port for data from or to Application Layer L7
PDU = 232
L7 Header L7 Data Segment B
for
Data Stack from L7 or to L7 Applicatio
UDP ns
Datagram L4 Header Data for TCP Stream and
Services
L3 Header Data Stack from L4 or to L4 PDU = 216
B
L3 IP packet for the Network
Fig. 4.2 TCI/IP suite four layers model generating data stack for the network, and for physical layer during Internet
communication
31 16 15 8 7 4 3 0
len [IP Packet Service Type and Service Type and IP
length words] Precedence Precedence version
63 51 50 47 46 32
Fragment Offset Flags First Byte Sequence No. in the stream
95 80 79 72 71 64
Check sum Type of Protocol TTL(Time to Live)
127 96 Header
Source IP address
159 128
Destination IP address
q 160
Extended
Option header words and fields plus the words as padding
Header
before the data
q = (32× n 1), [n
v q
is number of
Data of (len n) words
words = 5 words
Maximum v = (214 n) × 32 1
for header plus
options plus
padding words
Data Packet (stack) from or to Transport layer (Maximum Size 214 words = 216 B
Fig. 4.3 Data stack received or transmitted at or to transport layer, and packet consisting of IP header fields of 160 bits and
extended header (n 5) words (when required) plus data stack of maximum v words from or for the transport layer
10s of Bytes of Device IEEE 802.15.4 Device Fragment- IPv6 Link
App data Node Frame 127 B ation Layer
Device 1 MTU 1280 B
[Bytes
IPv6 Header 40 B
Device 2 for and from
UDP Header8 B network
…….. 127 B and
IEEE 802.15.4 transport
Device 94 B layers]
………
Security21 B
Device MAC
( i1) Header 25 B
Device i
App Data 33B
Max. 33 Bytes App
data at single data Reassembly
transfer
(a) (b)
Fig. 4.4(a) Physical layer IEEE 802.15.4 network devices (b) Adaptation layer 6LoWPAN protocol 127 B fragmented frames
reassembly into IPv6 maximum 1280 B or fragmentation of IPv6 MTU 1280B into 127 B frames for transfer to a device.
Application Layer protocols (DNS, Application Layer protocols (HTTPS,
TFTP, Bootpc, Bootps, SNMP, DHCP, HTTP, MQTT, XMPP, SOAP, FTP, TFTP,
CoAP, LWM2M Telnet, PoP3, SMTP)
DTLS TLS
Datagram
(PDU = 216B) Segment PDU = 232 B
Network Transport UDP Transport Layer TCP
Management Datagram Acknowledged data flow stream
ND,
RPL
Packet PDU = 216 B
Internet Layer IPv4/ IPv6
PDU = 1 Frame
Adaptation ARP/RARP Data Link Layer
6LoWPAN, CoAP, LWM2M WiFi/Ethernet
Fig. 4.6 Data stack received or transmitted at or to transport layer stream consisting of TCP header field 160 bits and extended
header (n 5) words when required plus data stack of len words from or for the Application layer
31 0
Source IP address Pseudo
Header
63 32
Destination IP address
31 16 15 0
Destination Port number Source Port
number Header
63 16 15 32
Length Check Sum
(4 × m + 8) B
p 64
m words
P= (m + 8) × 32 1 Data stack from
Application layer
Fig. 4.7 Transport Layer UDP Header field with data stack from the Application layer and Pseudo header of 2 words (64
bits) for source and destination IP addresses
Lesson 6
Application Layer Protocols: HTTP, HTTPS
and Other Ports