modules/woz_uwb/src/ccc/ccc_sts.c
asxeem/openaliro
Module
ccc_sts.c
DW3000 STS register load for the CCC ranging path.
Overview
DW3000 STS register load for the CCC ranging path.
depends on ccc_sts.h woz_bytes.h
API
Fint ccc_sts_apply(const uint8_t dursk[CCC_DURSK_LEN], const uint8_t sts_v[CCC_STS_V_LEN])
modules/woz_uwb/src/ccc/ccc_sts.c:17
Load one PPDU's STS key and IV into the DW3000 STS registers (chip must be idle).
dursk- 16-byte derived URSK (key material).
sts_v- 16-byte STS-V (initialization vector).
- returns
- 0 on success, -EINVAL if inputs are null.