API Command List

The following table gives an overview of the availability of the API commands on interfaces like the SPI/UART, the onboard C code application and whether supported on the ethernet gateway module.

API command

SPI DWM1001

UART DWM1001

UART/USB gateway

on board user-app DWM1001

PANS PRO(*)

dwm_pos_set

YES

YES

NO

YES

dwm_pos_get

YES

YES

NO

YES

dwm_upd_rate_set

YES

YES

NO

YES

dwm_upd_rate_get

YES

YES

NO

YES

dwm_cfg_tag_set

YES

YES

NO

YES

dwm_cfg_anchor_set

YES

YES

NO

YES

dwm_cfg_get

YES

YES

NO

YES

dwm_sleep

YES

YES

NO

YES

dwm_anchor_list_get

YES

YES

NO

YES

dwm_loc_get

YES

YES

NO

YES

dwm_baddr_set

YES

YES

NO

YES

M

dwm_baddr_get

YES

YES

NO

YES

dwm_stnry_cfg_set

YES

YES

NO

YES

dwm_stnry_cfg_get

YES

YES

NO

YES

dwm_factory_reset

YES

YES

YES

YES

dwm_reset

YES

YES

YES

YES

dwm_dev_info_get

YES

YES

YES

YES

M

dwm_dev_status_get

YES

YES

NO

YES

N

dwm_uwb_cfg_set

YES

YES

NO

YES

dwm_uwb_cfg_get

YES

YES

NO

YES

dwm_usr_data_read

YES

YES

NO

YES

dwm_usr_data_write

YES

YES

NO

YES

dwm_label_read

YES

YES

NO

YES

dwm_label_write

YES

YES

NO

YES

dwm_uwb_scan_start

YES

YES

NO

YES

dwm_status_get

YES

YES

NO

YES

dwm_gpio_cfg_output

YES

YES

NO

YES

dwm_gpio_cfg_input

YES

YES

NO

YES

dwm_gpio_value_set

YES

YES

NO

YES

dwm_gpio_value_get

YES

YES

NO

YES

dwm_gpio_value_toggle

YES

YES

NO

YES

dwm_node_id_set

YES

YES

NO

YES

N

dwm_node_id_get

YES

YES

NO

YES

dwm_panid_set

YES

YES

NO

YES

dwm_panid_get

YES

YES

NO

YES

dwm_status_get

YES

YES

YES

YES

dwm_int_cfg_set

YES

YES

NO

YES

dwm_int_cfg_get

YES

YES

NO

YES

dwm_backhaul_xfer

YES

NO

NO

NO

dwm_bh_status_get

YES

YES

NO

NO

dwm_enc_key_set

YES

YES

NO

YES

dwm_enc_key_clear

YES

YES

NO

YES

dwm_mac_addr_get

YES

YES

NO

YES

N

dwm_mac_addr_set_once

YES

YES

NO

YES

N

dwm_hw_ver_set_once

YES

YES

NO

NO

N

dwm_alarm_start

YES

YES

NO

YES

N

dwm_cert_update_start

NO

NO

YES

NO

N

dwm_cert_update_write

NO

NO

YES

NO

N

dwm_boot_cfg_set

NO

NO

YES

NO

N

dwm_boot_cfg_get

NO

NO

YES

NO

N

dwm_fw_update_start

NO

NO

YES

NO

N

dwm_fw_update_xfer

NO

NO

YES

NO

N

dwm_i2c_write

NO

NO

NO

YES

dwm_i2c_read

NO

NO

NO

YES

dwm_evt_wait

NO

NO

NO

YES

dwm_wake_up

NO

NO

NO

YES

dwm_evt_listener_register

NO

NO

NO

YES

(*) N: new, M: modified, -: unchanged compared to PANS 2.0


Backhaul Commands

This section describes API commands that are used to periodically transfer data over SPI interface when the DWM module is configured as “bridge” (see API call dwm_cfg_anchor_set).