官术网_书友最值得收藏!

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.
主站蜘蛛池模板: 海南省| 赤城县| 漳浦县| 磐石市| 昭平县| 库尔勒市| 石台县| 巫山县| 巍山| 德清县| 桂阳县| 浦城县| 洪湖市| 昌都县| 旺苍县| 江门市| 通山县| 准格尔旗| 天津市| 泽普县| 浪卡子县| 崇州市| 芜湖县| 太谷县| 墨竹工卡县| 长顺县| 包头市| 门头沟区| 永城市| 和龙市| 开原市| 合阳县| 扶余县| 察雅县| 宁都县| 报价| 庆云县| 金秀| 文登市| 宁陕县| 灌南县|