|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
PHY Test Functions using MAC Functions for Data Reliablity. More...
#include <stdio.h>#include <string.h>#include "cascoda-util/cascoda_rand.h"#include "ca821x_api.h"#include "test15_4_phy_tests.h"
Macros | |
| #define | PHY_PANID 0xCA5C |
| #define | PHY_TX_SHORTADD 0xCA51 |
| #define | PHY_RX_SHORTADD 0xCA52 |
| #define | PHY_TX_LONGADD |
| #define | PHY_RX_LONGADD |
Functions | |
| void | PHYTestMACAddInit (void) |
| Address Initialisation. More... | |
| uint8_t | PHYTestMACTxInitialise (struct ca821x_dev *pDeviceRef) |
| Initialisation for using MAC layer in EVBME (Tx) More... | |
| uint8_t | PHYTestMACRxInitialise (struct ca821x_dev *pDeviceRef) |
| Initialisation for using MAC layer in EVBME (Rx) More... | |
| uint8_t | PHYTestMACDeinitialise (struct ca821x_dev *pDeviceRef) |
| Denitialisation for using MAC layer in EVBME. More... | |
| uint8_t | PHY_TXPKT_MAC_request (struct MAC_Message *msg, struct ca821x_dev *pDeviceRef) |
| uint8_t | PHY_TXPKT_MAC_confirm (struct MCPS_DATA_confirm_pset *params, struct ca821x_dev *pDeviceRef) |
| PHY Test Wrapper for MCPS_DATA_confirm() More... | |
| uint8_t | PHY_RXPKT_MAC_indication (struct MCPS_DATA_indication_pset *params, struct ca821x_dev *pDeviceRef) |
| PHY Test Wrapper for MCPS_DATA_indication() More... | |
Variables | |
| uint16_t | PHYPANId |
| uint16_t | PHYTxShortAddress |
| uint16_t | PHYRxShortAddress |
| uint8_t | PHYTxLongAddress [8] |
| uint8_t | PHYRxLongAddress [8] |
| uint8_t | DSN_OLD |
PHY Test Functions using MAC Functions for Data Reliablity.
| #define PHY_PANID 0xCA5C |
| #define PHY_RX_LONGADD |
| #define PHY_RX_SHORTADD 0xCA52 |
| #define PHY_TX_LONGADD |
| #define PHY_TX_SHORTADD 0xCA51 |
| uint8_t PHY_RXPKT_MAC_indication | ( | struct MCPS_DATA_indication_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
PHY Test Wrapper for MCPS_DATA_indication()
| params | - MCPS data indication buffer |
| pDeviceRef | - Device Reference |
| uint8_t PHY_TXPKT_MAC_confirm | ( | struct MCPS_DATA_confirm_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
PHY Test Wrapper for MCPS_DATA_confirm()
| params | - MCPS data confirm buffer |
| pDeviceRef | - Device Reference |
| uint8_t PHY_TXPKT_MAC_request | ( | struct MAC_Message * | msg, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
| void PHYTestMACAddInit | ( | void | ) |
Address Initialisation.
| uint8_t PHYTestMACDeinitialise | ( | struct ca821x_dev * | pDeviceRef | ) |
Denitialisation for using MAC layer in EVBME.
| pDeviceRef | - Device Reference |
| uint8_t PHYTestMACRxInitialise | ( | struct ca821x_dev * | pDeviceRef | ) |
Initialisation for using MAC layer in EVBME (Rx)
| pDeviceRef | - Device Reference |
| uint8_t PHYTestMACTxInitialise | ( | struct ca821x_dev * | pDeviceRef | ) |
Initialisation for using MAC layer in EVBME (Tx)
| pDeviceRef | - Device Reference |
| uint8_t DSN_OLD |
| uint16_t PHYPANId |
| uint8_t PHYRxLongAddress[8] |
| uint16_t PHYRxShortAddress |
| uint8_t PHYTxLongAddress[8] |
| uint16_t PHYTxShortAddress |