|
openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
|
— Cherry core (context + device-capabilities) interface. More...
Go to the source code of this file.
Data Structures | |
| struct | cherry_core_event_device_capabilities |
| UWBS capability container reported by the peer during device discovery; only the CCC capabilities member is consulted. More... | |
Typedefs | |
| typedef void(* | cherry_core_cb_t) (struct cherry_core_event *event, void *user_data) |
| Callback type for core (non-session) Cherry notification events. | |
Enumerations | |
| enum | cherry_err |
| Status codes returned across the Cherry / CCC seam. | |
Functions | |
| struct cherry * | cherry_create (const char *device, cherry_core_cb_t core_cb, void *user_data) |
| Allocate a Cherry context (NULL on allocation failure). | |
| void | cherry_destroy_sync (struct cherry *ctx) |
| Synchronously release a Cherry context and its resources. | |
— Cherry core (context + device-capabilities) interface.
| struct cherry * cherry_create | ( | const char * | device, |
| cherry_core_cb_t | core_cb, | ||
| void * | user_data | ||
| ) |
Allocate a Cherry context (NULL on allocation failure).
Allocate a Cherry context (NULL on allocation failure).
| device | Device parameter (unused). |
| core_cb | Core callback (never invoked). |
| user_data | User data to store in the context. |
| void cherry_destroy_sync | ( | struct cherry * | ctx | ) |
Synchronously release a Cherry context and its resources.
| ctx | Cherry context to destroy. |
Synchronously release a Cherry context and its resources.