|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
test15_4 test integration defines More...
#include "cascoda-bm/cascoda_serial.h"#include "cascoda-bm/cascoda_types.h"#include "ca821x_api.h"

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. More... | |
| void | TEST15_4_Handler (struct ca821x_dev *pDeviceRef) |
| TEST15_4 Event Handler in Main Polling Loop. More... | |
| int | TEST15_4_UpStreamDispatch (struct SerialBuffer *SerialRxBuffer, struct ca821x_dev *pDeviceRef) |
| Dispatch Branch for EVBME Request (UpStream, Serial) More... | |
| u8_t | EVBME_PHY_TESTMODE_request (u8_t TestMode, struct ca821x_dev *pDeviceRef) |
| EVBME_PHY_TESTMODE_request according to EVBME Spec. More... | |
| u8_t | EVBME_PHY_SET_request (u8_t Parameter, u8_t ParameterLength, u8_t *ParameterValue) |
| EVBME_PHY_SET_request according to EVBME Spec. More... | |
| void | EVBME_PHY_REPORT_request (void) |
| EVBME_PHY_REPORT_request according to EVBME Spec. More... | |
| void | TEST15_4_SetupAwaitAssoc (uint8_t *pDeviceAddress, uint16_t AssocShortAddress, uint8_t Status) |
| Set up Association Response when waiting for it. More... | |
| void | TEST15_4_SetupAwaitOrphan (uint8_t *pDeviceAddress, uint16_t OrphanShortAddress) |
| Set up Orphan Response when waiting for it. More... | |
| ca_error | TEST15_4_AssociateIndication (struct MLME_ASSOCIATE_indication_pset *params, struct ca821x_dev *pDeviceRef) |
| Callback for MLME_ASSOCIATE_indication. More... | |
| ca_error | TEST15_4_OrphanIndication (struct MLME_ORPHAN_indication_pset *params, struct ca821x_dev *pDeviceRef) |
| Callback for MLME_ORPHAN_indication. More... | |
| ca_error | TEST15_4_MAC_TXPKT_confirm (struct MCPS_DATA_confirm_pset *params, struct ca821x_dev *pDeviceRef) |
| Callback for MCPS_DATA_confirm. More... | |
| ca_error | TEST15_4_PHY_RXPKT_indication (struct TDME_RXPKT_indication_pset *params, struct ca821x_dev *pDeviceRef) |
| Callback for TDME_RXPKT_indication. More... | |
| ca_error | TEST15_4_MAC_RXPKT_indication (struct MCPS_DATA_indication_pset *params, struct ca821x_dev *pDeviceRef) |
| Callback for MCPS_DATA_indication. More... | |
| ca_error | TEST15_4_PHY_EDDET_indication (struct TDME_EDDET_indication_pset *params, struct ca821x_dev *pDeviceRef) |
| Callback for TDME_EDDET_indication. More... | |
| void | TEST15_4_RegisterCallbacks (struct ca821x_dev *pDeviceRef) |
| Dynamically Register Callbacks for TEST15_4. More... | |
| int | TEST15_4_SerialDispatch (uint8_t *buf, size_t len, struct ca821x_dev *pDeviceRef) |
| Dispatch function to process received serial messages. More... | |
test15_4 test integration defines
| #define EVBME_FFD_AWAIT_ASSOC_REQUEST (0x8D) |
| #define EVBME_FFD_AWAIT_ORPHAN_REQUEST (0x8E) |
| #define EVBME_PHY_REPORT_REQUEST (0x85) |
| #define EVBME_PHY_SET_REQUEST (0x84) |
| #define EVBME_PHY_TESTMODE_REQUEST (0x83) |
| void EVBME_PHY_REPORT_request | ( | void | ) |
EVBME_PHY_REPORT_request according to EVBME Spec.
EVBME_PHY_SET_request according to EVBME Spec.
| Parameter | - Parameter Specifier |
| ParameterLength | - Parameter Length |
| ParameterValue | - Pointer to Parameter Value |
| u8_t EVBME_PHY_TESTMODE_request | ( | u8_t | TestMode, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
EVBME_PHY_TESTMODE_request according to EVBME Spec.
| TestMode | - Test Mode |
| pDeviceRef | - pointer to a CA-821x Device reference struct |
| ca_error TEST15_4_AssociateIndication | ( | struct MLME_ASSOCIATE_indication_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
Callback for MLME_ASSOCIATE_indication.
| void TEST15_4_Handler | ( | struct ca821x_dev * | pDeviceRef | ) |
TEST15_4 Event Handler in Main Polling Loop.
| void TEST15_4_Initialise | ( | struct ca821x_dev * | pDeviceRef | ) |
TEST15_4 Initialistion.
| 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_MAC_TXPKT_confirm | ( | struct MCPS_DATA_confirm_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
Callback for MCPS_DATA_confirm.
| ca_error TEST15_4_OrphanIndication | ( | struct MLME_ORPHAN_indication_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
Callback for MLME_ORPHAN_indication.
| ca_error TEST15_4_PHY_EDDET_indication | ( | struct TDME_EDDET_indication_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
Callback for TDME_EDDET_indication.
| ca_error TEST15_4_PHY_RXPKT_indication | ( | struct TDME_RXPKT_indication_pset * | params, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
Callback for TDME_RXPKT_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.
| buf | - serial buffer to dispatch |
| len | - length of buf |
| pDeviceRef | - pointer to a CA-821x Device reference struct |
| void TEST15_4_SetupAwaitAssoc | ( | uint8_t * | pDeviceAddress, |
| uint16_t | AssocShortAddress, | ||
| uint8_t | Status | ||
| ) |
Set up Association Response when waiting for it.
| pDeviceAddress | - IEEE address of device expected |
| AssocShortAddress | - Short address for end device |
| Status | - EVBME Status |
| void TEST15_4_SetupAwaitOrphan | ( | uint8_t * | pDeviceAddress, |
| uint16_t | OrphanShortAddress | ||
| ) |
Set up Orphan Response when waiting for it.
| pDeviceAddress | - IEEE address of device expected |
| OrphanShortAddress | - Short address of orphan |
| int TEST15_4_UpStreamDispatch | ( | struct SerialBuffer * | SerialRxBuffer, |
| struct ca821x_dev * | pDeviceRef | ||
| ) |
Dispatch Branch for EVBME Request (UpStream, Serial)