dwm_stnry_cfg_set
Writes the configuration for stationary mode, which is used by the tag node. This configuration is saved even if stationary detection is disabled (see dwm_cfg_tag_set). It writes to internal non-volatile memory, so it should be used with caution. The new sensitivity setting takes effect immediately when stationary mode is enabled. The 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 Status code of the previous command