Smacrfmodes_T; Smacencryptionkeyiv_T - NXP Semiconductors MKW01 Reference Manual

Simple media access controller (smac)
Table of Contents

Advertisement

Software Architecture
pu8SyncWord
Pointer to an array containing the value of the synchronization word.
Usage
Declare a variable of packetConfig_t type. Fill the required information and call MLMEPacketConfig with
a pointer to the structure. Optionally, you can store the return value in a smacErrors_t variable.
Please consult the reference manual for valid lengths of preamble and synchronization word.
2.2.12

smacRFModes_t

typedef enum smacRFModes_tag
{
gRFMode1_c = gPhyMode1_c,
gRFMode2_c = gPhyMode2_c,
gRFMode3_c = gPhyMode3_c,
gRFMode4_c = gPhyMode4_c,
gRFMode5_c = gPhyMode1ARIB_c, /*ARIB mode 1*/
gRFMode6_c = gPhyMode2ARIB_c, /*ARIB mode 2*/
gRFMaxMode_c
} smacRFModes_t;
Members
gRFModeX_c
With X from 1 to 4 corresponds to PHY modes 1 to 4. User must check that the
frequency band used supports the mode to be used.
gRFMode5_c
This is PHY mode 1 in case the user wants to use the Japan frequency band with
ARIB mode 1.
gRFMode6_c
This is PHY mode 2 in case the user wants to use the Japan frequency band with
ARIB mode 2.
Usage
Call MLMESetPhyMode with the desired enumeration member. Optionally store the return value in a
smacErrors_t variable.
2.2.13

smacEncryptionKeyIV_t

typedef struct smacEncryptionKeyIV_tag
{
uint8_t IV[16];
uint8_t KEY[16];
}smacEncryptionKeyIV_t;
Members
IV
The initial vector used by the CBC mode of AES.
KEY
The encryption / decryption key used by the CBC mode of AES.
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
2-16
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents