Abstract
Internet of Things (IoT) model has limited interaction because devices must communicate within the same domain. In addition, if there is a new type of sensor relevant to a domain, the sensor cannot communicate because of domain differences. Because of these problems a system is needed to communicate between protocol domains. Communication between the multi-protocol domains of CoAP, MQTT and Websocket on the device can be achieved by creating a gateway for each protocol, then connecting with a broker. Each data from the sensor will be processed into ESP32 as a microcontroller. To overcome the problem of the differences in multi-protocol domains, namely by making a gateway on a one sensor that uses the MQTT Protocol and other sensors using the CoAP protocol. The sensor data is processed by the Raspberry Pi as a multiprotocol gateway. Then the data are multiplexed and be sent to the database server using the Web socket Protocol. From the testing result show that the CoAP protocol has a better performance than MQTT protocol. The delay of CoAP protocol achieved 28.80 ms and the delay of MQTT protocol is 39.59 ms.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.