The main ca821x-api include file.
ca_error WAIT_Callback(uint8_t aCommandId, uint32_t aTimeoutMs, struct ca821x_dev *pDeviceRef)
Wait for an asynchronous callback to be triggered.
Definition cascoda_wait.c:105
void WAIT_ms(uint32_t ticks)
Wait for a given number of milliseconds.
void * WAIT_GetContext(void)
Get the callback context from within a callback being waited for.
Definition cascoda_wait.c:150
void WAIT_SetContext(void *aCallbackContext)
Set the callback context to be used with a callback passed to WAIT_Callback or WAIT_CallbackSwap.
Definition cascoda_wait.c:144
ca_error WAIT_CallbackSwap(uint8_t aCommandId, ca821x_generic_callback aCallback, uint32_t aTimeoutMs, struct ca821x_dev *pDeviceRef)
Wait for an asynchronous callback to be triggered, with a given callback swapped in.
Definition cascoda_wait.c:121
ca_error
Cascoda error type.
Definition ca821x_error.h:51
ca_error(* ca821x_generic_callback)(void *params, struct ca821x_dev *pDeviceRef)
Definition mac_messages.h:969
Definitions relating to MLME and MCPS API messages.
CA-821x Device reference struct.
Definition ca821x_api.h:164