modules/woz_uwb/src/shell/aliro_shell.h
openaliro/openaliro
Module
aliro_shell.h
the one seam the aliro console needs from the application.
Overview
the one seam the aliro console needs from the application.
used by aliro_shell.c
API
Fvoid aliro_shell_set_factory_reset(void (*fn)(void))
modules/woz_uwb/src/shell/aliro_shell.h:23
Supply the handler that aliro factoryreset yes invokes. A factory reset is a Matter/CHIP operation, and CHIP is C++. This file's module is pure C and has no CHIP include paths, so the application registers the call instead of this layer reaching up for it. Pass NULL to unregister. The handler is expected to erase provisioning and reboot; it may not return. Left unregistered (host tests, a build without the application) the command refuses with -ENOTSUP rather than pretending to have done anything. @param fn Reset handler, or NULL.