Regardless of the use of frameworks, middleware and communication technologies, the interaction between applications, services and devices in the Internet of Things is mediated by Application Protocols. The use of these protocols is facilitated by libraries, and coding is usually similar to known mechanisms, such as sockets. In this chapter we present an overview of the main Application Protocols currently available, HTTP/REST, CoAP, MQTT, AMQP and XMPP. Also, the differences between the protocols and applications for which they are most indicated are discussed. The WebSocket mechanism is also introduced to show how the protocols can be used from browsers. Examples and their execution environments illustrate the presented protocols. A more structured example completes the chapter. Resumo Independentemente do uso de frameworks, middleware e tecnologias de comunicação, a interação entre aplicações, serviços e dispositivos na Internet das Coisas é mediada por Protocolos de Aplicação. O uso destes protocolos é facilitado por bibliotecas, e a codificação geralmente semelhante à mecanismos conhecidos, como sockets. Neste capítulo é apresentada uma visão dos principais Protocolos de Aplicação atualmente disponíveis, HTTP/REST, CoAP, MQTT, AMQP e XMPP. Também, são discutidas as diferenças entre os protocolos e aplicações para os quais são mais indicados. O mecanismo de WebSocket é também introduzido para mostrar como os protocolos podem ser usados a partir de navegadores. Exemplos e seus ambientes de execução ilustram os protocolos apresentados. Um exemplo mais estruturado completa o capítulo.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.