IoT Protocols
IoT Protocols
1) Things in IoT:
The things in IoT refers to IoT devices which have unique identities and
perform remote sensing, actuating and monitoring capabilities. IoT devices
can exchange data with other connected devices applications. It collects
data from other devices and process data either locally or remotely.
2) IoT Protocols:
Protocols:
Protocols:
• TCP: Transmission Control Protocol used by web browsers (along
with HTTP and HTTPS), email(along with SMTP, FTP). Connection
oriented and stateless protocol. IP Protocol deals with sending
packets, TCP ensures reliable transmission of protocols in order.
Avoids n/w congestion and congestion collapse.
• UDP: User Datagram Protocol is connectionless protocol. Useful in
time sensitive applications, very small data units to exchange.
Transaction oriented and stateless protocol. Does not provide
guaranteed delivery.
In which the client sends request to the server and the server replies to
requests. Is a stateless communication model and each request-response
pair is independent of others.
2) Publish-Subscribe Model:
Involves publishers, brokers and consumers. Publishers are source of data.
Publishers send data to the topics which are managed by the broker.
Publishers are not aware of the consumers. Consumers subscribe to the
topics which are managed by the broker. When the broker receives data
for a topic from the publisher, it sends the data to all the subscribed
consumers.