Anjay-zephyr-demo 
Overview
This repository contains LwM2M Client samples based on open-source
Anjay Lite Zephyr Module and
nRF Connect SDK v.3.2.0.
This project works on Nordic Semiconductor nRF9161DK.
Getting started
First of all, get Zephyr, SDK and other dependencies, as described in Zephyr's
Getting Started Guide
(first 4 steps). Also for flashing
nRF Util
have to be installed.
After navigating to Zephyr workspace (~/zephyrproject is default after following Getting Started Guide), clone Anjay Lite Zephyr client repository.
git clone https://github.com/AVSystem/Anjay-lite-zephyr-demo
and then download and/or update the demo app dependencies according to west manifest
west config manifest.path Anjay-lite-zephyr-demo
west config manifest.file west-nrf.yml
west update
Configuration
Anjay Lite is configured by a file found in config/, exported as globally visible
in Zephyr build system by CMakeLists.txt.
Check the online documentation
or see the file's inline comments to learn how to configure Anjay capabilities and behavior.
Anjay Lite as Zephyr module can be enabled and configured with Kconfig. Run
west build -t menuconfig
and see Modules -> anjay-lite-zephyr-module menu.
Build and run demo
Now, enter the demo app directory and compile the application
cd Anjay-lite-zephyr-demo
west build -b nrf9161dk/nrf9161/ns -p
To flash the board, run
west flash
Serial Output
The application logs are sent over the USB interface at 115200 baud (8N1).
The nRF9161DK exposes multiple ports. Use the one corresponding to VCOM0 (usually /dev/ttyACM0 on Linux).
License
This repository is licensed under the Apache License 2.0 and is intended for evaluation and prototyping purposes.
Please note that it is a demo based on Anjay Lite Zephyr Module, which includes the Anjay Lite LwM2M Client SDK as a Git submodule.
Anjay Lite is distributed under a dual-license model:
A non-commercial license is available for evaluation and non-commercial use.
For commercial use or production deployments, a valid per-SKU commercial license is required.
For details, see the Anjay Lite LICENSE file or visit avsystem.com.
