43 #ifndef CASCODA_EVBME_H
44 #define CASCODA_EVBME_H
50 #ifndef CA_TARGET_NAME
52 #define CA_TARGET_NAME "UNKNOWN-TARGET"
The main ca821x-api include file.
unsigned long u32_t
Definition: cascoda_types.h:50
unsigned char u8_t
Definition: cascoda_types.h:46
struct ca821x_dev dev
Definition: flash_test_main.c:95
ca_error EVBME_GET_OT_Attrib(enum evbme_attribute aAttrib, uint8_t *aOutBufLen, uint8_t *aOutBuf)
Get an openthread-specific EVBME attribute.
Definition: cascoda_evbme.c:1137
void EVBME_PowerDown(enum powerdown_mode mode, u32_t sleeptime_ms, struct ca821x_dev *pDeviceRef)
Put the system into a state of power-down for a given time.
Definition: cascoda_evbme.c:948
void cascoda_io_handler(struct ca821x_dev *pDeviceRef)
Processes messages received over available interfaces.
Definition: cascoda_evbme.c:856
ca_error EVBME_NotHandled(const struct MAC_Message *msg, struct ca821x_dev *pDeviceRef)
Sends DownStream Command from API UpStream to Serial.
Definition: cascoda_evbme.c:902
void EVBME_SwitchClock(struct ca821x_dev *pDeviceRef, u8_t useExternalClock)
System Clock Switch.
Definition: cascoda_evbme.c:913
void EVBME_CAX_Restart(struct ca821x_dev *pDeviceRef)
Restarts Air Interface.
Definition: cascoda_evbme.c:1056
const char * EVBME_GetAppName(void)
Returns the app name string.
Definition: cascoda_evbme.c:1132
u8_t EVBME_UseMAC
Use MAC functionality during phy tests.
Definition: cascoda_evbme.c:64
int(* cascoda_reinitialise)(struct ca821x_dev *pDeviceRef)
re-initialises CA821x / MAC PIB after powerdown.
Definition: cascoda_evbme.c:74
powerdown_mode
Definitions for Powerdown Modes.
Definition: cascoda_evbme.h:57
u8_t EVBME_HasReset
Used to notify apps that radio has been reset.
Definition: cascoda_evbme.c:63
ca_error EVBMEInitialise(const char *aAppName, struct ca821x_dev *dev)
Initialises EVBME after Reset.
Definition: cascoda_evbme.c:1079
@ PDM_POWERDOWN
No CAX Retention, PIB has to be re-initialised.
Definition: cascoda_evbme.h:61
@ PDM_POWEROFF
No CAX Retention, PIB has to be re-initialised.
Definition: cascoda_evbme.h:62
@ PDM_STANDBY
CAX Full Data Retention.
Definition: cascoda_evbme.h:60
@ PDM_ACTIVE
CAX Full Data Retention, MAC Running.
Definition: cascoda_evbme.h:59
@ PDM_ALLON
Mainly for Testing.
Definition: cascoda_evbme.h:58
@ PDM_DPD
No CAX Retention or MCU Retention (Data saved in NVM)
Definition: cascoda_evbme.h:63
@ PDM_DPD_MCU_ONLY
No CAX Retention or MCU Retention (Data saved in NVM)
Definition: cascoda_evbme.h:64
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
evbme_attribute
EVBME attribute ids for use with EVBME_SET_REQUEST and EVBME_GET_REQUEST.
Definition: evbme_messages.h:73
EVBME Message command in Cascoda TLV format.
Definition: evbme_messages.h:258
SPI Message Format Typedef.
Definition: mac_messages.h:1017
CA-821x Device reference struct.
Definition: ca821x_api.h:123