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

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.
主站蜘蛛池模板: 淮北市| 普陀区| 宁都县| 亚东县| 印江| 三明市| 道孚县| 湛江市| 邻水| 兴安盟| 前郭尔| 曲麻莱县| 奉贤区| 麻江县| 民县| 临桂县| 和平区| 平阴县| 赤水市| 平顺县| 海城市| 五寨县| 都兰县| 宝坻区| 肥乡县| 蓝田县| 同心县| 应城市| 梓潼县| 晋江市| 额济纳旗| 麻阳| 镇江市| 临泽县| 虞城县| 翁牛特旗| 惠安县| 宣威市| 顺平县| 洮南市| 彰化县|