18struct cherry_core_event;
23 CHERRY_ERR_INVALID_PARAMETER,
24 CHERRY_ERR_UWBS_TIMEOUT,
26 CHERRY_ERR_SESSION_INIT,
27 CHERRY_ERR_SESSION_ACTIVE,
28 CHERRY_ERR_SESSION_CONFIG,
29 CHERRY_ERR_SESSION_TYPE_NOT_SUPPORTED,
36struct cherry_fira_capabilities;
44struct cherry_radar_capabilities;
struct cherry * cherry_create(const char *device, cherry_core_cb_t core_cb, void *user_data)
Allocate a Cherry context (NULL on allocation failure).
Definition cherry_ccc_shim.c:126
void cherry_destroy_sync(struct cherry *ctx)
Synchronously release a Cherry context and its resources.
Definition cherry_ccc_shim.c:142
void(* cherry_core_cb_t)(struct cherry_core_event *event, void *user_data)
Callback type for core (non-session) Cherry notification events.
Definition cherry.h:70
cherry_err
Status codes returned across the Cherry / CCC seam.
Definition cherry.h:21
— diagnostics config struct and report forward decl.
Device CCC/Aliro capability set advertised to the peer.
Definition cherry_ccc.h:26
UWBS capability container reported by the peer during device discovery; only the CCC capabilities mem...
Definition cherry.h:50
struct cherry_ccc_capabilities * ccc_capabilities
CCC capabilities advertised by the peer during device discovery.
Definition cherry.h:60
struct cherry_fira_capabilities * fira_capabilities
FiRa capabilities advertised by the peer during device discovery; unused on this lock.
Definition cherry.h:56
struct cherry_radar_capabilities * radar_capabilities
Radar capabilities advertised by the peer during device discovery.
Definition cherry.h:64
Opaque Cherry context holder.
Definition cherry_ccc_shim.c:27
cherry_core_cb_t core_cb
Core callback (never invoked: no UCI).
Definition cherry_ccc_shim.c:28
void * user_data
Client data from cherry_create().
Definition cherry_ccc_shim.c:29