Microchip® Advanced Software Framework

mac_msg_const.h File Reference

This file defines all message constants.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <stdbool.h>

Macros

#define LAST_MESSAGE   MLME_POLL_CONFIRM
 Bump this when extending the list! More...
 
#define MAC   (4)
 
#define MCPS_DATA_CON_LEN   (7)
 The following defines describe the minimum length of a primitive message. More...
 
#define MCPS_DATA_IND_LEN   (31)
 
#define MCPS_PURGE_CONF_LEN   (3)
 
#define MLME_ASSOCIATE_CONF_LEN   (4)
 
#define MLME_ASSOCIATE_IND_LEN   (10)
 
#define MLME_BEACON_NOTIFY_IND_LEN   (2)
 
#define MLME_COMM_STATUS_IND_LEN   (22)
 
#define MLME_DISASSOCIATE_CONF_LEN   (13)
 
#define MLME_DISASSOCIATE_IND_LEN   (10)
 
#define MLME_GET_CONF_LEN   (4)
 
#define MLME_GTS_CONF_LEN   (3)
 
#define MLME_GTS_IND_LEN   (4)
 
#define MLME_ORPHAN_IND_LEN   (9)
 
#define MLME_POLL_CONF_LEN   (2)
 
#define MLME_RESET_CONF_LEN   (2)
 
#define MLME_RX_ENABLE_CONF_LEN   (2)
 
#define MLME_SCAN_CONF_LEN   (10)
 
#define MLME_SET_CONF_LEN   (3)
 
#define MLME_START_CONF_LEN   (2)
 
#define MLME_SYNC_LOSS_IND_LEN   (6)
 
#define WPAN_DESCRIPTOR_LEN   (21)
 

Enumerations

enum  msg_code {
  TAL_DATA_INDICATION = (0x00),
  MLME_ASSOCIATE_REQUEST = (0x01),
  MLME_ASSOCIATE_RESPONSE = (0x02),
  MCPS_DATA_REQUEST = (0x03),
  MCPS_PURGE_REQUEST = (0x04),
  MLME_DISASSOCIATE_REQUEST = (0x05),
  MLME_SET_REQUEST = (0x06),
  MLME_ORPHAN_RESPONSE = (0x07),
  MLME_GET_REQUEST = (0x08),
  MLME_RESET_REQUEST = (0x09),
  MLME_RX_ENABLE_REQUEST = (0x0A),
  MLME_SCAN_REQUEST = (0x0B),
  MLME_GTS_REQUEST = (0x0C),
  MLME_START_REQUEST = (0x0D),
  MLME_POLL_REQUEST = (0x0E),
  MLME_SYNC_REQUEST = (0x0F),
  MCPS_DATA_CONFIRM = (0x10),
  MCPS_DATA_INDICATION = (0x11),
  MCPS_PURGE_CONFIRM = (0x12),
  MLME_ASSOCIATE_INDICATION = (0x13),
  MLME_ASSOCIATE_CONFIRM = (0x14),
  MLME_DISASSOCIATE_INDICATION = (0x15),
  MLME_DISASSOCIATE_CONFIRM = (0x16),
  MLME_BEACON_NOTIFY_INDICATION = (0x17),
  MLME_GTS_CONFIRM = (0x18),
  MLME_GTS_INDICATION = (0x19),
  MLME_ORPHAN_INDICATION = (0x1A),
  MLME_SCAN_CONFIRM = (0x1B),
  MLME_COMM_STATUS_INDICATION = (0x1C),
  MLME_SYNC_LOSS_INDICATION = (0x1D),
  MLME_GET_CONFIRM = (0x1E),
  MLME_SET_CONFIRM = (0x1F),
  MLME_RESET_CONFIRM = (0x20),
  MLME_RX_ENABLE_CONFIRM = (0x21),
  MLME_START_CONFIRM = (0x22),
  MLME_POLL_CONFIRM = (0x23),
  MAC_INC_FRAME = (0x24)
}
 This type contains the service primitives of the PHY-, MAC- and Network-layer as well the command-interface primitives. More...
 

Variables

enum msg_code SHORTENUM