Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
CA-821x Device reference struct. More...
#include <ca821x-api/include/ca821x_api.h>
Public Attributes | |
void * | context |
Context pointer for free use by the application. More... | |
void * | exchange_context |
Context for free use by the exchange (internal to the cascoda stack) More... | |
struct ca821x_api_callbacks | callbacks |
Callback routines registered by the user, to be called by the api for upstream commands. More... | |
uint8_t | MAC_MPW |
Flag to enable workarounds for ca8210 v0.x. More... | |
CA-821x Device reference struct.
This contains all internal state, so that one program instance can control multiple CA-821x devices at a time. This device struct is required to be passed to most ca821x-api functions in order to operate on the provided device.
struct ca821x_api_callbacks ca821x_dev::callbacks |
Callback routines registered by the user, to be called by the api for upstream commands.
void* ca821x_dev::context |
Context pointer for free use by the application.
This context pointer can be set by the application as required, such as to track the application state belonging to a certain device.
void* ca821x_dev::exchange_context |
Context for free use by the exchange (internal to the cascoda stack)
uint8_t ca821x_dev::MAC_MPW |
Flag to enable workarounds for ca8210 v0.x.