openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
Loading...
Searching...
No Matches
uwb_selftest.c File Reference

— Kconfig-gated one-shot UWB init self-test (no iPhone). More...

#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include "woz_uwb_facade.h"
#include "ccc_shim.h"
Include dependency graph for uwb_selftest.c:

Functions

static void uwb_selftest_work (struct k_work *work)
 One-shot worker: run the Aliro UWB start path and log the outcome.
 
static int uwb_selftest_init (void)
 Arm the one-shot self-test at application init.
 

Variables

static const uint8_t uwb_selftest_ursk [32]
 Canned Aliro ranging config for the peerless self-test (dummy URSK).
 

Detailed Description

— Kconfig-gated one-shot UWB init self-test (no iPhone).

Function Documentation

◆ uwb_selftest_init()

static int uwb_selftest_init ( void  )
static

Arm the one-shot self-test at application init.

Returns
0 on success.

◆ uwb_selftest_work()

static void uwb_selftest_work ( struct k_work *  work)
static

One-shot worker: run the Aliro UWB start path and log the outcome.

Parameters
workKernel work item (unused).