Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers

SPI Message Format Typedef. More...

#include <ca821x-api/include/mac_messages.h>

Collaboration diagram for MAC_Message:

Public Attributes

uint8_t CommandId
 
uint8_t Length
 
union {
   struct MCPS_DATA_request_pset   DataReq
 
   struct MLME_ASSOCIATE_request_pset   AssocReq
 
   struct MLME_ASSOCIATE_response_pset   AssocRsp
 
   struct MLME_DISASSOCIATE_request_pset   DisassocReq
 
   struct MLME_GET_request_pset   GetReq
 
   struct MLME_ORPHAN_response_pset   OrphanRsp
 
   struct MLME_POLL_request_pset   PollReq
 
   struct MLME_RX_ENABLE_request_pset   RxEnableReq
 
   struct MLME_SCAN_request_pset   ScanReq
 
   struct MLME_SET_request_pset   SetReq
 
   struct MLME_SET_confirm_pset   SetCnf
 
   struct MLME_START_request_pset   StartReq
 
   struct MCPS_DATA_confirm_pset   DataCnf
 
   struct MCPS_PURGE_confirm_pset   PurgeCnf
 
   struct MCPS_DATA_indication_pset   DataInd
 
   struct MLME_ASSOCIATE_indication_pset   AssocInd
 
   struct MLME_ASSOCIATE_confirm_pset   AssocCnf
 
   struct MLME_DISASSOCIATE_indication_pset   DisassocInd
 
   struct MLME_DISASSOCIATE_confirm_pset   DisassocCnf
 
   struct MLME_BEACON_NOTIFY_indication_pset   BeaconInd
 
   struct MLME_GET_confirm_pset   GetCnf
 
   struct MLME_SCAN_confirm_pset   ScanCnf
 
   struct MLME_COMM_STATUS_indication_pset   CommStatusInd
 
   struct MLME_SYNC_LOSS_indication_pset   SyncLossInd
 
   struct MLME_ORPHAN_indication_pset   OrphanInd
 
   struct HWME_SET_request_pset   HWMESetReq
 
   struct HWME_GET_request_pset   HWMEGetReq
 
   struct HWME_HAES_request_pset   HWMEHAESReq
 
   struct HWME_SET_confirm_pset   HWMESetCnf
 
   struct HWME_GET_confirm_pset   HWMEGetCnf
 
   struct HWME_HAES_confirm_pset   HWMEHAESCnf
 
   struct HWME_WAKEUP_indication_pset   HWMEWakeupInd
 
   struct TDME_SETSFR_request_pset   TDMESetSFRReq
 
   struct TDME_GETSFR_request_pset   TDMEGetSFRReq
 
   struct TDME_TESTMODE_request_pset   TDMETestModeReq
 
   struct TDME_SET_request_pset   TDMESetReq
 
   struct TDME_TXPKT_request_pset   TDMETxPktReq
 
   struct TDME_LOTLK_request_pset   TDMELOTlkReq
 
   struct TDME_SETSFR_confirm_pset   TDMESetSFRCnf
 
   struct TDME_GETSFR_confirm_pset   TDMEGetSFRCnf
 
   struct TDME_TESTMODE_confirm_pset   TDMETestModeCnf
 
   struct TDME_SET_confirm_pset   TDMESetCnf
 
   struct TDME_TXPKT_confirm_pset   TDMETxPktCnf
 
   struct TDME_RXPKT_indication_pset   TDMERxPktInd
 
   struct TDME_EDDET_indication_pset   TDMEEDDetInd
 
   struct TDME_ERROR_indication_pset   TDMEErrorInd
 
   struct TDME_LOTLK_confirm_pset   TDMELOTlkCnf
 
   uint8_t   u8Param
 
   uint8_t   Status
 
   uint8_t   Payload [254]
 
PData
 

Detailed Description

SPI Message Format Typedef.

IMPORTANT: Make sure all of the structs in the PData union have no alignment requirements, i.e. all the members of any of the structs should be of type uint8_t (that includes uint8_t arrays, or other structs which themselves only have uint8_t members.). An example of what NOT to do: struct BAD_EXAMPLE_request_set { uint8_t var1; uint8_t var2; uint32_t bad_var; // DON'T DO THIS, instead do uint8_t good_var[4]; };

Member Data Documentation

◆ AssocCnf

struct MLME_ASSOCIATE_confirm_pset MAC_Message::AssocCnf

◆ AssocInd

struct MLME_ASSOCIATE_indication_pset MAC_Message::AssocInd

◆ AssocReq

struct MLME_ASSOCIATE_request_pset MAC_Message::AssocReq

◆ AssocRsp

struct MLME_ASSOCIATE_response_pset MAC_Message::AssocRsp

◆ BeaconInd

struct MLME_BEACON_NOTIFY_indication_pset MAC_Message::BeaconInd

◆ CommandId

uint8_t MAC_Message::CommandId

◆ CommStatusInd

struct MLME_COMM_STATUS_indication_pset MAC_Message::CommStatusInd

◆ DataCnf

struct MCPS_DATA_confirm_pset MAC_Message::DataCnf

◆ DataInd

struct MCPS_DATA_indication_pset MAC_Message::DataInd

◆ DataReq

struct MCPS_DATA_request_pset MAC_Message::DataReq

◆ DisassocCnf

struct MLME_DISASSOCIATE_confirm_pset MAC_Message::DisassocCnf

◆ DisassocInd

struct MLME_DISASSOCIATE_indication_pset MAC_Message::DisassocInd

◆ DisassocReq

struct MLME_DISASSOCIATE_request_pset MAC_Message::DisassocReq

◆ GetCnf

struct MLME_GET_confirm_pset MAC_Message::GetCnf

◆ GetReq

struct MLME_GET_request_pset MAC_Message::GetReq

◆ HWMEGetCnf

struct HWME_GET_confirm_pset MAC_Message::HWMEGetCnf

◆ HWMEGetReq

struct HWME_GET_request_pset MAC_Message::HWMEGetReq

◆ HWMEHAESCnf

struct HWME_HAES_confirm_pset MAC_Message::HWMEHAESCnf

◆ HWMEHAESReq

struct HWME_HAES_request_pset MAC_Message::HWMEHAESReq

◆ HWMESetCnf

struct HWME_SET_confirm_pset MAC_Message::HWMESetCnf

◆ HWMESetReq

struct HWME_SET_request_pset MAC_Message::HWMESetReq

◆ HWMEWakeupInd

struct HWME_WAKEUP_indication_pset MAC_Message::HWMEWakeupInd

◆ Length

uint8_t MAC_Message::Length

◆ OrphanInd

struct MLME_ORPHAN_indication_pset MAC_Message::OrphanInd

◆ OrphanRsp

struct MLME_ORPHAN_response_pset MAC_Message::OrphanRsp

◆ Payload

uint8_t MAC_Message::Payload[254]

◆ 

union { ... } MAC_Message::PData

◆ PollReq

struct MLME_POLL_request_pset MAC_Message::PollReq

◆ PurgeCnf

struct MCPS_PURGE_confirm_pset MAC_Message::PurgeCnf

◆ RxEnableReq

struct MLME_RX_ENABLE_request_pset MAC_Message::RxEnableReq

◆ ScanCnf

struct MLME_SCAN_confirm_pset MAC_Message::ScanCnf

◆ ScanReq

struct MLME_SCAN_request_pset MAC_Message::ScanReq

◆ SetCnf

struct MLME_SET_confirm_pset MAC_Message::SetCnf

◆ SetReq

struct MLME_SET_request_pset MAC_Message::SetReq

◆ StartReq

struct MLME_START_request_pset MAC_Message::StartReq

◆ Status

uint8_t MAC_Message::Status

◆ SyncLossInd

struct MLME_SYNC_LOSS_indication_pset MAC_Message::SyncLossInd

◆ TDMEEDDetInd

struct TDME_EDDET_indication_pset MAC_Message::TDMEEDDetInd

◆ TDMEErrorInd

struct TDME_ERROR_indication_pset MAC_Message::TDMEErrorInd

◆ TDMEGetSFRCnf

struct TDME_GETSFR_confirm_pset MAC_Message::TDMEGetSFRCnf

◆ TDMEGetSFRReq

struct TDME_GETSFR_request_pset MAC_Message::TDMEGetSFRReq

◆ TDMELOTlkCnf

struct TDME_LOTLK_confirm_pset MAC_Message::TDMELOTlkCnf

◆ TDMELOTlkReq

struct TDME_LOTLK_request_pset MAC_Message::TDMELOTlkReq

◆ TDMERxPktInd

struct TDME_RXPKT_indication_pset MAC_Message::TDMERxPktInd

◆ TDMESetCnf

struct TDME_SET_confirm_pset MAC_Message::TDMESetCnf

◆ TDMESetReq

struct TDME_SET_request_pset MAC_Message::TDMESetReq

◆ TDMESetSFRCnf

struct TDME_SETSFR_confirm_pset MAC_Message::TDMESetSFRCnf

◆ TDMESetSFRReq

struct TDME_SETSFR_request_pset MAC_Message::TDMESetSFRReq

◆ TDMETestModeCnf

struct TDME_TESTMODE_confirm_pset MAC_Message::TDMETestModeCnf

◆ TDMETestModeReq

struct TDME_TESTMODE_request_pset MAC_Message::TDMETestModeReq

◆ TDMETxPktCnf

struct TDME_TXPKT_confirm_pset MAC_Message::TDMETxPktCnf

◆ TDMETxPktReq

struct TDME_TXPKT_request_pset MAC_Message::TDMETxPktReq

◆ u8Param

uint8_t MAC_Message::u8Param

The documentation for this struct was generated from the following file: