dwm_stnry_cfg_get

Reads configuration of the stationary mode that is used by the tag node. The configuration can be read even if stationary detection is disabled (see dwm_cfg_tag_set).

uint16_t dwm_stnry_cfg_get(dwm_stnry_sensitivity_t *sensitivity)
Parameters
  • outputStatus code, sensitivity

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

C code example

dwm_stnry_sensitivity_t sensitivity;
dwm_stnry_cfg_get(&sensitivity);

SPI/UART example

TLV Request

Type

Length

0x12

0x00

Type 0x12 means command dwm_stnry_cfg_get

TLV Response

Type

length

Value (see error codes)

Type

length

Value

0x40

0x01

0x00

0x4A

0x01

0x01

Type 0x40 means Status code of the previous command
Type 0x4A means stationary sensitivity