Atmel Software Framework

nwk_msg_code.h File Reference

This file defines all message constants.

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

Macros

#define MAC_DATA_IND_LEN
 
#define NLDE_DATA_CONF_LEN   4
 
#define NLDE_DATA_IND_LEN   8
 
#define NLDE_DATA_REQ_LEN   7
 The following defines describe the minimum length of a primitive message. More...
 
#define NLME_AUTO_DISCOVERY_CONF_LEN   10
 
#define NLME_AUTO_DISCOVERY_REQ_LEN   16
 
#define NLME_COMM_STATUS_IND_LEN   14
 
#define NLME_DISCOVERY_CONF_LEN   4
 
#define NLME_DISCOVERY_IND_LEN   48
 
#define NLME_DISCOVERY_REQ_LEN   29
 
#define NLME_DISCOVERY_RESP_LEN   22
 
#define NLME_GET_CONF_LEN   5
 
#define NLME_GET_REQ_LEN   3
 
#define NLME_PAIR_CONF_LEN   38
 
#define NLME_PAIR_IND_LEN   50
 
#define NLME_PAIR_REQ_LEN   24
 
#define NLME_PAIR_RESP_LEN   24
 
#define NLME_RESET_CONF_LEN   2
 
#define NLME_RESET_REQ_LEN   2
 
#define NLME_RX_ENABLE_CONF_LEN   2
 
#define NLME_RX_ENABLE_REQ_LEN   5
 
#define NLME_SET_CONF_LEN   4
 
#define NLME_SET_REQ_LEN   4
 
#define NLME_START_CONF_LEN   2
 
#define NLME_START_REQ_LEN   1
 
#define NLME_UNPAIR_CONF_LEN   3
 
#define NLME_UNPAIR_IND_LEN   2
 
#define NLME_UNPAIR_REQ_LEN   2
 
#define NLME_UNPAIR_RESP_LEN   2
 
#define NLME_UPDATE_KEY_CONF_LEN   3
 
#define NLME_UPDATE_KEY_REQ_LEN   18
 
#define NWK_CH_AGILITY_CONF_LEN   4
 
#define NWK_CH_AGILITY_IND_LEN   2
 
#define NWK_CH_AGILITY_REQ_LEN   2
 
#define PBP_ORG_PAIR_CON_LEN   3
 
#define PBP_ORG_PAIR_REQ_LEN   21
 
#define PBP_REC_PAIR_CONF_LEN   3
 
#define PBP_REC_PAIR_REQ_LEN   12
 
#define UNSUPPORTED_CMD_LEN   1
 
#define VENDOR_DATA_CONF_LEN   3
 
#define VENDOR_DATA_IND_LEN   8
 
#define VENDOR_DATA_REQ_LEN   7
 
#define ZRC_CMD_CONF_LEN   4
 
#define ZRC_CMD_DISCOVERY_CONF_LEN   34
 
#define ZRC_CMD_DISCOVERY_IND_LEN   2
 
#define ZRC_CMD_DISCOVERY_REQ_LEN   2
 
#define ZRC_CMD_DISCOVERY_RESP_LEN   35
 
#define ZRC_CMD_IND_LEN   5
 
#define ZRC_CMD_REQ_LEN   7
 

Typedefs

typedef enum nwk_msg_code_tag nwk_msg_code_t
 This type contains the service primitives of the Network-layer as well the command-interface primitives. More...
 

Enumerations

enum  nwk_msg_code_tag {
  NLDE_DATA_REQUEST = 0x24,
  NLME_AUTO_DISCOVERY_REQUEST = 0x25,
  NLME_DISCOVERY_REQUEST = 0x26,
  NLME_DISCOVERY_RESPONSE = 0x27,
  NLME_PAIR_REQUEST = 0x28,
  NLME_PAIR_RESPONSE = 0x29,
  NLME_RESET_REQUEST = 0x2A,
  NLME_GET_REQUEST = 0x2B,
  NLME_RX_ENABLE_REQUEST = 0x2C,
  NLME_SET_REQUEST = 0x2D,
  NLME_START_REQUEST = 0x2E,
  NLME_UNPAIR_REQUEST = 0x2F,
  NLME_UNPAIR_RESPONSE = 0x30,
  NLME_UPDATE_KEY_REQUEST = 0x31,
  NWK_CH_AGILITY_REQUEST = 0x32,
  MAC_DATA_INDICATION = 0x33,
  NLDE_DATA_INDICATION = 0x34,
  NLDE_DATA_CONFIRM = 0x35,
  NLME_AUTO_DISCOVERY_CONFIRM = 0x36,
  NLME_COMM_STATUS_INDICATION = 0x37,
  NLME_DISCOVERY_INDICATION = 0x38,
  NLME_DISCOVERY_CONFIRM = 0x39,
  NLME_GET_CONFIRM = 0x3A,
  NLME_PAIR_INDICATION = 0x3B,
  NLME_PAIR_CONFIRM = 0x3C,
  NLME_RESET_CONFIRM = 0x3D,
  NLME_RX_ENABLE_CONFIRM = 0x3E,
  NLME_SET_CONFIRM = 0x3F,
  NLME_START_CONFIRM = 0x40,
  NLME_UNPAIR_INDICATION = 0x41,
  NLME_UNPAIR_CONFIRM = 0x42,
  NLME_UPDATE_KEY_CONFIRM = 0x43,
  NWK_CH_AGILITY_INDICATION = 0x44,
  NWK_CH_AGILITY_CONFIRM = 0x45,
  PBP_ORG_PAIR_REQUEST = 0x46,
  PBP_ORG_PAIR_CONFIRM = 0x47,
  PBP_REC_PAIR_REQUEST = 0x48,
  PBP_REC_PAIR_CONFIRM = 0x49,
  ZRC_CMD_REQUEST = 0x4A,
  ZRC_CMD_INDICATION = 0x4B,
  ZRC_CMD_CONFIRM = 0x4C,
  ZRC_CMD_DISCOVERY_REQUEST = 0x4D,
  ZRC_CMD_DISCOVERY_INDICATION = 0x4E,
  ZRC_CMD_DISCOVERY_CONFIRM = 0x4F,
  ZRC_CMD_DISCOVERY_RESPONSE = 0x50,
  VENDOR_DATA_REQUEST = 0x51,
  VENDOR_DATA_INDICATION = 0x52,
  VENDOR_DATA_CONFIRM = 0x53,
  VENDOR_DATA_RESPONSE = 0x54,
  ZID_REC_CONNECT_REQUEST = 0x55,
  ZID_CONNECT_CONFIRM = 0x56,
  ZID_ORG_CONNECT_REQUEST = 0x57,
  ZID_REPORT_DATA_REQUEST = 0x58,
  ZID_REPORT_DATA_INDICATION = 0x59,
  ZID_REPORT_DATA_CONFIRM = 0x5A,
  ZID_STANDBY_REQUEST = 0x5B,
  ZID_STANDBY_CONFIRM = 0x5C,
  ZID_STANDBY_LEAVE_INDICATION = 0x5D,
  ZID_SET_ATTRIBUTE_REQUEST = 0x5E,
  ZID_SET_ATTRIBUTE_CONFIRM = 0x5F,
  ZID_GET_ATTRIBUTE_REQUEST = 0x60,
  ZID_GET_ATTRIBUTE_CONFIRM = 0x61,
  ZID_HEARTBEAT_REQUEST = 0x62,
  ZID_HEARTBEAT_INDICATION = 0x63,
  ZID_HEARTBEAT_CONFIRM = 0x64,
  ZID_SET_NULL_REPORT_REQUEST = 0x65,
  ZID_SET_NULL_REPORT_CONFIRM = 0x66,
  ZID_SET_REPORT_REQUEST = 0x67,
  ZID_SET_REPORT_CONFIRM = 0x68,
  ZID_GET_REPORT_REQUEST = 0x69,
  ZID_GET_REPORT_CONFIRM = 0x6a,
  ZID_GET_REPORT_INDICATION = 0x6b
}
 This type contains the service primitives of the Network-layer as well the command-interface primitives. More...
 

#define MAC_DATA_IND_LEN
#define NLDE_DATA_CONF_LEN   4

Referenced by nlde_data_confirm().

#define NLDE_DATA_IND_LEN   8
#define NLDE_DATA_REQ_LEN   7

The following defines describe the minimum length of a primitive message.

#define NLME_AUTO_DISCOVERY_CONF_LEN   10
#define NLME_AUTO_DISCOVERY_REQ_LEN   16
#define NLME_COMM_STATUS_IND_LEN   14
#define NLME_DISCOVERY_CONF_LEN   4

Referenced by nlme_discovery_confirm().

#define NLME_DISCOVERY_IND_LEN   48
#define NLME_DISCOVERY_REQ_LEN   29
#define NLME_DISCOVERY_RESP_LEN   22
#define NLME_GET_CONF_LEN   5

Referenced by nlme_get_confirm().

#define NLME_GET_REQ_LEN   3
#define NLME_PAIR_CONF_LEN   38

Referenced by nlme_pair_confirm().

#define NLME_PAIR_IND_LEN   50

Referenced by nlme_pair_indication().

#define NLME_PAIR_REQ_LEN   24
#define NLME_PAIR_RESP_LEN   24
#define NLME_RESET_CONF_LEN   2

Referenced by nlme_reset_confirm().

#define NLME_RESET_REQ_LEN   2
#define NLME_RX_ENABLE_CONF_LEN   2

Referenced by nlme_rx_enable_confirm().

#define NLME_RX_ENABLE_REQ_LEN   5
#define NLME_SET_CONF_LEN   4

Referenced by nlme_set_confirm().

#define NLME_SET_REQ_LEN   4
#define NLME_START_CONF_LEN   2

Referenced by nlme_start_confirm().

#define NLME_START_REQ_LEN   1
#define NLME_UNPAIR_CONF_LEN   3

Referenced by nlme_unpair_confirm().

#define NLME_UNPAIR_IND_LEN   2

Referenced by nlme_unpair_indication().

#define NLME_UNPAIR_REQ_LEN   2
#define NLME_UNPAIR_RESP_LEN   2
#define NLME_UPDATE_KEY_CONF_LEN   3

Referenced by nlme_update_key_confirm().

#define NLME_UPDATE_KEY_REQ_LEN   18
#define NWK_CH_AGILITY_CONF_LEN   4

Referenced by nwk_ch_agility_confirm().

#define NWK_CH_AGILITY_IND_LEN   2
#define NWK_CH_AGILITY_REQ_LEN   2
#define PBP_ORG_PAIR_CON_LEN   3
#define PBP_ORG_PAIR_REQ_LEN   21
#define PBP_REC_PAIR_CONF_LEN   3
#define PBP_REC_PAIR_REQ_LEN   12
#define UNSUPPORTED_CMD_LEN   1
#define VENDOR_DATA_CONF_LEN   3
#define VENDOR_DATA_IND_LEN   8
#define VENDOR_DATA_REQ_LEN   7
#define ZRC_CMD_CONF_LEN   4
#define ZRC_CMD_DISCOVERY_CONF_LEN   34
#define ZRC_CMD_DISCOVERY_IND_LEN   2
#define ZRC_CMD_DISCOVERY_REQ_LEN   2
#define ZRC_CMD_DISCOVERY_RESP_LEN   35
#define ZRC_CMD_IND_LEN   5
#define ZRC_CMD_REQ_LEN   7

This type contains the service primitives of the Network-layer as well the command-interface primitives.

DO NOT CHANGE ORDER OF ENUM!

This type contains the service primitives of the Network-layer as well the command-interface primitives.

DO NOT CHANGE ORDER OF ENUM!

Enumerator
NLDE_DATA_REQUEST 
NLME_AUTO_DISCOVERY_REQUEST 
NLME_DISCOVERY_REQUEST 
NLME_DISCOVERY_RESPONSE 
NLME_PAIR_REQUEST 
NLME_PAIR_RESPONSE 
NLME_RESET_REQUEST 
NLME_GET_REQUEST 
NLME_RX_ENABLE_REQUEST 
NLME_SET_REQUEST 
NLME_START_REQUEST 
NLME_UNPAIR_REQUEST 
NLME_UNPAIR_RESPONSE 
NLME_UPDATE_KEY_REQUEST 
NWK_CH_AGILITY_REQUEST 
MAC_DATA_INDICATION 
NLDE_DATA_INDICATION 
NLDE_DATA_CONFIRM 
NLME_AUTO_DISCOVERY_CONFIRM 
NLME_COMM_STATUS_INDICATION 
NLME_DISCOVERY_INDICATION 
NLME_DISCOVERY_CONFIRM 
NLME_GET_CONFIRM 
NLME_PAIR_INDICATION 
NLME_PAIR_CONFIRM 
NLME_RESET_CONFIRM 
NLME_RX_ENABLE_CONFIRM 
NLME_SET_CONFIRM 
NLME_START_CONFIRM 
NLME_UNPAIR_INDICATION 
NLME_UNPAIR_CONFIRM 
NLME_UPDATE_KEY_CONFIRM 
NWK_CH_AGILITY_INDICATION 
NWK_CH_AGILITY_CONFIRM 
PBP_ORG_PAIR_REQUEST 
PBP_ORG_PAIR_CONFIRM 
PBP_REC_PAIR_REQUEST 
PBP_REC_PAIR_CONFIRM 
ZRC_CMD_REQUEST 
ZRC_CMD_INDICATION 
ZRC_CMD_CONFIRM 
ZRC_CMD_DISCOVERY_REQUEST 
ZRC_CMD_DISCOVERY_INDICATION 
ZRC_CMD_DISCOVERY_CONFIRM 
ZRC_CMD_DISCOVERY_RESPONSE 
VENDOR_DATA_REQUEST 
VENDOR_DATA_INDICATION 
VENDOR_DATA_CONFIRM 
VENDOR_DATA_RESPONSE 
ZID_REC_CONNECT_REQUEST 
ZID_CONNECT_CONFIRM 
ZID_ORG_CONNECT_REQUEST 
ZID_REPORT_DATA_REQUEST 
ZID_REPORT_DATA_INDICATION 
ZID_REPORT_DATA_CONFIRM 
ZID_STANDBY_REQUEST 
ZID_STANDBY_CONFIRM 
ZID_STANDBY_LEAVE_INDICATION 
ZID_SET_ATTRIBUTE_REQUEST 
ZID_SET_ATTRIBUTE_CONFIRM 
ZID_GET_ATTRIBUTE_REQUEST 
ZID_GET_ATTRIBUTE_CONFIRM 
ZID_HEARTBEAT_REQUEST 
ZID_HEARTBEAT_INDICATION 
ZID_HEARTBEAT_CONFIRM 
ZID_SET_NULL_REPORT_REQUEST 
ZID_SET_NULL_REPORT_CONFIRM 
ZID_SET_REPORT_REQUEST 
ZID_SET_REPORT_CONFIRM 
ZID_GET_REPORT_REQUEST 
ZID_GET_REPORT_CONFIRM 
ZID_GET_REPORT_INDICATION