Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cascoda-bm/cascoda_dispatch.h"
#include "cascoda-bm/cascoda_interface_core.h"
#include "cascoda-bm/cascoda_spi.h"
#include "cascoda-bm/cascoda_wait.h"
#include "cascoda-util/cascoda_time.h"
#include "ca821x_api.h"
#include "mac_messages.h"
Functions | |
void | DISPATCH_ReadCA821x (struct ca821x_dev *pDeviceRef) |
Read SPI messages from the ca821x. More... | |
ca_error | DISPATCH_ToCA821x (const uint8_t *buf, u8_t *response, struct ca821x_dev *pDeviceRef) |
Send Request to CA-821x over SPI. More... | |
ca_error | ca821x_api_downstream (const uint8_t *buf, uint8_t *response, struct ca821x_dev *pDeviceRef) |
Function for downstream api interface. More... | |
ca_error | DISPATCH_FromCA821x (struct ca821x_dev *pDeviceRef) |
process and dispatch on any received SPI messages from the ca821x More... | |