Skip to content


Integrate your Nordic nRF9160 board.


  • The nRF9160 board with a USB cable.
  • Installed minicom (for Linux) or RealTerm or PuTTy (for Windows) or other serial communication program.
  • Installed nrfjprog.
  • A user with access to the Coiote IoT Device Management platform and appropriate permissions.

Prepare binaries#

Use an already built binary#

To get the latest binaries, navigate to Anjay-zephyr-client and download one of the attached .hex files.

In this case we are going to use the demo application, so find the demo_nrf9160dk_merged.hex file which after downloaded must be added to nRF9160 board folder.

Start developement using samples#

Step 1: Getting Zephyr and Python dependencies#

To get the Zephyr SDK and dependencies follow the first 4 steps of the instruction provided by the Zephyr Project (from the set up the OS to installing the Zephyr SDK).

Step 2: Cloning the Anjay zephyr repository#

Enter the command line interface on your machine and change the directory to the one where you set up the Zephyr project (usually, it's ~/zephyrproject), then paste and run the following command:

git clone

Step 3: Compiling the example#

  1. Connect the nRF9160 board to a USB port of your machine.
  2. Set West manifest path to Anjay-zephyr-client/demo, manifest file to west-nrf.yml, and do west update:

    west config manifest.path Anjay-zephyr-client/demo
    west config manifest.file west-nrf.yml
    west update
  3. Compile the project for nRF9160:

    cd demo
    west build -b nrf9160dk_nrf9160ns
  4. Flash the board using west flash.

Connecting to the LwM2M Server#

To connect to Coiote IoT Device Management LwM2M Server, please register at

To connect the board:

  1. Log in to Coiote DM and from the left side menu, select Device Inventory.
  2. In Device Inventory, click Add device.
  3. Select the Connect your LwM2M device directly via the Management server tile. Add via Mgmt
    1. In the Device credentials step:
      • In the Device ID enter your board endpoint name, e.g. test_device. Device credentials step
      • In the Security mode section, select the PSK mode:
        • In the Key identity field, type test_device
        • In the Key field, type the shared secret used in the device-server authentication.
    2. Click the Add device button and Confirm in the confirmation pop-up.
    3. In the Connect your device step, wait for the board to connect.
    4. Click Go to device to see your added device dashboard.

Configuring the Client#

  1. With the board still connected to a serial port interface, open a serial communication program.
  2. Use the anjay command to list possible options:

    uart:~$ anjay
    anjay - Anjay commands
    start   :Save config and start Anjay
    stop    :Stop Anjay
    config  :Configure Anjay params
  3. Change the default credentials to your custom data by following the instructions presented in the program and save it.

  4. After changing credentials go to Coiote DM and refresh data: Registered device

Last update: September 26, 2022