Go to the source code of this file.
◆ AERIAL_ADAPTER_CSTHRESHOLD
#define AERIAL_ADAPTER_CSTHRESHOLD 128 /* Increase CS treshold to get rid of interference (default 80) */ |
◆ AERIAL_ADAPTER_DUT_SHORTADD
#define AERIAL_ADAPTER_DUT_SHORTADD 0xCAFE /* Short Address for DUT */ |
◆ AERIAL_ADAPTER_EDTHRESHOLD
#define AERIAL_ADAPTER_EDTHRESHOLD 128 /* Increase ED treshold to get rid of interference (default 60) */ |
◆ AERIAL_ADAPTER_MAX_MESSAGE
#define AERIAL_ADAPTER_MAX_MESSAGE 100 |
◆ AERIAL_ADAPTER_MSDU_HANDLE
#define AERIAL_ADAPTER_MSDU_HANDLE 0x05 /* Fixed Msdu handle for reference device (only one data request) */ |
◆ AERIAL_ADAPTER_MSDU_POS_CS
#define AERIAL_ADAPTER_MSDU_POS_CS 3 /* Byte 3 - CS of last received Packet */ |
◆ AERIAL_ADAPTER_MSDU_POS_ED
#define AERIAL_ADAPTER_MSDU_POS_ED 2 /* Byte 2 - ED of last received Packet */ |
◆ AERIAL_ADAPTER_MSDU_POS_ID
#define AERIAL_ADAPTER_MSDU_POS_ID 0 /* Byte 0 - Test Packet Identifier */ |
◆ AERIAL_ADAPTER_MSDU_POS_MESSAGE
#define AERIAL_ADAPTER_MSDU_POS_MESSAGE 5 /* from Byte 5: Message if attached */ |
◆ AERIAL_ADAPTER_MSDU_POS_STATUS
#define AERIAL_ADAPTER_MSDU_POS_STATUS 4 /* Byte 4 - Test Status */ |
◆ AERIAL_ADAPTER_MSDU_POS_TYPE
#define AERIAL_ADAPTER_MSDU_POS_TYPE 1 /* Byte 1 - Test Packet Type */ |
◆ AERIAL_ADAPTER_PANID
#define AERIAL_ADAPTER_PANID 0xCA5C /* PanID */ |
◆ AERIAL_ADAPTER_PKT_ID
#define AERIAL_ADAPTER_PKT_ID 0xA5 |
◆ AERIAL_ADAPTER_REF_SHORTADD
#define AERIAL_ADAPTER_REF_SHORTADD 0xCAFF /* Short Address for Reference Device */ |
◆ AERIAL_ADAPTER_TYPE_COMPLETE
#define AERIAL_ADAPTER_TYPE_COMPLETE 0x04 /* DUT -> REF: Test Complete */ |
◆ AERIAL_ADAPTER_TYPE_CONFIRM
#define AERIAL_ADAPTER_TYPE_CONFIRM 0x02 /* REF -> DUT: Test Initialisation Confirm */ |
◆ AERIAL_ADAPTER_TYPE_MESSAGE
#define AERIAL_ADAPTER_TYPE_MESSAGE 0x03 /* DUT -> REF: Test Message for Terminal */ |
◆ AERIAL_ADAPTER_TYPE_REQUEST
#define AERIAL_ADAPTER_TYPE_REQUEST 0x01 /* DUT -> REF: Test Initialisation Request */ |
◆ aainitialise()
Initialise and start aerial adapter.
- Parameters
-
channel | - IEEE802.15.4 channel number (11-26) |
pDeviceRef | - Pointer to initialised ca821x_device_ref struct |
◆ aaprintf()
int aaprintf |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
Print message over air (max.
AERIAL_ADAPTER_MAX_MESSAGE characters)
- Parameters
-
format | printf-style format string, followed by printf-style arguments |