PANS PRO API

This guide specifies the public application interface of the DWM module based on Decawave’s DW1000 IC. The API essentially is a set of functions providing a means to communicate with the MCU to drive the module through the library on application level without having to deal with the details of accessing the DW1000 IC part and other peripherals directly through its SPI/I2C interface register set.The DW1000 IC part, which has the UWB physical layer defined in IEEE 802.15.4-2011 standard, acts as the UWB radio module controlled by the module’s MCU. The module presents multiple interfaces for users to interact with the system. These include the UART and SPI hardware interfaces and the BLE interface, usable via a smartphone application.

API and its guide

Set of API functions may be accessed through various communication interfaces providing flexibility to developers in using the module and integrating it into their systems. The API accesses mainly come in two types:

  1. External access API: via UART, SPI and BLE.

  2. Integrated access API: via onboard user app (C code).

Among the above API interfaces:

  1. The UART (Generic), the SPI and the onboard APIs are introduced in the section API commands.

  2. The UART (Shell) APIs are introduced in the section Shell commands.

  3. The BLE APIs are introduced in the section TLV type list.

Following pages specify the PANS API functions themselves, providing descriptions of each API functions in detail in terms of its parameters, functionality and utility.

Users can use the API to configure each individual module.


Following subsections will show each kind of supported API