Internet Of Things Communications
  • Cover
  • Summary
  • About This Training
    • Objectives
    • Skills
    • Prerequisites
    • Requirements
  • Once Upon A Time ...
  • Introduction
    • Network Topologies
    • Software Defined Radio
    • Wireshark
    • Sub-1GHz Wireless
  • Connectivity
    • Serial
      • Laboratory
        • Linux and Arduino
    • Telephony
    • WiFi
      • WiFi HaLow
      • WiGig
    • Bluetooth
      • Architecture
        • Bluetooth Specifications
        • Bluetooth Low Energy
        • Bluetooth Smart Mesh
      • Protocol Stack
        • Linux
          • HCITool
          • BlueZ
          • L2Ping
          • SDPTool
          • GATTTool
          • BTMon
          • BTProxy
      • Development Boards
        • Intel Edison
        • Arduino
      • Laboratory
        • Serial Port Protocol
        • Linux and Arduino
        • Nordic
        • Virtual Keyboard
        • Reverse Engineering
        • Bluetooth Low Energy
    • Low-Power Wide-Area Networks
      • LoRa
      • SigFox
    • RFID
    • ZigBee
    • Z-Wave
    • Thread
    • HomeKit
    • Satellite
    • Near Field Communication
    • Neul
    • RF
  • Protocols
    • Web
    • Industrial Protocols
    • MQ Telemetry Transport
      • Mosca
      • Brokers
        • Mosquitto
        • VerneMQ
        • HiveMQ
      • Security
      • Applications
      • Laboratory
    • Advanced Message Queuing Protocol
    • Weave
    • Constrained Application Protocol
    • AllJoyn
    • XMPP
    • 6LoWPAN
    • ModBus
    • Others
    • Lightweight M2M
    • Cap'n Proto
    • IPv6
    • RPL
    • Very Simple Control Protocol
    • NATS
  • Libraries
    • ZeroMQ
  • Wrap-Up
    • Online Training
    • Challenge
  • SandBox
Powered by GitBook
On this page
  • Constrained Application Protocol
  • The Node COAP Library
  • The Python CoAP library
  • Copper CU
  1. Protocols

Constrained Application Protocol

PreviousWeaveNextAllJoyn

Last updated 7 years ago

Constrained Application Protocol

The Web of Things Protocol

Constrained Application Protocol (CoAP) is a software protocol intended to be used in very simple electronics devices that allows them to communicate interactively over the Internet. It is particularly targeted for small low power sensors, switches, valves and similar components that need to be controlled or supervised remotely, through standard Internet networks ... From Wikipedia, the free encyclopedia

CoAp has a request/response model protocol, clients can make GET, PUT, POST and DELETE requests to resources. Please notice that CoAp does not have SSL/TLS ecryption isn't available over UDP, CoAP makes use of DTLS (Datagram Transport Layer Security). The default level of encryption is equivalent to a 3,072-bit RSA key. Also, CoAp lacks of a publish-subscribe message queue.

The Node COAP Library

A CoAP library for node modelled after 'http'

root@edison:~# npm install coap
-\|/-\|/-\|/--\|/-\|/-\|/-\|-\|/-\|/-\|/-\|-\|/-\|/-\|/-\|/coap@0.15.0 node_modules/coap
��├��─��─ capitalize@1.0.0
��├��─��─ bl@1.0.3
��├��─��─ coap-packet@0.1.13
��├��─��─ debug@2.2.0 (ms@0.7.1)
��├��─��─ lru-cache@4.0.1 (pseudomap@1.0.2, yallist@2.0.0)
��├��─��─ fastseries@1.7.2 (xtend@4.0.1, reusify@1.0.1)
��└��─��─ readable-stream@2.0.6 (process-nextick-args@1.0.6, inherits@2.0.1, util-deprecate@1.0.2, str)
root@edison:~#

The Python CoAP library

root@edison:~# pip install aiocoap
Downloading/unpacking aiocoap
Installing collected packages: aiocoap
Successfully installed aiocoap
Cleaning up...
root@edison:~#

Copper CU

The aiocoap package is a Python implementation of CoAP, the Constrained Application Protocol (RFC 7252, more info at ).

Eclipse CoAP
Npm Iopa-Coap
Npm Coap
Constrained Application Protocol (CoAP)
Firefox Copper Cu
Working with bottlenecks: CoAP and MQTT
Youtube ARM Constrained Application Protocol (CoAP) Tutorial
A CoAP library for node
http://coap.technology/
The Python CoAP library
aiocoap – The Python CoAP library
Firefox Copper Cu