- Analytics for the Internet of Things(IoT)
- Andrew Minteer
- 187字
- 2021-07-02 18:59:36
Advantages to CoAP
There are some advantages to CoAP:
- Reduced power requirements: It operates over UDP, which requires minimal overhead for communications. It also allows faster wake up times and extended sleepy states. Taken together, this means batteries last longer for IoT devices.
- Smaller packet size: Another advantage of UDP is small packet sizes. This leads to faster communication cycles. Again, this allows batteries to last longer.
- Security: Like MQTT, this is on both the advantage and disadvantage lists. When Datagram Transport Layer Security (DTLS) is employed over UDP, communication is encrypted and secure. Even though there is some additional overhead required to implement this, you can and should use it.
- Asynchronous communication option: Clients can request to observe a device by setting a flag. The server (IoT device) can then stream state changes to the client as they happen. Either side can cancel the observe request.
- IPv6 based: It was designed from the beginning to support IPv6. This also allows for a multicasting option.
- Resource discovery: Servers can provide a list of resources and media types. The client can then review and discover what is available.
推薦閱讀
- 工程軟件開(kāi)發(fā)技術(shù)基礎(chǔ)
- CentOS 7 Server Deployment Cookbook
- Spring Boot+Spring Cloud+Vue+Element項(xiàng)目實(shí)戰(zhàn):手把手教你開(kāi)發(fā)權(quán)限管理系統(tǒng)
- Java編程指南:基礎(chǔ)知識(shí)、類庫(kù)應(yīng)用及案例設(shè)計(jì)
- 網(wǎng)頁(yè)設(shè)計(jì)與制作教程(HTML+CSS+JavaScript)(第2版)
- Learning Python Design Patterns(Second Edition)
- 高級(jí)語(yǔ)言程序設(shè)計(jì)(C語(yǔ)言版):基于計(jì)算思維能力培養(yǎng)
- 組態(tài)軟件技術(shù)與應(yīng)用
- PHP+MySQL+Dreamweaver動(dòng)態(tài)網(wǎng)站開(kāi)發(fā)從入門到精通(第3版)
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實(shí)踐
- D3.js By Example
- ScratchJr趣味編程動(dòng)手玩:讓孩子用編程講故事
- HTML5開(kāi)發(fā)精要與實(shí)例詳解
- Java Web應(yīng)用開(kāi)發(fā)項(xiàng)目教程
- Emotional Intelligence for IT Professionals