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 {
  IDENTIFY_BOARD_REQ = (0x00),
  PERF_START_REQ = (0x01),
  PERF_SET_REQ = (0x02),
  PERF_GET_REQ = (0x03),
  IDENTIFY_PEER_NODE_REQ = (0x04),
  CONT_PULSE_TX_REQ = (0x05),
  CONT_WAVE_TX_REQ = (0x06),
  REGISTER_READ_REQ = (0x07),
  REGISTER_WRITE_REQ = (0x08),
  REGISTER_DUMP_REQ = (0x09),
  ED_SCAN_START_REQ = (0x0a),
  SENSOR_DATA_REQ = (0x0b),
  PER_TEST_START_REQ = (0x0c),
  PEER_DISCONNECT_REQ = (0x0d),
  SET_DEFAULT_CONFIG_REQ = (0x0e),
  GET_CURRENT_CONFIG_REQ = (0x0f),
  RANGE_TEST_START_REQ = (0X50),
  RANGE_TEST_STOP_REQ = (0x52),
  PKT_STREAM_REQ = (0X22),
  RX_ON_REQ = (0X24),
  IDENTIFY_BOARD_CONFIRM = (0x10),
  PERF_START_CONFIRM = (0x11),
  PERF_SET_CONFIRM = (0x12),
  PERF_GET_CONFIRM = (0x13),
  IDENTIFY_PEER_NODE_CONFIRM = (0x14),
  CONT_PULSE_TX_CONFIRM = (0x15),
  CONT_WAVE_TX_CONFIRM = (0x16),
  REGISTER_READ_CONFIRM = (0x17),
  REGISTER_WRITE_CONFIRM = (0x18),
  REGISTER_DUMP_CONFIRM = (0x19),
  ED_SCAN_START_CONFIRM = (0x1a),
  ED_SCAN_END_INDICATION = (0x1b),
  SENSOR_DATA_CONFIRM = (0x1c),
  PER_TEST_START_CONFIRM = (0x1d),
  PER_TEST_END_INDICATION = (0x1e),
  PEER_DISCONNECT_CONFIRM = (0x1f),
  SET_DEFAULT_CONFIG_CONFIRM = (0x20),
  GET_CURRENT_CONFIG_CONFIRM = (0x21),
  RANGE_TEST_START_CONFIRM = (0x51),
  RANGE_TEST_STOP_CONFIRM = (0x53),
  RANGE_TEST_BEACON_RESPONSE = (0x54),
  RANGE_TEST_BEACON = (0x55),
  RANGE_TEST_MARKER_INDICATION = (0x56),
  PKT_STREAM_CONFIRM = (0x23),
  RX_ON_CONFIRM = (0X25),
  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_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_RESET_CONFIRM = (0x20),
  MLME_RX_ENABLE_CONFIRM = (0x21),
  MLME_START_CONFIRM = (0x22),
  MLME_POLL_CONFIRM = (0x23),
  MAC_INC_FRAME = (0x24),
  IDENTIFY_BOARD_REQ = (0x00),
  PERF_START_REQ = (0x01),
  PERF_SET_REQ = (0x02),
  PERF_GET_REQ = (0x03),
  IDENTIFY_PEER_NODE_REQ = (0x04),
  CONT_PULSE_TX_REQ = (0x05),
  CONT_WAVE_TX_REQ = (0x06),
  REGISTER_READ_REQ = (0x07),
  REGISTER_WRITE_REQ = (0x08),
  REGISTER_DUMP_REQ = (0x09),
  ED_SCAN_START_REQ = (0x0a),
  SENSOR_DATA_REQ = (0x0b),
  PER_TEST_START_REQ = (0x0c),
  PEER_DISCONNECT_REQ = (0x0d),
  SET_DEFAULT_CONFIG_REQ = (0x0e),
  GET_CURRENT_CONFIG_REQ = (0x0f),
  RANGE_TEST_START_REQ = (0X50),
  RANGE_TEST_STOP_REQ = (0x52),
  IDENTIFY_BOARD_CONFIRM = (0x10),
  PERF_START_CONFIRM = (0x11),
  PERF_SET_CONFIRM = (0x12),
  PERF_GET_CONFIRM = (0x13),
  IDENTIFY_PEER_NODE_CONFIRM = (0x14),
  CONT_PULSE_TX_CONFIRM = (0x15),
  CONT_WAVE_TX_CONFIRM = (0x16),
  REGISTER_READ_CONFIRM = (0x17),
  REGISTER_WRITE_CONFIRM = (0x18),
  REGISTER_DUMP_CONFIRM = (0x19),
  ED_SCAN_START_CONFIRM = (0x1a),
  ED_SCAN_END_INDICATION = (0x1b),
  SENSOR_DATA_CONFIRM = (0x1c),
  PER_TEST_START_CONFIRM = (0x1d),
  PER_TEST_END_INDICATION = (0x1e),
  PEER_DISCONNECT_CONFIRM = (0x1f),
  SET_DEFAULT_CONFIG_CONFIRM = (0x20),
  GET_CURRENT_CONFIG_CONFIRM = (0x21),
  RANGE_TEST_START_CONFIRM = (0x51),
  RANGE_TEST_STOP_CONFIRM = (0x53),
  RANGE_TEST_BEACON_RESPONSE = (0x54),
  RANGE_TEST_BEACON = (0x55),
  RANGE_TEST_MARKER_INDICATION = (0x56)
}
 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