Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
Loading...
Searching...
No Matches
test15_4_evbme.h File Reference

test15_4 test integration defines More...

Include dependency graph for test15_4_evbme.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EVBME_PHY_TESTMODE_REQUEST   (0x83)
#define EVBME_PHY_SET_REQUEST   (0x84)
#define EVBME_PHY_REPORT_REQUEST   (0x85)
#define EVBME_FFD_AWAIT_ASSOC_REQUEST   (0x8D)
#define EVBME_FFD_AWAIT_ORPHAN_REQUEST   (0x8E)

Functions

void TEST15_4_Initialise (struct ca821x_dev *pDeviceRef)
 TEST15_4 Initialistion.
void TEST15_4_Handler (struct ca821x_dev *pDeviceRef)
 TEST15_4 Event Handler in Main Polling Loop.
int TEST15_4_UpStreamDispatch (struct SerialBuffer *SerialRxBuffer, struct ca821x_dev *pDeviceRef)
 Dispatch Branch for EVBME Request (UpStream, Serial).
u8_t EVBME_PHY_TESTMODE_request (u8_t TestMode, struct ca821x_dev *pDeviceRef)
 EVBME_PHY_TESTMODE_request according to EVBME Spec.
u8_t EVBME_PHY_SET_request (u8_t Parameter, u8_t ParameterLength, u8_t *ParameterValue)
 EVBME_PHY_SET_request according to EVBME Spec.
void EVBME_PHY_REPORT_request (void)
 EVBME_PHY_REPORT_request according to EVBME Spec.
void TEST15_4_SetupAwaitAssoc (uint8_t *pDeviceAddress, uint16_t AssocShortAddress, uint8_t Status)
 Set up Association Response when waiting for it.
void TEST15_4_SetupAwaitOrphan (uint8_t *pDeviceAddress, uint16_t OrphanShortAddress)
 Set up Orphan Response when waiting for it.
ca_error TEST15_4_AssociateIndication (struct MLME_ASSOCIATE_indication_pset *params, struct ca821x_dev *pDeviceRef)
 Callback for MLME_ASSOCIATE_indication.
ca_error TEST15_4_OrphanIndication (struct MLME_ORPHAN_indication_pset *params, struct ca821x_dev *pDeviceRef)
 Callback for MLME_ORPHAN_indication.
ca_error TEST15_4_MAC_TXPKT_confirm (struct MCPS_DATA_confirm_pset *params, struct ca821x_dev *pDeviceRef)
 Callback for MCPS_DATA_confirm.
ca_error TEST15_4_PHY_RXPKT_indication (struct TDME_RXPKT_indication_pset *params, struct ca821x_dev *pDeviceRef)
 Callback for TDME_RXPKT_indication.
ca_error TEST15_4_MAC_RXPKT_indication (struct MCPS_DATA_indication_pset *params, struct ca821x_dev *pDeviceRef)
 Callback for MCPS_DATA_indication.
ca_error TEST15_4_PHY_EDDET_indication (struct TDME_EDDET_indication_pset *params, struct ca821x_dev *pDeviceRef)
 Callback for TDME_EDDET_indication.
void TEST15_4_RegisterCallbacks (struct ca821x_dev *pDeviceRef)
 Dynamically Register Callbacks for TEST15_4.
int TEST15_4_SerialDispatch (uint8_t *buf, size_t len, struct ca821x_dev *pDeviceRef)
 Dispatch function to process received serial messages.

Detailed Description

test15_4 test integration defines

Macro Definition Documentation

◆ EVBME_FFD_AWAIT_ASSOC_REQUEST

#define EVBME_FFD_AWAIT_ASSOC_REQUEST   (0x8D)

◆ EVBME_FFD_AWAIT_ORPHAN_REQUEST

#define EVBME_FFD_AWAIT_ORPHAN_REQUEST   (0x8E)

◆ EVBME_PHY_REPORT_REQUEST

#define EVBME_PHY_REPORT_REQUEST   (0x85)

◆ EVBME_PHY_SET_REQUEST

#define EVBME_PHY_SET_REQUEST   (0x84)

◆ EVBME_PHY_TESTMODE_REQUEST

#define EVBME_PHY_TESTMODE_REQUEST   (0x83)

Function Documentation

◆ EVBME_PHY_REPORT_request()

void EVBME_PHY_REPORT_request ( void )

EVBME_PHY_REPORT_request according to EVBME Spec.

◆ EVBME_PHY_SET_request()

u8_t EVBME_PHY_SET_request ( u8_t Parameter,
u8_t ParameterLength,
u8_t * ParameterValue )

EVBME_PHY_SET_request according to EVBME Spec.

Parameters
Parameter- Parameter Specifier
ParameterLength- Parameter Length
ParameterValue- Pointer to Parameter Value
Returns
EVBME Status

◆ EVBME_PHY_TESTMODE_request()

u8_t EVBME_PHY_TESTMODE_request ( u8_t TestMode,
struct ca821x_dev * pDeviceRef )

EVBME_PHY_TESTMODE_request according to EVBME Spec.

Parameters
TestMode- Test Mode
pDeviceRef- pointer to a CA-821x Device reference struct
Returns
EVBME Status

◆ TEST15_4_AssociateIndication()

ca_error TEST15_4_AssociateIndication ( struct MLME_ASSOCIATE_indication_pset * params,
struct ca821x_dev * pDeviceRef )

Callback for MLME_ASSOCIATE_indication.

◆ TEST15_4_Handler()

void TEST15_4_Handler ( struct ca821x_dev * pDeviceRef)

TEST15_4 Event Handler in Main Polling Loop.

◆ TEST15_4_Initialise()

void TEST15_4_Initialise ( struct ca821x_dev * pDeviceRef)

TEST15_4 Initialistion.

◆ TEST15_4_MAC_RXPKT_indication()

ca_error TEST15_4_MAC_RXPKT_indication ( struct MCPS_DATA_indication_pset * params,
struct ca821x_dev * pDeviceRef )

Callback for MCPS_DATA_indication.

◆ TEST15_4_MAC_TXPKT_confirm()

ca_error TEST15_4_MAC_TXPKT_confirm ( struct MCPS_DATA_confirm_pset * params,
struct ca821x_dev * pDeviceRef )

Callback for MCPS_DATA_confirm.

◆ TEST15_4_OrphanIndication()

ca_error TEST15_4_OrphanIndication ( struct MLME_ORPHAN_indication_pset * params,
struct ca821x_dev * pDeviceRef )

Callback for MLME_ORPHAN_indication.

◆ TEST15_4_PHY_EDDET_indication()

ca_error TEST15_4_PHY_EDDET_indication ( struct TDME_EDDET_indication_pset * params,
struct ca821x_dev * pDeviceRef )

Callback for TDME_EDDET_indication.

◆ TEST15_4_PHY_RXPKT_indication()

ca_error TEST15_4_PHY_RXPKT_indication ( struct TDME_RXPKT_indication_pset * params,
struct ca821x_dev * pDeviceRef )

Callback for TDME_RXPKT_indication.

◆ TEST15_4_RegisterCallbacks()

void TEST15_4_RegisterCallbacks ( struct ca821x_dev * pDeviceRef)

Dynamically Register Callbacks for TEST15_4.

◆ TEST15_4_SerialDispatch()

int TEST15_4_SerialDispatch ( uint8_t * buf,
size_t len,
struct ca821x_dev * pDeviceRef )

Dispatch function to process received serial messages.

Parameters
buf- serial buffer to dispatch
len- length of buf
pDeviceRef- pointer to a CA-821x Device reference struct
Returns
1: consumed by driver 0: command to be sent downstream to spi

◆ TEST15_4_SetupAwaitAssoc()

void TEST15_4_SetupAwaitAssoc ( uint8_t * pDeviceAddress,
uint16_t AssocShortAddress,
uint8_t Status )

Set up Association Response when waiting for it.

Parameters
pDeviceAddress- IEEE address of device expected
AssocShortAddress- Short address for end device
Status- EVBME Status
Returns
-

◆ TEST15_4_SetupAwaitOrphan()

void TEST15_4_SetupAwaitOrphan ( uint8_t * pDeviceAddress,
uint16_t OrphanShortAddress )

Set up Orphan Response when waiting for it.

Parameters
pDeviceAddress- IEEE address of device expected
OrphanShortAddress- Short address of orphan
Returns
-

◆ TEST15_4_UpStreamDispatch()

int TEST15_4_UpStreamDispatch ( struct SerialBuffer * SerialRxBuffer,
struct ca821x_dev * pDeviceRef )

Dispatch Branch for EVBME Request (UpStream, Serial).