dwm_stnry_cfg_set

Writes configuration of the stationary mode, which is used by the tag node. The configuration can be written even if stationary detection is disabled (see dwm_cfg_tag_set). It Writes internal non-volatile memory, so it should be used carefully. The new sensitivity setting takes effect immediately if stationary mode is enabled. Default sensitivity is “HIGH”.

void dwm_stnry_cfg_set(uint16_t)
Parameters
  • input – sensitivity

  • sensitivity – ‘0’ | ‘1’ | ‘2’ (0 - LOW [4064 mg] , 1 - NORMAL [2048 mg], 2 - HIGH [512 mg])

C code example

dwm_stnry_cfg_set(DWM_STNRY_SENSITIVITY_HIGH);

SPI/UART example

TLV Request

Type

Length

Value

0x11

0x01

0x01

Type 0x11 means command dwm_stnry_cfg_set

TLV Response

Type

Length

Value (see error codes)

0x40

0x01

0x00

Type 0x40 means err_code of the previous command