40 #ifndef MAC_MESSAGES_H
41 #define MAC_MESSAGES_H
45 #include "ca821x_config.h"
54 #define MAX_HWME_ATTRIBUTE_SIZE 16
55 #define MAX_TDME_ATTRIBUTE_SIZE 2
111 #if CASCODA_CA_VER >= 8212
117 uint8_t HeaderIELength;
118 uint8_t PayloadIELength;
138 #if CASCODA_CA_VER >= 8212
140 struct PCPS_DATA_request_pset
147 #elif CASCODA_CA_VER == 8211
149 struct PCPS_DATA_request_pset
217 #if CASCODA_CA_VER == 8210
222 #if CASCODA_CA_VER >= 8212
223 uint8_t FrameVersion;
228 #if CASCODA_CA_VER >= 8212
229 struct MLME_POLL_confirm_pset
361 #if CASCODA_CA_VER >= 8211
362 uint8_t FramePending;
364 #if CASCODA_CA_VER >= 8212
365 uint8_t FailCount_NoAck;
366 uint8_t FailCount_CsmaCa;
387 #if CASCODA_CA_VER >= 8212
388 uint8_t HeaderIELength;
389 uint8_t PayloadIELength;
395 #if CASCODA_CA_VER >= 8211
396 uint8_t FramePending;
398 #if CASCODA_CA_VER >= 8212
405 #if CASCODA_CA_VER >= 8212
407 struct PCPS_DATA_indication_pset
411 uint8_t Timestamp[4];
417 struct PCPS_DATA_confirm_pset
421 uint8_t TimeStamp[4];
422 uint8_t FramePending;
423 uint8_t FailCount_NoAck;
424 uint8_t FailCount_CsmaCa;
428 struct MLME_IE_NOTIFY_indication_pset
432 uint8_t HeaderIELength;
433 uint8_t PayloadIELength;
438 #elif CASCODA_CA_VER == 8211
440 struct PCPS_DATA_indication_pset
449 struct PCPS_DATA_confirm_pset
453 uint8_t FramePending;
503 #define DEFAULT_RESULT_LIST_SIZE (128)
549 #if CASCODA_CA_VER >= 8212
550 uint8_t Timestamp[4];
670 #if CASCODA_CA_VER >= 8212
672 LOOKUP_DESC_TABLE_SIZE = 10,
673 DEVICE_TABLE_SIZE = 150,
674 SECURITY_LEVEL_TABLE_SIZE = 10,
675 COMMAND_ID_SECURITY_LEVEL_TABLE_SIZE = 10,
676 IE_SECURITY_LEVEL_TABLE_SIZE = 10,
677 SECURITY_LEVEL_EXEMPTION_TABLE_SIZE = 4,
678 #elif CASCODA_CA_VER == 8211
680 LOOKUP_DESC_TABLE_SIZE = 5,
681 KEY_DEVICE_TABLE_SIZE = 32,
682 KEY_USAGE_TABLE_SIZE = 12,
683 SECURITY_LEVEL_TABLE_SIZE = 2,
684 DEVICE_TABLE_SIZE = 32,
685 #elif CASCODA_CA_VER == 8210
687 LOOKUP_DESC_TABLE_SIZE = 5,
688 KEY_DEVICE_TABLE_SIZE = 10,
689 KEY_USAGE_TABLE_SIZE = 12,
690 SECURITY_LEVEL_TABLE_SIZE = 2,
691 DEVICE_TABLE_SIZE = 10,
693 #error "Security table sizes undefined"
701 #if CASCODA_CA_VER >= 8212
705 struct DeviceTableShortPan
709 } ShortPan[DEVICE_TABLE_SIZE];
710 struct DeviceTableExtAddr
716 uint8_t FrameCounter[4];
717 uint8_t EnhAckFCOffset;
719 uint8_t ThreadKeyIndexEnabled : 1;
720 } Entry[DEVICE_TABLE_SIZE];
729 uint8_t ThreadKeyIDMode2 : 1;
730 } Entry[KEY_TABLE_SIZE];
733 struct KeyLookupTable
736 struct LookupTableData
739 uint8_t LookupData[9];
740 } LookupData[LOOKUP_DESC_TABLE_SIZE];
743 uint8_t KeyTableIndex;
744 } Entry[LOOKUP_DESC_TABLE_SIZE];
747 struct SecurityLevelTable
752 uint8_t FrameTypeMask;
753 uint8_t SecLevelMask;
755 } Entry[SECURITY_LEVEL_TABLE_SIZE];
758 struct CommandIdSecurityLevelTable
761 uint8_t CommandId[COMMAND_ID_SECURITY_LEVEL_TABLE_SIZE];
764 uint8_t SecLevelMask;
766 } Entry[COMMAND_ID_SECURITY_LEVEL_TABLE_SIZE];
769 struct IESecurityLevelTable
772 uint8_t IEId[IE_SECURITY_LEVEL_TABLE_SIZE];
775 uint8_t FrameTypeMask;
776 uint8_t SecLevelMask;
778 } Entry[IE_SECURITY_LEVEL_TABLE_SIZE];
781 struct SecurityLevelExemptionTable
786 uint8_t FrameTypeMask;
787 uint8_t CommandIdMask;
788 uint8_t SecLevelMask;
790 uint8_t DeviceTableIndex;
791 } Entry[SECURITY_LEVEL_EXEMPTION_TABLE_SIZE];
795 struct DeviceTablePib
800 uint8_t FrameCounter[4];
801 uint8_t EnhAckFCOffset;
803 uint8_t ThreadKeyIndexEnabled;
809 uint8_t ThreadKeyIDMode2;
812 struct KeyLookupTablePib
815 uint8_t LookupData[9];
816 uint8_t KeyTableIndex;
819 struct SecurityLevelTablePib
821 uint8_t FrameTypeMask;
822 uint8_t SecLevelMask;
826 struct CommandIdSecurityLevelTablePib
829 uint8_t SecLevelMask;
833 struct IESecurityLevelTablePib
836 uint8_t FrameTypeMask;
837 uint8_t SecLevelMask;
841 struct SecurityLevelExemptionTablePib
843 uint8_t FrameTypeMask;
844 uint8_t CommandIdMask;
845 uint8_t SecLevelMask;
847 uint8_t DeviceTableIndex;
887 #if CASCODA_CA_VER == 8211
949 #if CASCODA_CA_VER >= 8212
950 typedef ca_error (*MLME_POLL_confirm_callback)(
struct MLME_POLL_confirm_pset *params,
struct ca821x_dev *pDeviceRef);
951 typedef ca_error (*MLME_IE_NOTIFY_indication_callback)(
struct MLME_IE_NOTIFY_indication_pset *params,
958 #if CASCODA_CA_VER >= 8211
959 typedef ca_error (*PCPS_DATA_indication_callback)(
struct PCPS_DATA_indication_pset *params,
961 typedef ca_error (*PCPS_DATA_confirm_callback)(
struct PCPS_DATA_confirm_pset *params,
struct ca821x_dev *pDeviceRef);
976 #if CASCODA_CA_VER >= 8211
977 PCPS_DATA_indication_callback PCPS_DATA_indication;
978 PCPS_DATA_confirm_callback PCPS_DATA_confirm;
989 #if CASCODA_CA_VER >= 8212
990 MLME_POLL_confirm_callback MLME_POLL_confirm;
991 MLME_IE_NOTIFY_indication_callback MLME_IE_NOTIFY_indication;
1048 #if CASCODA_CA_VER >= 8211
1050 #if CASCODA_CA_VER >= 8212
1051 struct MLME_POLL_confirm_pset PollCnf;
1052 struct MLME_IE_NOTIFY_indication_pset IENotifyInd;
1055 struct PCPS_DATA_request_pset PhyDataReq;
1056 struct PCPS_DATA_confirm_pset PhyDataCnf;
1057 struct PCPS_DATA_indication_pset PhyDataInd;
1114 #if CASCODA_CA_VER >= 8211
1115 SPI_PCPS_DATA_REQUEST = 0x07,
1116 SPI_PCPS_DATA_CONFIRM = 0x38,
1117 SPI_PCPS_DATA_INDICATION = 0x28,
1131 #if CASCODA_CA_VER >= 8212
1150 #if CASCODA_CA_VER >= 8212
1152 SPI_MLME_IE_NOTIFY_INDICATION = 0x22,
1156 #if CASCODA_CA_VER >= 8211
1157 SPI_MLME_POLL_INDICATION = 0x31,
Global error declarations for use across the Cascoda SDK.
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
@ aMaxPHYPacketSize
Definition: ieee_802_15_4.h:52
@ MAX_ATTRIBUTE_SIZE
Definition: ieee_802_15_4.h:65
@ MAX_DATA_SIZE
Definition: ieee_802_15_4.h:69
kud_mask
Masks for M_KeyUsageDesc Flags.
Definition: mac_messages.h:901
ca_error(* ca821x_generic_callback)(void *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:969
ca_error(* MLME_SYNC_LOSS_indication_callback)(struct MLME_SYNC_LOSS_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:945
SecurityPibSize
Definition: mac_messages.h:669
ca_error(* TDME_RXPKT_indication_callback)(struct TDME_RXPKT_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:963
ca_error(* MLME_ASSOCIATE_indication_callback)(struct MLME_ASSOCIATE_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:931
ca_error(* TDME_ERROR_indication_callback)(struct TDME_ERROR_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:967
ca_error(* MCPS_DATA_confirm_callback)(struct MCPS_DATA_confirm_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:957
kdd_mask
Masks for M_KeyDeviceDesc Flags.
Definition: mac_messages.h:883
ca_error(* MCPS_DATA_indication_callback)(struct MCPS_DATA_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:955
ca_error(* MLME_COMM_STATUS_indication_callback)(struct MLME_COMM_STATUS_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:943
ca_error(* HWME_WAKEUP_indication_callback)(struct HWME_WAKEUP_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:929
ca_error(* MLME_DISASSOCIATE_indication_callback)(struct MLME_DISASSOCIATE_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:935
ca_error(* TDME_EDDET_indication_callback)(struct TDME_EDDET_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:965
#define MAX_HWME_ATTRIBUTE_SIZE
Longest hwme attribute in octets.
Definition: mac_messages.h:54
#define MAX_TDME_ATTRIBUTE_SIZE
Longest tdme attribute in octets.
Definition: mac_messages.h:55
ca_error(* MLME_POLL_indication_callback)(struct MLME_POLL_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:947
#define DEFAULT_RESULT_LIST_SIZE
Default size of scan results list.
Definition: mac_messages.h:503
ca_error(* MLME_BEACON_NOTIFY_indication_callback)(struct MLME_BEACON_NOTIFY_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:939
ca_error(* MLME_ORPHAN_indication_callback)(struct MLME_ORPHAN_indication_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:941
ca_error(* MLME_SCAN_confirm_callback)(struct MLME_SCAN_confirm_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:954
ca_error(* MLME_DISASSOCIATE_confirm_callback)(struct MLME_DISASSOCIATE_confirm_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:937
spi_command_masks
Definition: mac_messages.h:1094
ca_error(* MLME_ASSOCIATE_confirm_callback)(struct MLME_ASSOCIATE_confirm_pset *params, struct ca821x_dev *pDeviceRef)
Definition: mac_messages.h:933
spi_command_ids
SPI Command IDs.
Definition: mac_messages.h:1103
@ KUD_CommandFrameIdentifierMask
Key Usage Descriptor frame type mask.
Definition: mac_messages.h:903
@ KUD_FrameTypeMask
Definition: mac_messages.h:902
@ KUD_CommandFrameIdentifierShift
Key Usage Descriptor command frame identifier mask.
Definition: mac_messages.h:904
@ KDD_UniqueDeviceMask
Key Device Descriptor is blacklisted mask.
Definition: mac_messages.h:886
@ KDD_BlacklistedMask
Key Device Descriptor handle mask.
Definition: mac_messages.h:885
@ KDD_DeviceDescHandleMask
Definition: mac_messages.h:884
@ SPI_MID_MASK
Definition: mac_messages.h:1095
@ SPI_INVALID
Bit indicating a Synchronous Message.
Definition: mac_messages.h:1098
@ SPI_SYN
Bit indicating a Confirm or Indication from Slave to Master.
Definition: mac_messages.h:1097
@ SPI_S2M
Mask to derive the Message ID Code from the Command ID.
Definition: mac_messages.h:1096
@ SPI_MCPS_DATA_REQUEST
Definition: mac_messages.h:1108
@ SPI_HWME_HAES_CONFIRM
Definition: mac_messages.h:1165
@ SPI_TDME_SETSFR_CONFIRM
Definition: mac_messages.h:1174
@ SPI_MCPS_DATA_CONFIRM
Definition: mac_messages.h:1111
@ SPI_HWME_SET_REQUEST
Definition: mac_messages.h:1160
@ SPI_MCPS_DATA_INDICATION
Definition: mac_messages.h:1110
@ SPI_TDME_EDDET_INDICATION
Definition: mac_messages.h:1180
@ SPI_MLME_SYNC_LOSS_INDICATION
Definition: mac_messages.h:1149
@ SPI_TDME_TXPKT_CONFIRM
Definition: mac_messages.h:1178
@ SPI_NACK
Present on SPI when buffer full or busy - resend Request.
Definition: mac_messages.h:1106
@ SPI_MLME_DISASSOCIATE_INDICATION
Definition: mac_messages.h:1138
@ SPI_MLME_DISASSOCIATE_CONFIRM
Definition: mac_messages.h:1139
@ SPI_MLME_POLL_CONFIRM
Definition: mac_messages.h:1154
@ SPI_TDME_TXPKT_REQUEST
Definition: mac_messages.h:1172
@ SPI_MLME_ORPHAN_RESPONSE
Definition: mac_messages.h:1124
@ SPI_IDLE
Present on SPI when stream is idle - No Data.
Definition: mac_messages.h:1105
@ SPI_HWME_GET_CONFIRM
Definition: mac_messages.h:1164
@ SPI_MLME_SCAN_REQUEST
Definition: mac_messages.h:1127
@ SPI_MLME_GET_CONFIRM
Definition: mac_messages.h:1141
@ SPI_MLME_START_REQUEST
Definition: mac_messages.h:1129
@ SPI_MLME_GET_REQUEST
Definition: mac_messages.h:1123
@ SPI_TDME_TESTMODE_REQUEST
Definition: mac_messages.h:1170
@ SPI_TDME_RXPKT_INDICATION
Definition: mac_messages.h:1179
@ SPI_MLME_COMM_STATUS_INDICATION
Definition: mac_messages.h:1146
@ SPI_MLME_ASSOCIATE_REQUEST
Definition: mac_messages.h:1120
@ SPI_MLME_DISASSOCIATE_REQUEST
Definition: mac_messages.h:1122
@ SPI_MLME_SET_REQUEST
Definition: mac_messages.h:1128
@ SPI_MLME_RX_ENABLE_REQUEST
Definition: mac_messages.h:1126
@ SPI_MLME_SCAN_CONFIRM
Definition: mac_messages.h:1145
@ SPI_MLME_RX_ENABLE_CONFIRM
Definition: mac_messages.h:1144
@ SPI_TDME_TESTMODE_CONFIRM
Definition: mac_messages.h:1176
@ SPI_TDME_ERROR_INDICATION
Definition: mac_messages.h:1181
@ SPI_TDME_LOTLK_REQUEST
Definition: mac_messages.h:1173
@ SPI_TDME_SETSFR_REQUEST
Definition: mac_messages.h:1168
@ SPI_HWME_GET_REQUEST
Definition: mac_messages.h:1161
@ SPI_MLME_ASSOCIATE_INDICATION
Definition: mac_messages.h:1136
@ SPI_MLME_SET_CONFIRM
Definition: mac_messages.h:1147
@ SPI_MLME_RESET_REQUEST
Definition: mac_messages.h:1125
@ SPI_HWME_SET_CONFIRM
Definition: mac_messages.h:1163
@ SPI_MLME_ASSOCIATE_RESPONSE
Definition: mac_messages.h:1121
@ SPI_MCPS_PURGE_CONFIRM
Definition: mac_messages.h:1112
@ SPI_MLME_POLL_REQUEST
Definition: mac_messages.h:1134
@ SPI_MLME_ASSOCIATE_CONFIRM
Definition: mac_messages.h:1137
@ SPI_MCPS_PURGE_REQUEST
Definition: mac_messages.h:1109
@ SPI_MLME_SYNC_REQUEST
Definition: mac_messages.h:1130
@ SPI_MLME_RESET_CONFIRM
Definition: mac_messages.h:1143
@ SPI_MLME_START_CONFIRM
Definition: mac_messages.h:1148
@ SPI_HWME_WAKEUP_INDICATION
Definition: mac_messages.h:1166
@ SPI_TDME_GETSFR_REQUEST
Definition: mac_messages.h:1169
@ SPI_TDME_SET_CONFIRM
Definition: mac_messages.h:1177
@ SPI_HWME_HAES_REQUEST
Definition: mac_messages.h:1162
@ SPI_MLME_ORPHAN_INDICATION
Definition: mac_messages.h:1142
@ SPI_MLME_BEACON_NOTIFY_INDICATION
Definition: mac_messages.h:1140
@ SPI_TDME_SET_REQUEST
Definition: mac_messages.h:1171
@ SPI_TDME_GETSFR_CONFIRM
Definition: mac_messages.h:1175
@ SPI_TDME_LOTLK_CONFIRM
Definition: mac_messages.h:1182
Definitions relating to HWME and TDME API messages.
802.15.4 specific definitions (status codes, attributes etc).
Contains raw extended address.
Definition: mac_messages.h:77
uint8_t Address[8]
Extended Address.
Definition: mac_messages.h:78
Contains full addressing information for a node.
Definition: mac_messages.h:63
uint8_t PANId[2]
PanId (little-endian)
Definition: mac_messages.h:65
uint8_t Address[8]
Short or Extended Address, based on AddressMode (little-endian)
Definition: mac_messages.h:66
uint8_t AddressMode
Clarifies the contents of Address (empty, short, extended).
Definition: mac_messages.h:64
HWME_GET_confirm parameter set.
Definition: mac_messages.h:566
uint8_t HWAttribute
Definition: mac_messages.h:568
uint8_t Status
Definition: mac_messages.h:567
uint8_t HWAttributeLength
Definition: mac_messages.h:569
uint8_t HWAttributeValue[MAX_HWME_ATTRIBUTE_SIZE]
Definition: mac_messages.h:570
HWME_GET_request parameter set.
Definition: mac_messages.h:295
uint8_t HWAttribute
Definition: mac_messages.h:296
HWME_HAES_confirm parameter set.
Definition: mac_messages.h:575
uint8_t HAESData[16]
Definition: mac_messages.h:577
uint8_t Status
Definition: mac_messages.h:576
HWME_HAES_request parameter set.
Definition: mac_messages.h:301
uint8_t HAESMode
Definition: mac_messages.h:302
uint8_t HAESData[16]
Definition: mac_messages.h:303
HWME_SET_confirm parameter set.
Definition: mac_messages.h:559
uint8_t HWAttribute
Definition: mac_messages.h:561
uint8_t Status
Definition: mac_messages.h:560
HWME_SET_request parameter set.
Definition: mac_messages.h:287
uint8_t HWAttribute
Definition: mac_messages.h:288
uint8_t HWAttributeValue[MAX_HWME_ATTRIBUTE_SIZE]
Definition: mac_messages.h:290
uint8_t HWAttributeLength
Definition: mac_messages.h:289
HWME_WAKEUP_indication parameter set.
Definition: mac_messages.h:582
uint8_t WakeUpCondition
Definition: mac_messages.h:583
SPI Message Format Typedef.
Definition: mac_messages.h:1017
struct HWME_SET_confirm_pset HWMESetCnf
Definition: mac_messages.h:1063
struct TDME_SET_confirm_pset TDMESetCnf
Definition: mac_messages.h:1077
struct MCPS_DATA_request_pset DataReq
Definition: mac_messages.h:1023
uint8_t Payload[254]
Definition: mac_messages.h:1086
struct MLME_RX_ENABLE_request_pset RxEnableReq
Definition: mac_messages.h:1030
struct MLME_START_request_pset StartReq
Definition: mac_messages.h:1034
struct MLME_ASSOCIATE_indication_pset AssocInd
Definition: mac_messages.h:1038
struct MCPS_DATA_indication_pset DataInd
Definition: mac_messages.h:1037
uint8_t Status
Definition: mac_messages.h:1085
struct TDME_EDDET_indication_pset TDMEEDDetInd
Definition: mac_messages.h:1080
struct HWME_GET_confirm_pset HWMEGetCnf
Definition: mac_messages.h:1064
struct MLME_ASSOCIATE_confirm_pset AssocCnf
Definition: mac_messages.h:1039
struct TDME_GETSFR_request_pset TDMEGetSFRReq
Definition: mac_messages.h:1069
struct TDME_SET_request_pset TDMESetReq
Definition: mac_messages.h:1071
struct TDME_TXPKT_confirm_pset TDMETxPktCnf
Definition: mac_messages.h:1078
uint8_t CommandId
Definition: mac_messages.h:1018
struct TDME_GETSFR_confirm_pset TDMEGetSFRCnf
Definition: mac_messages.h:1075
struct MCPS_DATA_confirm_pset DataCnf
Definition: mac_messages.h:1035
struct HWME_HAES_request_pset HWMEHAESReq
Definition: mac_messages.h:1062
struct TDME_RXPKT_indication_pset TDMERxPktInd
Definition: mac_messages.h:1079
struct HWME_GET_request_pset HWMEGetReq
Definition: mac_messages.h:1061
struct MLME_COMM_STATUS_indication_pset CommStatusInd
Definition: mac_messages.h:1045
struct MLME_ORPHAN_response_pset OrphanRsp
Definition: mac_messages.h:1028
struct MLME_BEACON_NOTIFY_indication_pset BeaconInd
Definition: mac_messages.h:1042
struct TDME_SETSFR_request_pset TDMESetSFRReq
Definition: mac_messages.h:1068
struct HWME_HAES_confirm_pset HWMEHAESCnf
Definition: mac_messages.h:1065
struct MLME_ORPHAN_indication_pset OrphanInd
Definition: mac_messages.h:1047
struct MLME_SET_request_pset SetReq
Definition: mac_messages.h:1032
struct MLME_DISASSOCIATE_request_pset DisassocReq
Definition: mac_messages.h:1026
struct MLME_SCAN_confirm_pset ScanCnf
Definition: mac_messages.h:1044
struct MLME_DISASSOCIATE_indication_pset DisassocInd
Definition: mac_messages.h:1040
struct MLME_ASSOCIATE_request_pset AssocReq
Definition: mac_messages.h:1024
struct TDME_ERROR_indication_pset TDMEErrorInd
Definition: mac_messages.h:1081
struct MLME_GET_confirm_pset GetCnf
Definition: mac_messages.h:1043
struct MLME_SET_confirm_pset SetCnf
Definition: mac_messages.h:1033
struct MLME_SCAN_request_pset ScanReq
Definition: mac_messages.h:1031
struct MLME_GET_request_pset GetReq
Definition: mac_messages.h:1027
struct TDME_TESTMODE_request_pset TDMETestModeReq
Definition: mac_messages.h:1070
struct MLME_SYNC_LOSS_indication_pset SyncLossInd
Definition: mac_messages.h:1046
uint8_t u8Param
Definition: mac_messages.h:1084
struct MLME_DISASSOCIATE_confirm_pset DisassocCnf
Definition: mac_messages.h:1041
struct TDME_TESTMODE_confirm_pset TDMETestModeCnf
Definition: mac_messages.h:1076
struct MLME_POLL_request_pset PollReq
Definition: mac_messages.h:1029
struct TDME_LOTLK_confirm_pset TDMELOTlkCnf
Definition: mac_messages.h:1082
struct TDME_TXPKT_request_pset TDMETxPktReq
Definition: mac_messages.h:1072
uint8_t Length
Definition: mac_messages.h:1019
struct MLME_ASSOCIATE_response_pset AssocRsp
Definition: mac_messages.h:1025
union MAC_Message::@13 PData
struct HWME_WAKEUP_indication_pset HWMEWakeupInd
Definition: mac_messages.h:1066
struct TDME_LOTLK_request_pset TDMELOTlkReq
Definition: mac_messages.h:1073
struct MCPS_PURGE_confirm_pset PurgeCnf
Definition: mac_messages.h:1036
struct TDME_SETSFR_confirm_pset TDMESetSFRCnf
Definition: mac_messages.h:1074
struct HWME_SET_request_pset HWMESetReq
Definition: mac_messages.h:1060
MCPS_DATA_confirm parameter set.
Definition: mac_messages.h:357
uint8_t TimeStamp[4]
Definition: mac_messages.h:360
uint8_t Status
Definition: mac_messages.h:359
uint8_t MsduHandle
Definition: mac_messages.h:358
MCPS_DATA_indication parameter set.
Definition: mac_messages.h:384
struct FullAddr Src
Definition: mac_messages.h:385
struct FullAddr Dst
Definition: mac_messages.h:386
uint8_t DSN
Definition: mac_messages.h:393
uint8_t MpduLinkQuality
Definition: mac_messages.h:392
uint8_t TimeStamp[4]
Definition: mac_messages.h:394
uint8_t Msdu[MAX_DATA_SIZE]
Definition: mac_messages.h:401
uint8_t MsduLength
Definition: mac_messages.h:391
MCPS_DATA_request parameter set.
Definition: mac_messages.h:127
uint8_t MsduHandle
Handle of Data.
Definition: mac_messages.h:131
uint8_t TxOptions
Tx options bit field.
Definition: mac_messages.h:132
struct FullAddr Dst
Destination addressing information.
Definition: mac_messages.h:129
uint8_t Msdu[MAX_DATA_SIZE]
Data.
Definition: mac_messages.h:133
uint8_t MsduLength
Length of Data.
Definition: mac_messages.h:130
uint8_t SrcAddrMode
Source addressing mode.
Definition: mac_messages.h:128
MCPS_PURGE_confirm parameter set.
Definition: mac_messages.h:373
uint8_t MsduHandle
Definition: mac_messages.h:374
uint8_t Status
Definition: mac_messages.h:375
MLME_ASSOCIATE_confirm parameter set.
Definition: mac_messages.h:469
uint8_t Status
Definition: mac_messages.h:471
uint8_t AssocShortAddress[2]
Definition: mac_messages.h:470
struct SecSpec Security
Definition: mac_messages.h:472
MLME_ASSOCIATE_indication parameter set.
Definition: mac_messages.h:461
uint8_t DeviceAddress[8]
Definition: mac_messages.h:462
uint8_t CapabilityInformation
Definition: mac_messages.h:463
struct SecSpec Security
Definition: mac_messages.h:464
MLME_ASSOCIATE_request parameter set.
Definition: mac_messages.h:162
struct SecSpec Security
Security specification.
Definition: mac_messages.h:166
uint8_t LogicalChannel
Channel number.
Definition: mac_messages.h:163
struct FullAddr Dst
Destination addressing information.
Definition: mac_messages.h:164
uint8_t CapabilityInfo
Bitmap of operational capabilities.
Definition: mac_messages.h:165
MLME_ASSOCIATE_response parameter set.
Definition: mac_messages.h:171
uint8_t Status
Definition: mac_messages.h:174
uint8_t DeviceAddress[8]
IEEE address to give to associating device.
Definition: mac_messages.h:172
uint8_t AssocShortAddress[2]
Definition: mac_messages.h:173
struct SecSpec Security
Definition: mac_messages.h:175
MLME_BEACON_NOTIFY_indication parameter set.
Definition: mac_messages.h:492
uint8_t BSN
Definition: mac_messages.h:493
MLME_COMM_STATUS_indication parameter set.
Definition: mac_messages.h:517
uint8_t Status
Definition: mac_messages.h:523
uint8_t SrcAddrMode
Definition: mac_messages.h:519
uint8_t DstAddr[8]
Definition: mac_messages.h:522
uint8_t SrcAddr[8]
Definition: mac_messages.h:520
uint8_t DstAddrMode
Definition: mac_messages.h:521
struct SecSpec Security
Definition: mac_messages.h:524
uint8_t PANId[2]
Definition: mac_messages.h:518
MLME_DISASSOCIATE_confirm parameter set.
Definition: mac_messages.h:477
struct FullAddr Address
Definition: mac_messages.h:479
uint8_t Status
Definition: mac_messages.h:478
MLME_DISASSOCIATE_indication parameter set.
Definition: mac_messages.h:484
uint8_t DevAddr[8]
Definition: mac_messages.h:485
uint8_t Reason
Definition: mac_messages.h:486
struct SecSpec Security
Definition: mac_messages.h:487
MLME_DISASSOCIATE_request parameter set.
Definition: mac_messages.h:180
struct SecSpec Security
Definition: mac_messages.h:184
uint8_t TxIndirect
Definition: mac_messages.h:183
uint8_t DisassociateReason
Definition: mac_messages.h:182
struct FullAddr DevAddr
Definition: mac_messages.h:181
MLME_GET_confirm parameter set.
Definition: mac_messages.h:196
uint8_t PIBAttribute
Definition: mac_messages.h:198
uint8_t PIBAttributeValue[MAX_ATTRIBUTE_SIZE]
Definition: mac_messages.h:201
uint8_t PIBAttributeIndex
Definition: mac_messages.h:199
uint8_t Status
Definition: mac_messages.h:197
uint8_t PIBAttributeLength
Definition: mac_messages.h:200
MLME_GET_request parameter set.
Definition: mac_messages.h:189
uint8_t PIBAttribute
Definition: mac_messages.h:190
uint8_t PIBAttributeIndex
Definition: mac_messages.h:191
MLME_ORPHAN_indication parameter set.
Definition: mac_messages.h:529
struct SecSpec Security
Definition: mac_messages.h:531
uint8_t OrphanAddr[8]
Definition: mac_messages.h:530
MLME_ORPHAN_response parameter set.
Definition: mac_messages.h:206
uint8_t AssociatedMember
Definition: mac_messages.h:209
uint8_t ShortAddress[2]
Definition: mac_messages.h:208
struct SecSpec Security
Definition: mac_messages.h:210
uint8_t OrphanAddress[8]
Definition: mac_messages.h:207
Definition: mac_messages.h:544
struct FullAddr Dst
Definition: mac_messages.h:546
uint8_t LQI
Definition: mac_messages.h:547
struct SecSpec Security
Definition: mac_messages.h:552
struct FullAddr Src
Definition: mac_messages.h:545
uint8_t DSN
Definition: mac_messages.h:548
MLME_POLL_request parameter set.
Definition: mac_messages.h:215
struct FullAddr CoordAddress
Definition: mac_messages.h:216
struct SecSpec Security
Definition: mac_messages.h:225
MLME_RX_ENABLE_request parameter set.
Definition: mac_messages.h:237
uint8_t RxOnTime[4]
Definition: mac_messages.h:239
uint8_t DeferPermit
Definition: mac_messages.h:238
uint8_t RxOnDuration[4]
Definition: mac_messages.h:240
MLME_SCAN_confirm parameter set.
Definition: mac_messages.h:507
uint8_t ScanType
Definition: mac_messages.h:509
uint8_t ResultListSize
Definition: mac_messages.h:511
uint8_t UnscannedChannels[4]
Definition: mac_messages.h:510
uint8_t ResultList[DEFAULT_RESULT_LIST_SIZE]
Definition: mac_messages.h:512
uint8_t Status
Definition: mac_messages.h:508
MLME_SCAN_request parameter set.
Definition: mac_messages.h:245
uint8_t ScanType
Definition: mac_messages.h:246
struct SecSpec Security
Definition: mac_messages.h:249
uint8_t ScanChannels[4]
Definition: mac_messages.h:247
uint8_t ScanDuration
Definition: mac_messages.h:248
MLME_SET_confirm parameter set.
Definition: mac_messages.h:263
uint8_t PIBAttributeIndex
Definition: mac_messages.h:266
uint8_t PIBAttribute
Definition: mac_messages.h:265
uint8_t Status
Definition: mac_messages.h:264
MLME_SET_request parameter set.
Definition: mac_messages.h:254
uint8_t PIBAttributeIndex
Definition: mac_messages.h:256
uint8_t PIBAttributeValue[MAX_ATTRIBUTE_SIZE]
Definition: mac_messages.h:258
uint8_t PIBAttribute
Definition: mac_messages.h:255
uint8_t PIBAttributeLength
Definition: mac_messages.h:257
MLME_START_request parameter set.
Definition: mac_messages.h:271
uint8_t BeaconOrder
Definition: mac_messages.h:274
uint8_t PANCoordinator
Definition: mac_messages.h:276
uint8_t BatteryLifeExtension
Definition: mac_messages.h:277
uint8_t PANId[2]
Definition: mac_messages.h:272
struct SecSpec BeaconSecurity
Definition: mac_messages.h:280
uint8_t SuperframeOrder
Definition: mac_messages.h:275
struct SecSpec CoordRealignSecurity
Definition: mac_messages.h:279
uint8_t CoordRealignment
Definition: mac_messages.h:278
uint8_t LogicalChannel
Definition: mac_messages.h:273
MLME_SYNC_LOSS_indication parameter set.
Definition: mac_messages.h:536
uint8_t LogicalChannel
Definition: mac_messages.h:539
uint8_t LossReason
Definition: mac_messages.h:537
uint8_t PANId[2]
Definition: mac_messages.h:538
struct SecSpec Security
Definition: mac_messages.h:540
Definition: mac_messages.h:857
uint8_t ShortAddress[2]
Definition: mac_messages.h:859
uint8_t ExtAddress[8]
Definition: mac_messages.h:860
uint8_t Exempt
Definition: mac_messages.h:862
uint8_t FrameCounter[4]
Definition: mac_messages.h:861
uint8_t PANId[2]
Definition: mac_messages.h:858
Definition: mac_messages.h:916
struct M_KeyIdLookupDesc KeyIdLookupList[LOOKUP_DESC_TABLE_SIZE]
Definition: mac_messages.h:918
struct M_KeyDeviceDesc KeyDeviceList[KEY_DEVICE_TABLE_SIZE]
Definition: mac_messages.h:919
struct M_KeyUsageDesc KeyUsageList[KEY_USAGE_TABLE_SIZE]
Definition: mac_messages.h:920
struct M_KeyTableEntryFixed Fixed
Definition: mac_messages.h:917
Definition: mac_messages.h:874
uint8_t Flags
Definition: mac_messages.h:878
Definition: mac_messages.h:851
uint8_t LookupData[9]
Definition: mac_messages.h:852
uint8_t LookupDataSizeCode
Definition: mac_messages.h:853
Definition: mac_messages.h:908
uint8_t Key[16]
Definition: mac_messages.h:912
uint8_t KeyUsageListEntries
Definition: mac_messages.h:911
uint8_t KeyDeviceListEntries
Definition: mac_messages.h:910
uint8_t KeyIdLookupListEntries
Definition: mac_messages.h:909
Definition: mac_messages.h:893
uint8_t Flags
Definition: mac_messages.h:896
Definition: mac_messages.h:866
uint8_t FrameType
Definition: mac_messages.h:867
uint8_t DeviceOverrideSecurityMinimum
Definition: mac_messages.h:870
uint8_t CommandFrameIdentifier
Definition: mac_messages.h:868
uint8_t SecurityMinimum
Definition: mac_messages.h:869
Holds either short or extended address.
Definition: mac_messages.h:83
uint8_t Address[8]
Short or Extended Address, based on AddressMode (little-endian)
Definition: mac_messages.h:85
uint8_t AddressMode
Clarifies the contents of Address (empty, short, extended).
Definition: mac_messages.h:84
Describes a discovered PAN.
Definition: mac_messages.h:99
uint8_t SuperframeSpec[2]
Superframe specification.
Definition: mac_messages.h:102
struct FullAddr Coord
PAN coordinator addressing information.
Definition: mac_messages.h:100
uint8_t TimeStamp[4]
Time at which the beacon was received, in symbols.
Definition: mac_messages.h:105
uint8_t SecurityFailure
Security processing status of the beacon frame.
Definition: mac_messages.h:106
uint8_t GTSPermit
True if the beacon originator is a PAN coordinator accepting GTS requests.
Definition: mac_messages.h:103
uint8_t LinkQuality
LQI of the received beacon.
Definition: mac_messages.h:104
struct SecSpec Security
Security specification of the beacon.
Definition: mac_messages.h:107
uint8_t LogicalChannel
Current operating channel.
Definition: mac_messages.h:101
Security specification to be applied to MAC frames.
Definition: mac_messages.h:90
uint8_t KeySource[8]
Source part of key lookup data (commonly addressing info)
Definition: mac_messages.h:93
uint8_t KeyIndex
Index part of key lookup data.
Definition: mac_messages.h:94
uint8_t KeyIdMode
How the key is to be retrieved.
Definition: mac_messages.h:92
uint8_t SecurityLevel
Specifies level of authentication and encryption.
Definition: mac_messages.h:91
Contains raw little endian short address.
Definition: mac_messages.h:71
uint8_t Address[2]
Short Address (little-endian)
Definition: mac_messages.h:72
TDME_EDDET_indication parameter set.
Definition: mac_messages.h:641
uint8_t TestCSValue
Definition: mac_messages.h:644
uint8_t TestTimeAboveThreshold_us[2]
Definition: mac_messages.h:645
uint8_t TestEDThreshold
Definition: mac_messages.h:642
uint8_t TestEDValue
Definition: mac_messages.h:643
TDME_ERROR_indication parameter set.
Definition: mac_messages.h:650
uint8_t ErrorCode
Definition: mac_messages.h:651
TDME_GETSFR_confirm parameter set.
Definition: mac_messages.h:598
uint8_t SFRPage
Definition: mac_messages.h:600
uint8_t SFRValue
Definition: mac_messages.h:602
uint8_t Status
Definition: mac_messages.h:599
uint8_t SFRAddress
Definition: mac_messages.h:601
TDME_GETSFR_request parameter set.
Definition: mac_messages.h:318
uint8_t SFRPage
Definition: mac_messages.h:319
uint8_t SFRAddress
Definition: mac_messages.h:320
TDME_LOTLK_confirm parameter set.
Definition: mac_messages.h:656
uint8_t TestLOTXCALValue
Definition: mac_messages.h:662
uint8_t TestLOFDACValue
Definition: mac_messages.h:660
uint8_t TestLOAMPValue
Definition: mac_messages.h:661
uint8_t TestChannel
Definition: mac_messages.h:658
uint8_t TestRxTxb
Definition: mac_messages.h:659
uint8_t Status
Definition: mac_messages.h:657
TDME_LOTLK_request parameter set.
Definition: mac_messages.h:348
uint8_t TestChannel
Definition: mac_messages.h:349
uint8_t TestRxTxb
Definition: mac_messages.h:350
TDME_RXPKT_indication parameter set.
Definition: mac_messages.h:630
uint8_t TestPacketLength
Definition: mac_messages.h:635
uint8_t TestPacketEDValue
Definition: mac_messages.h:632
uint8_t Status
Definition: mac_messages.h:631
uint8_t TestPacketData[128]
Definition: mac_messages.h:636
uint8_t TestPacketFoffsValue
Definition: mac_messages.h:634
uint8_t TestPacketCSValue
Definition: mac_messages.h:633
TDME_SETSFR_confirm parameter set.
Definition: mac_messages.h:590
uint8_t Status
Definition: mac_messages.h:591
uint8_t SFRAddress
Definition: mac_messages.h:593
uint8_t SFRPage
Definition: mac_messages.h:592
TDME_SETSFR_request parameter set.
Definition: mac_messages.h:310
uint8_t SFRValue
Definition: mac_messages.h:313
uint8_t SFRAddress
Definition: mac_messages.h:312
uint8_t SFRPage
Definition: mac_messages.h:311
TDME_SET_confirm parameter set.
Definition: mac_messages.h:614
uint8_t TDAttribute
Definition: mac_messages.h:616
uint8_t Status
Definition: mac_messages.h:615
TDME_SET_request parameter set.
Definition: mac_messages.h:331
uint8_t TDAttributeValue[MAX_TDME_ATTRIBUTE_SIZE]
Definition: mac_messages.h:334
uint8_t TDAttributeLength
Definition: mac_messages.h:333
uint8_t TDAttribute
Definition: mac_messages.h:332
TDME_TESTMODE_confirm parameter set.
Definition: mac_messages.h:607
uint8_t Status
Definition: mac_messages.h:608
uint8_t TestMode
Definition: mac_messages.h:609
TDME_TESTMODE_request parameter set.
Definition: mac_messages.h:325
uint8_t TestMode
Definition: mac_messages.h:326
TDME_TXPKT_confirm parameter set.
Definition: mac_messages.h:621
uint8_t TestPacketData[128]
Definition: mac_messages.h:625
uint8_t TestPacketSequenceNumber
Definition: mac_messages.h:623
uint8_t TestPacketLength
Definition: mac_messages.h:624
uint8_t Status
Definition: mac_messages.h:622
TDME_TXPKT_request parameter set.
Definition: mac_messages.h:339
uint8_t TestPacketDataType
Definition: mac_messages.h:340
uint8_t TestPacketData[128]
Definition: mac_messages.h:343
uint8_t TestPacketSequenceNumber
Definition: mac_messages.h:341
uint8_t TestPacketLength
Definition: mac_messages.h:342
CA-821x Device reference struct.
Definition: ca821x_api.h:123
Union of all compatible callback types.
Definition: mac_messages.h:973
MLME_DISASSOCIATE_confirm_callback MLME_DISASSOCIATE_confirm
Definition: mac_messages.h:983
ca821x_generic_callback generic_callback
Definition: mac_messages.h:998
TDME_RXPKT_indication_callback TDME_RXPKT_indication
Definition: mac_messages.h:995
MLME_SCAN_confirm_callback MLME_SCAN_confirm
Definition: mac_messages.h:986
MLME_ASSOCIATE_indication_callback MLME_ASSOCIATE_indication
Definition: mac_messages.h:980
MLME_COMM_STATUS_indication_callback MLME_COMM_STATUS_indication
Definition: mac_messages.h:987
TDME_EDDET_indication_callback TDME_EDDET_indication
Definition: mac_messages.h:996
TDME_ERROR_indication_callback TDME_ERROR_indication
Definition: mac_messages.h:997
MLME_ORPHAN_indication_callback MLME_ORPHAN_indication
Definition: mac_messages.h:985
MLME_POLL_indication_callback MLME_POLL_indication
Definition: mac_messages.h:988
MLME_SYNC_LOSS_indication_callback MLME_SYNC_LOSS_indication
Definition: mac_messages.h:993
MLME_ASSOCIATE_confirm_callback MLME_ASSOCIATE_confirm
Definition: mac_messages.h:981
MCPS_DATA_indication_callback MCPS_DATA_indication
Definition: mac_messages.h:974
MLME_BEACON_NOTIFY_indication_callback MLME_BEACON_NOTIFY_indication
Definition: mac_messages.h:984
HWME_WAKEUP_indication_callback HWME_WAKEUP_indication
Definition: mac_messages.h:994
MCPS_DATA_confirm_callback MCPS_DATA_confirm
Definition: mac_messages.h:975
MLME_DISASSOCIATE_indication_callback MLME_DISASSOCIATE_indication
Definition: mac_messages.h:982