modules/woz_uwb/src/aliro/include/cherry/cherry.h
asxeem/openaliro
Module
cherry.h
Cherry core (context + device-capabilities) interface.
Overview
Cherry core (context + device-capabilities) interface.
depends on cherry_common.h · used by aliro_ranging.c aliro_uwb_internal.h aliro_uwb_adapter.h aliro_uwb_session.h cherry_ccc.h cherry_session.h cherry_ccc_shim.c
API
Cstruct cherry_core_event_device_capabilities
modules/woz_uwb/src/aliro/include/cherry/cherry.h:50
UWBS capability container reported by the peer during device discovery; only the CCC capabilities member is consulted.
Cenum cherry_err
modules/woz_uwb/src/aliro/include/cherry/cherry.h:21
Status codes returned across the Cherry / CCC seam.
Ctypedef void (*cherry_core_cb_t)(struct cherry_core_event *event, void *user_data)
modules/woz_uwb/src/aliro/include/cherry/cherry.h:70
Callback type for core (non-session) Cherry notification events.
Fstruct cherry * cherry_create(const char *device, cherry_core_cb_t core_cb, void *user_data)
modules/woz_uwb/src/aliro/include/cherry/cherry.h:73
Allocate a Cherry context (NULL on allocation failure).
Fvoid cherry_destroy_sync(struct cherry *ctx)
modules/woz_uwb/src/aliro/include/cherry/cherry.h:79
Synchronously release a Cherry context and its resources. @param ctx Cherry context to destroy.