Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
ca821x_dev Struct Reference

CA-821x Device reference struct. More...

#include <ca821x-api/include/ca821x_api.h>

Collaboration diagram for ca821x_dev:

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...
 

Detailed Description

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.

Member Data Documentation

◆ callbacks

struct ca821x_api_callbacks ca821x_dev::callbacks

Callback routines registered by the user, to be called by the api for upstream commands.

◆ context

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.

◆ exchange_context

void* ca821x_dev::exchange_context

Context for free use by the exchange (internal to the cascoda stack)

◆ MAC_MPW

uint8_t ca821x_dev::MAC_MPW

Flag to enable workarounds for ca8210 v0.x.


The documentation for this struct was generated from the following file: