1. Introduction

Anjay Lite is a library implementing the OMA Lightweight Machine to Machine (LwM2M) protocol, including essential CoAP functionality.

This project is developed and maintained by AVSystem.

This is a beta release. It offers a limited subset of features compared to Anjay, and its functionality is still under active development. As such, users should be aware that the API and behavior may change in future versions, and breaking changes are to be expected.

1.1. Supported Protocol Version

This implementation is based on the following specification documents:

1.2. Supported Features

1.2.1. Features currently supported

  • Support for both LwM2M 1.1 and 1.2

  • Interfaces
    • Bootstrap support

    • Client Registration support

    • Device Management and Service Enablement support

    • Information Reporting support

  • Transport
    • Support for UDP Binding

  • Content Formats
    • Input: TLV, PlainText, Opaque, CBOR, SenML CBOR, LwM2M CBOR

    • Output: PlainText, Opaque, CBOR, SenML CBOR, LwM2M CBOR

  • Preimplemented LwM2M Objects
    • Security (/0)

    • Server (/1)

    • Device (/3)

    • Firmware Update (/5)

1.2.2. Future work

  • Security
    • PSK

    • Certificates

    • OSCORE

    • EST

  • HSM support

  • Composite Write operation

  • Bootstrap-Pack-Request operation

  • Notification Storing When Offline

  • CoAP Downloader

  • HTTP Downloader

  • Other transport bindings

1.3. Technical Information

Anjay Lite is implemented in standards-compliant C99 and depends only on widely available functions from the standard C library, making it suitable for a wide range of platforms, including bare-metal systems without an operating system. While its core does not rely on OS-specific features, it can be compiled out of the box with support for POSIX networking and time interfaces.