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

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.
主站蜘蛛池模板: 泸西县| 宣城市| 五台县| 五华县| 天柱县| 舞钢市| 尚义县| 开平市| 门头沟区| 汶上县| 砚山县| 博湖县| 华安县| 韶关市| 成都市| 七台河市| 平顶山市| 白朗县| 镇巴县| 栾川县| 卫辉市| 东阿县| 平凉市| 尚义县| 铜鼓县| 吕梁市| 呼玛县| 太仆寺旗| 景谷| 内丘县| 苏州市| 扎兰屯市| 图们市| 新沂市| 麻栗坡县| 西昌市| 芜湖县| 昌平区| 耿马| 九龙县| 衡南县|