40 #ifndef CASCODA_WAIT_H
41 #define CASCODA_WAIT_H
119 void *aCallbackContext,
The main ca821x-api include file.
void * WAIT_GetContext(void)
Get the callback context from within a callback being waited for.
Definition: cascoda_wait.c:146
ca_error WAIT_CallbackSwap(uint8_t aCommandId, ca821x_generic_callback aCallback, uint32_t aTimeoutMs, void *aCallbackContext, struct ca821x_dev *pDeviceRef)
Wait for an asynchronous callback to be triggered, with a given callback swapped in.
Definition: cascoda_wait.c:122
ca_error WAIT_Callback(uint8_t aCommandId, uint32_t aTimeoutMs, void *aCallbackContext, struct ca821x_dev *pDeviceRef)
Wait for an asynchronous callback to be triggered.
Definition: cascoda_wait.c:106
void WAIT_ms(uint32_t ticks)
Wait for a given number of milliseconds.
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:123