BSD Ports

devel/libcoap 4.3.5pl1 OpenBSD

communicate with embedded devices using CoAP (RFC 7252)

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel

Description

libcoap implements a lightweight application-protocol for devices that are constrained in their resources such as computing power, RF range, memory, bandwidth, or network packet sizes. This protocol, CoAP was standardized in the IETF as RFC 7252.

The library provides the core functionality for development of resource-efficient CoAP servers and clients, including resource observation and block-wise transfer.

Example implementations show how these features can be used in applications, which are also useful in their own right:

  • coap-client is a wget-like tool to generate simple requests for retrieval and modification of resources on a remote server. (https://github.com/glenndehaan/ikea-tradfri-coap-docs has details about using this with IKEA Tradfri).

  • coap-server is a basic server application that illustrates various server-side features of libcoap.

  • coap-rd implements a simple CoAP Resource Directory.

In the other systems

SystemPortVersion
OpenBSDdevel/libcoap4.3.5pl1
FreeBSDnet/libcoap4.3.5
DragonFlynet/libcoap4.3.5
HardenedBSDnet/libcoap4.3.5
GhostBSDnet/libcoap4.3.5

Install

Binary package:

pkg_add libcoap

From the ports tree:

cd /usr/ports/devel/libcoap && make install

Dependencies

Build dependencies 9

No port depends on this one.