36 #ifndef TEST15_4_EVBME_H
37 #define TEST15_4_EVBME_H
42 #define EVBME_PHY_TESTMODE_REQUEST (0x83)
43 #define EVBME_PHY_SET_REQUEST (0x84)
44 #define EVBME_PHY_REPORT_REQUEST (0x85)
45 #define EVBME_FFD_AWAIT_ASSOC_REQUEST (0x8D)
46 #define EVBME_FFD_AWAIT_ORPHAN_REQUEST (0x8E)
The main ca821x-api include file.
Internal Function definitions for communicating with a host using UART/USB.
struct SerialBuffer SerialRxBuffer
Type definitions used by Cascoda baremetal drivers.
unsigned char u8_t
Definition: cascoda_types.h:46
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
MCPS_DATA_confirm parameter set.
Definition: mac_messages.h:357
MCPS_DATA_indication parameter set.
Definition: mac_messages.h:384
MLME_ASSOCIATE_indication parameter set.
Definition: mac_messages.h:461
MLME_ORPHAN_indication parameter set.
Definition: mac_messages.h:529
Structure of serial transfers.
Definition: cascoda_serial.h:50
TDME_EDDET_indication parameter set.
Definition: mac_messages.h:641
TDME_RXPKT_indication parameter set.
Definition: mac_messages.h:630
CA-821x Device reference struct.
Definition: ca821x_api.h:123
void TEST15_4_SetupAwaitAssoc(uint8_t *pDeviceAddress, uint16_t AssocShortAddress, uint8_t Status)
Set up Association Response when waiting for it.
Definition: test15_4_evbme.c:272
ca_error TEST15_4_OrphanIndication(struct MLME_ORPHAN_indication_pset *params, struct ca821x_dev *pDeviceRef)
Callback for MLME_ORPHAN_indication.
Definition: test15_4_evbme.c:308
void TEST15_4_RegisterCallbacks(struct ca821x_dev *pDeviceRef)
Dynamically Register Callbacks for TEST15_4.
Definition: test15_4_evbme.c:389
u8_t EVBME_PHY_TESTMODE_request(u8_t TestMode, struct ca821x_dev *pDeviceRef)
EVBME_PHY_TESTMODE_request according to EVBME Spec.
Definition: test15_4_evbme.c:124
ca_error TEST15_4_PHY_RXPKT_indication(struct TDME_RXPKT_indication_pset *params, struct ca821x_dev *pDeviceRef)
Callback for TDME_RXPKT_indication.
Definition: test15_4_evbme.c:325
ca_error TEST15_4_AssociateIndication(struct MLME_ASSOCIATE_indication_pset *params, struct ca821x_dev *pDeviceRef)
Callback for MLME_ASSOCIATE_indication.
Definition: test15_4_evbme.c:290
void EVBME_PHY_REPORT_request(void)
EVBME_PHY_REPORT_request according to EVBME Spec.
Definition: test15_4_evbme.c:267
ca_error TEST15_4_PHY_EDDET_indication(struct TDME_EDDET_indication_pset *params, struct ca821x_dev *pDeviceRef)
Callback for TDME_EDDET_indication.
Definition: test15_4_evbme.c:379
ca_error TEST15_4_MAC_RXPKT_indication(struct MCPS_DATA_indication_pset *params, struct ca821x_dev *pDeviceRef)
Callback for MCPS_DATA_indication.
Definition: test15_4_evbme.c:343
ca_error TEST15_4_MAC_TXPKT_confirm(struct MCPS_DATA_confirm_pset *params, struct ca821x_dev *pDeviceRef)
Callback for MCPS_DATA_confirm.
Definition: test15_4_evbme.c:361
void TEST15_4_Initialise(struct ca821x_dev *pDeviceRef)
TEST15_4 Initialistion.
Definition: test15_4_evbme.c:61
void TEST15_4_SetupAwaitOrphan(uint8_t *pDeviceAddress, uint16_t OrphanShortAddress)
Set up Orphan Response when waiting for it.
Definition: test15_4_evbme.c:279
int TEST15_4_UpStreamDispatch(struct SerialBuffer *SerialRxBuffer, struct ca821x_dev *pDeviceRef)
Dispatch Branch for EVBME Request (UpStream, Serial)
Definition: test15_4_evbme.c:90
u8_t EVBME_PHY_SET_request(u8_t Parameter, u8_t ParameterLength, u8_t *ParameterValue)
EVBME_PHY_SET_request according to EVBME Spec.
Definition: test15_4_evbme.c:148
int TEST15_4_SerialDispatch(uint8_t *buf, size_t len, struct ca821x_dev *pDeviceRef)
Dispatch function to process received serial messages.
Definition: test15_4_evbme.c:413
void TEST15_4_Handler(struct ca821x_dev *pDeviceRef)
TEST15_4 Event Handler in Main Polling Loop.
Definition: test15_4_evbme.c:67