40#ifndef CASCODA_DISPATCH_H
41#define CASCODA_DISPATCH_H
The main ca821x-api include file.
Type definitions used by Cascoda baremetal drivers.
unsigned char u8_t
Definition cascoda_types.h:46
ca_error DISPATCH_FromCA821x(struct ca821x_dev *pDeviceRef)
process and dispatch on any received SPI messages from the ca821x
Definition cascoda_dispatch.c:565
void DISPATCH_ReadCA821x(struct ca821x_dev *pDeviceRef)
Read SPI messages from the ca821x.
Definition cascoda_dispatch.c:513
ca_mac_status DISPATCH_SetCurrentTxPower(struct ca821x_dev *pDeviceRef)
Set current transmit power.
Definition cascoda_dispatch.c:594
ca_error DISPATCH_ToCA821x(const uint8_t *buf, u8_t *response, struct ca821x_dev *pDeviceRef)
Send Request to CA-821x over SPI.
Definition cascoda_dispatch.c:541
ca_error
Cascoda error type.
Definition ca821x_error.h:51
enum mac_status ca_mac_status
MAC Status Codes (see 802.15.4 2006 spec table 78).
Definitions relating to MLME and MCPS API messages.
CA-821x Device reference struct.
Definition ca821x_api.h:164