32#ifndef CASCODA_AERIAL_ADAPTER_H
33#define CASCODA_AERIAL_ADAPTER_H
41#define AERIAL_ADAPTER_DUT_SHORTADD 0xCAFE
42#define AERIAL_ADAPTER_REF_SHORTADD 0xCAFF
43#define AERIAL_ADAPTER_PANID 0xCA5C
44#define AERIAL_ADAPTER_MSDU_HANDLE 0x05
46#define AERIAL_ADAPTER_EDTHRESHOLD 128
47#define AERIAL_ADAPTER_CSTHRESHOLD 128
50#define AERIAL_ADAPTER_MSDU_POS_ID 0
51#define AERIAL_ADAPTER_MSDU_POS_TYPE 1
52#define AERIAL_ADAPTER_MSDU_POS_ED 2
53#define AERIAL_ADAPTER_MSDU_POS_CS 3
54#define AERIAL_ADAPTER_MSDU_POS_STATUS 4
55#define AERIAL_ADAPTER_MSDU_POS_MESSAGE 5
58#define AERIAL_ADAPTER_PKT_ID 0xA5
61#define AERIAL_ADAPTER_TYPE_REQUEST 0x01
62#define AERIAL_ADAPTER_TYPE_CONFIRM 0x02
63#define AERIAL_ADAPTER_TYPE_MESSAGE 0x03
64#define AERIAL_ADAPTER_TYPE_COMPLETE 0x04
68#define AERIAL_ADAPTER_MAX_MESSAGE 100
85int aaprintf(
const char *format, ...);
The main ca821x-api include file.
ca_error aainitialise(uint8_t channel, struct ca821x_dev *pDeviceRef)
Initialise and start aerial adapter.
Definition cascoda_aerial_adapter.c:310
int aaprintf(const char *format,...)
Print message over air (max.
Definition cascoda_aerial_adapter.c:361
ca_error
Cascoda error type.
Definition ca821x_error.h:51
uint8_t channel
Channel we are sniffing on.
Definition sniffer.c:200
CA-821x Device reference struct.
Definition ca821x_api.h:123